| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,37 @@ | |||
| 1 | + # Copyright 2025 Google LLC | ||
| 2 | + # | ||
| 3 | + # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 4 | + # you may not use this file except in compliance with the License. | ||
| 5 | + # You may obtain a copy of the License at | ||
| 6 | + # | ||
| 7 | + # https://www.apache.org/licenses/LICENSE-2.0 | ||
| 8 | + # | ||
| 9 | + # Unless required by applicable law or agreed to in writing, software | ||
| 10 | + # distributed under the License is distributed on an "AS IS" BASIS, | ||
| 11 | + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 12 | + # See the License for the specific language governing permissions and | ||
| 13 | + # limitations under the License. | ||
| 14 | + | ||
| 1 | 15 | [build-system] | |
| 2 | - # Minimum requirements for the build system to execute. | ||
| 3 | - requires = ["setuptools", "wheel"] # PEP 508 specifications. | ||
| 4 | - version = "1.7.1" | ||
| 16 | + requires = ["setuptools", "wheel"] | ||
| 17 | + build-backend = "setuptools.build_meta" | ||
| 18 | + | ||
| 19 | + [project] | ||
| 20 | + name = "google-crc32c" | ||
| 21 | + version = "1.7.1" | ||
| 22 | + description = "A python wrapper of the C library 'Google CRC32C'" | ||
| 23 | + readme = "README.md" | ||
| 24 | + requires-python = ">=3.9" | ||
| 25 | + license = "Apache-2.0" | ||
| 26 | + authors = [{ name = "Google LLC", email = "googleapis-packages@google.com" }] | ||
| 27 | + classifiers = [ | ||
| 28 | + "Development Status :: 4 - Beta", | ||
| 29 | + "Intended Audience :: Developers", | ||
| 30 | + "Operating System :: OS Independent", | ||
| 31 | + "Programming Language :: Python :: 3", | ||
| 32 | + "Programming Language :: Python :: 3.9", | ||
| 33 | + "Programming Language :: Python :: 3.10", | ||
| 34 | + "Programming Language :: Python :: 3.11", | ||
| 35 | + "Programming Language :: Python :: 3.12", | ||
| 36 | + "Programming Language :: Python :: 3.13", | ||
| 37 | + ] | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,7 +38,7 @@ def update(self, data): | |||
| 38 | 38 | chunk (Optional[bytes]): a chunk of data used to extend | |
| 39 | 39 | the CRC32C checksum. | |
| 40 | 40 | """ | |
| 41 | - raise NotImplemented() | ||
| 41 | + raise NotImplementedError | ||
| 42 | 42 | ||
| 43 | 43 | def digest(self): | |
| 44 | 44 | """Big-endian order, per RFC 4960. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments