-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (47 loc) · 1.85 KB
/
setup.py
File metadata and controls
49 lines (47 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name='ratelink',
version='1.0.1',
packages=find_packages(),
python_requires='>=3.7',
install_requires=[],
author='vladlen-codes',
author_email='vladlen.codes@gmail.com',
description='A production-grade rate limiter module with 5+ algorithms (Token Bucket, Sliding Window, Leaky Bucket, etc.) with multi-backend support (Redis, memory, distributed).',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/vladlen-codes/ratelink',
project_urls={
'Bug Tracker': 'https://github.com/vladlen-codes/ratelink/issues',
'Documentation': 'https://github.com/vladlen-codes/ratelink#readme',
'Source Code': 'https://github.com/vladlen-codes/ratelink',
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'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',
'Topic :: Software Development :: Libraries',
'Topic :: System :: Networking',
],
keywords='rate-limiting, rate-limiter, token-bucket, leaky-bucket, sliding-window, gcra, throttling',
extras_require={
"dev": [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"black>=23.0.0",
"flake8>=6.0.0",
"mypy>=1.4.0",
"pre-commit>=3.3.0",
],
},
)