limits 3.5.0__tar.gz → 3.6.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {limits-3.5.0 → limits-3.6.0}/CLASSIFIERS +0 -1
- {limits-3.5.0 → limits-3.6.0}/HISTORY.rst +17 -0
- {limits-3.5.0 → limits-3.6.0}/PKG-INFO +1 -2
- {limits-3.5.0 → limits-3.6.0}/limits/_version.py +3 -3
- {limits-3.5.0 → limits-3.6.0}/limits/aio/storage/mongodb.py +0 -1
- {limits-3.5.0 → limits-3.6.0}/limits/storage/mongodb.py +0 -1
- {limits-3.5.0 → limits-3.6.0}/limits.egg-info/PKG-INFO +1 -2
- {limits-3.5.0 → limits-3.6.0}/limits.egg-info/requires.txt +3 -8
- {limits-3.5.0 → limits-3.6.0}/requirements/docs.txt +3 -3
- {limits-3.5.0 → limits-3.6.0}/requirements/main.txt +0 -1
- limits-3.6.0/requirements/storage/async-redis.txt +1 -0
- limits-3.6.0/requirements/storage/redis.txt +1 -0
- {limits-3.5.0 → limits-3.6.0}/requirements/test.txt +3 -0
- limits-3.5.0/requirements/storage/async-redis.txt +0 -1
- limits-3.5.0/requirements/storage/redis.txt +0 -1
- {limits-3.5.0 → limits-3.6.0}/CONTRIBUTIONS.rst +0 -0
- {limits-3.5.0 → limits-3.6.0}/LICENSE.txt +0 -0
- {limits-3.5.0 → limits-3.6.0}/MANIFEST.in +0 -0
- {limits-3.5.0 → limits-3.6.0}/README.rst +0 -0
- {limits-3.5.0 → limits-3.6.0}/doc/Makefile +0 -0
- {limits-3.5.0 → limits-3.6.0}/doc/source/_static/custom.css +0 -0
- {limits-3.5.0 → limits-3.6.0}/doc/source/api.rst +0 -0
- {limits-3.5.0 → limits-3.6.0}/doc/source/async.rst +0 -0
- {limits-3.5.0 → limits-3.6.0}/doc/source/changelog.rst +0 -0
- {limits-3.5.0 → limits-3.6.0}/doc/source/conf.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/doc/source/custom-storage.rst +0 -0
- {limits-3.5.0 → limits-3.6.0}/doc/source/index.rst +0 -0
- {limits-3.5.0 → limits-3.6.0}/doc/source/installation.rst +0 -0
- {limits-3.5.0 → limits-3.6.0}/doc/source/quickstart.rst +0 -0
- {limits-3.5.0 → limits-3.6.0}/doc/source/storage.rst +0 -0
- {limits-3.5.0 → limits-3.6.0}/doc/source/strategies.rst +0 -0
- {limits-3.5.0 → limits-3.6.0}/doc/source/theme_config.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/__init__.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/aio/__init__.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/aio/storage/__init__.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/aio/storage/base.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/aio/storage/etcd.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/aio/storage/memcached.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/aio/storage/memory.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/aio/storage/redis.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/aio/strategies.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/errors.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/limits.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/py.typed +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/resources/redis/lua_scripts/acquire_moving_window.lua +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/resources/redis/lua_scripts/clear_keys.lua +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/resources/redis/lua_scripts/incr_expire.lua +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/resources/redis/lua_scripts/moving_window.lua +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/storage/__init__.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/storage/base.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/storage/etcd.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/storage/memcached.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/storage/memory.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/storage/redis.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/storage/redis_cluster.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/storage/redis_sentinel.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/storage/registry.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/strategies.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/typing.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/util.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits/version.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits.egg-info/SOURCES.txt +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits.egg-info/dependency_links.txt +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits.egg-info/not-zip-safe +0 -0
- {limits-3.5.0 → limits-3.6.0}/limits.egg-info/top_level.txt +0 -0
- {limits-3.5.0 → limits-3.6.0}/pyproject.toml +0 -0
- {limits-3.5.0 → limits-3.6.0}/requirements/ci.txt +0 -0
- {limits-3.5.0 → limits-3.6.0}/requirements/dev.txt +0 -0
- {limits-3.5.0 → limits-3.6.0}/requirements/storage/async-etcd.txt +0 -0
- {limits-3.5.0 → limits-3.6.0}/requirements/storage/async-memcached.txt +0 -0
- {limits-3.5.0 → limits-3.6.0}/requirements/storage/async-mongodb.txt +0 -0
- {limits-3.5.0 → limits-3.6.0}/requirements/storage/etcd.txt +0 -0
- {limits-3.5.0 → limits-3.6.0}/requirements/storage/memcached.txt +0 -0
- {limits-3.5.0 → limits-3.6.0}/requirements/storage/mongodb.txt +0 -0
- {limits-3.5.0 → limits-3.6.0}/requirements/storage/rediscluster.txt +0 -0
- {limits-3.5.0 → limits-3.6.0}/setup.cfg +0 -0
- {limits-3.5.0 → limits-3.6.0}/setup.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/tests/test_limit_granularities.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/tests/test_limits.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/tests/test_ratelimit_parser.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/tests/test_storage.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/tests/test_strategy.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/tests/test_utils.py +0 -0
- {limits-3.5.0 → limits-3.6.0}/versioneer.py +0 -0
|
@@ -5,7 +5,6 @@ Operating System :: MacOS
|
|
|
5
5
|
Operating System :: POSIX :: Linux
|
|
6
6
|
Operating System :: OS Independent
|
|
7
7
|
Topic :: Software Development :: Libraries :: Python Modules
|
|
8
|
-
Programming Language :: Python :: 3.7
|
|
9
8
|
Programming Language :: Python :: 3.8
|
|
10
9
|
Programming Language :: Python :: 3.9
|
|
11
10
|
Programming Language :: Python :: 3.10
|
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
Changelog
|
|
4
4
|
=========
|
|
5
5
|
|
|
6
|
+
v3.6.0
|
|
7
|
+
------
|
|
8
|
+
Release Date: 2023-08-31
|
|
9
|
+
|
|
10
|
+
* Bug Fix
|
|
11
|
+
|
|
12
|
+
* Remove default socket timeout from mongo storage
|
|
13
|
+
* Ensure _version.py has stable content when generated
|
|
14
|
+
using `git archive` from a tag regardless of when it is
|
|
15
|
+
run.
|
|
16
|
+
|
|
17
|
+
* Compatibility
|
|
18
|
+
|
|
19
|
+
* Remove references to python 3.7
|
|
20
|
+
* Remove unnecessary setuptools dependency
|
|
21
|
+
|
|
6
22
|
v3.5.0
|
|
7
23
|
------
|
|
8
24
|
Release Date: 2023-05-16
|
|
@@ -609,5 +625,6 @@ Release Date: 2015-01-08
|
|
|
609
625
|
|
|
610
626
|
|
|
611
627
|
|
|
628
|
+
|
|
612
629
|
|
|
613
630
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: limits
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.6.0
|
|
4
4
|
Summary: Rate limiting utilities
|
|
5
5
|
Home-page: https://limits.readthedocs.org
|
|
6
6
|
Author: Ali-Akber Saifee
|
|
@@ -14,7 +14,6 @@ Classifier: Operating System :: MacOS
|
|
|
14
14
|
Classifier: Operating System :: POSIX :: Linux
|
|
15
15
|
Classifier: Operating System :: OS Independent
|
|
16
16
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.8
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.9
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2023-
|
|
11
|
+
"date": "2023-08-31T07:36:32-0700",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "3.
|
|
14
|
+
"full-revisionid": "ada96bb4afc9729b4aac2552209a78428a27c313",
|
|
15
|
+
"version": "3.6.0"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -30,7 +30,6 @@ class MongoDBStorage(Storage, MovingWindowSupport):
|
|
|
30
30
|
|
|
31
31
|
DEFAULT_OPTIONS: Dict[str, Union[float, str, bool]] = {
|
|
32
32
|
"serverSelectionTimeoutMS": 1000,
|
|
33
|
-
"socketTimeoutMS": 1000,
|
|
34
33
|
"connectTimeoutMS": 1000,
|
|
35
34
|
}
|
|
36
35
|
"Default options passed to :class:`~motor.motor_asyncio.AsyncIOMotorClient`"
|
|
@@ -26,7 +26,6 @@ class MongoDBStorage(Storage, MovingWindowSupport):
|
|
|
26
26
|
STORAGE_SCHEME = ["mongodb", "mongodb+srv"]
|
|
27
27
|
DEFAULT_OPTIONS: Dict[str, Union[int, str, bool]] = {
|
|
28
28
|
"serverSelectionTimeoutMS": 1000,
|
|
29
|
-
"socketTimeoutMS": 1000,
|
|
30
29
|
"connectTimeoutMS": 1000,
|
|
31
30
|
}
|
|
32
31
|
"Default options passed to :class:`~pymongo.mongo_client.MongoClient`"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: limits
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.6.0
|
|
4
4
|
Summary: Rate limiting utilities
|
|
5
5
|
Home-page: https://limits.readthedocs.org
|
|
6
6
|
Author: Ali-Akber Saifee
|
|
@@ -14,7 +14,6 @@ Classifier: Operating System :: MacOS
|
|
|
14
14
|
Classifier: Operating System :: POSIX :: Linux
|
|
15
15
|
Classifier: Operating System :: OS Independent
|
|
16
16
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.8
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.9
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
deprecated>=1.2
|
|
2
2
|
importlib_resources>=1.3
|
|
3
|
-
setuptools
|
|
4
3
|
packaging<24,>=21
|
|
5
4
|
typing_extensions
|
|
6
5
|
|
|
7
6
|
[all]
|
|
8
|
-
redis!=4.5.2,!=4.5.3,<
|
|
7
|
+
redis!=4.5.2,!=4.5.3,<6.0.0,>3
|
|
9
8
|
redis!=4.5.2,!=4.5.3,>=4.2.0
|
|
10
9
|
pymemcache<5.0.0,>3
|
|
11
10
|
pymongo<5,>4.1
|
|
12
11
|
etcd3
|
|
12
|
+
coredis<5,>=3.4.0
|
|
13
13
|
motor<4,>=3
|
|
14
14
|
aetcd
|
|
15
15
|
|
|
16
16
|
[all:python_version < "3.11"]
|
|
17
17
|
emcache>=0.6.1
|
|
18
18
|
|
|
19
|
-
[all:python_version > "3.7"]
|
|
20
|
-
coredis<5,>=3.4.0
|
|
21
|
-
|
|
22
19
|
[all:python_version >= "3.11"]
|
|
23
20
|
emcache>=1
|
|
24
21
|
|
|
@@ -37,8 +34,6 @@ emcache>=1
|
|
|
37
34
|
motor<4,>=3
|
|
38
35
|
|
|
39
36
|
[async-redis]
|
|
40
|
-
|
|
41
|
-
[async-redis:python_version > "3.7"]
|
|
42
37
|
coredis<5,>=3.4.0
|
|
43
38
|
|
|
44
39
|
[etcd]
|
|
@@ -51,7 +46,7 @@ pymemcache<5.0.0,>3
|
|
|
51
46
|
pymongo<5,>4.1
|
|
52
47
|
|
|
53
48
|
[redis]
|
|
54
|
-
redis!=4.5.2,!=4.5.3,<
|
|
49
|
+
redis!=4.5.2,!=4.5.3,<6.0.0,>3
|
|
55
50
|
|
|
56
51
|
[rediscluster]
|
|
57
52
|
redis!=4.5.2,!=4.5.3,>=4.2.0
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
-r main.txt
|
|
2
|
-
furo==2023.
|
|
3
|
-
Sphinx>=
|
|
2
|
+
furo==2023.8.19
|
|
3
|
+
Sphinx>=4,<8
|
|
4
4
|
sphinx-copybutton==0.5.2
|
|
5
5
|
sphinx-autobuild==2021.3.14
|
|
6
6
|
sphinxext-opengraph==0.8.2
|
|
7
7
|
sphinx-inline-tabs==2023.4.21
|
|
8
|
-
sphinx-paramlinks==0.
|
|
8
|
+
sphinx-paramlinks==0.6.0
|
|
9
9
|
sphinxcontrib-programoutput==0.17
|
|
10
10
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
coredis>=3.4.0,<5
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
redis>3,!=4.5.2,!=4.5.3,<6.0.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
coredis>=3.4.0,<5;python_version>"3.7"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
redis>3,!=4.5.2,!=4.5.3,<5.0.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|