-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
69 additions
and
78 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "token-bucket" | ||
dynamic = ["version"] | ||
description = "Very fast implementation of the token bucket algorithm." | ||
readme = "README.rst" | ||
license = "Apache-2.0" | ||
requires-python = ">=3.6" | ||
authors = [{ name = "kgriffs", email = "[email protected]" }] | ||
keywords = [ | ||
"bucket", | ||
"cloud", | ||
"http", | ||
"https", | ||
"limiting", | ||
"rate", | ||
"throttling", | ||
"token", | ||
"web", | ||
] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Environment :: Web Environment", | ||
"Natural Language :: English", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: System Administrators", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX", | ||
"Topic :: Internet :: WWW/HTTP", | ||
"Topic :: Software Development :: Libraries", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
dependencies = [] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/falconry/token-bucket" | ||
|
||
[tool.hatch.version] | ||
path = "token_bucket/version.py" | ||
|
||
[tool.hatch.build] | ||
packages = ["token_bucket"] | ||
|
||
[tool.coverage.run] | ||
branch = true | ||
source = ["token_bucket"] | ||
parallel = true | ||
|
||
[tool.coverage.report] | ||
show_missing = true | ||
exclude_lines = [ | ||
"pragma: no cover", | ||
"if __name__ == .__main__.:", | ||
"@(abc\\.)?abstractmethod", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters