dj-ratelimit-0.1.5
توضیحات
Redis backed library implementing a django ratelimit
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dj-ratelimit-0.1.5 |
| نام | dj-ratelimit |
| نسخه کتابخانه | 0.1.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Conor Bergman |
| ایمیل نویسنده | conorbergman@gmail.com |
| آدرس صفحه اصلی | https://github.com/conorbergman/py-ratelimit |
| آدرس اینترنتی | https://pypi.org/project/dj-ratelimit/ |
| مجوز | - |
dj-ratelimit is a redis backed ratelimit for django requests. To use set the following
environment variables in your django settings:
- ENVIRONMENT: default 'local'
- DJ_RATELIMIT_REDIS_ADDRESS: default 'localhost'
- DJ_RATELIMIT_REDIS_PORT: default '6379'
For more information see project github page 'py-ratelimit'
نیازمندی
| مقدار | نام |
|---|---|
| >=4.0.5 | Django |
| >=3.12.4 | djangorestframework |
| >=4.3.1 | redis |
| - | fakeredis |
| >=1.2.1 | freezegun |
| >=6.2.5 | pytest |
| >=1.8.0 | requests-mock |
نحوه نصب
نصب پکیج whl dj-ratelimit-0.1.5:
pip install dj-ratelimit-0.1.5.whl
نصب پکیج tar.gz dj-ratelimit-0.1.5:
pip install dj-ratelimit-0.1.5.tar.gz