limits 4.4__py3-none-any.whl → 4.5__py3-none-any.whl
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/_version.py +3 -3
- limits/aio/storage/etcd.py +1 -1
- limits/aio/storage/memory.py +1 -1
- limits/storage/etcd.py +1 -1
- {limits-4.4.dist-info → limits-4.5.dist-info}/METADATA +3 -2
- {limits-4.4.dist-info → limits-4.5.dist-info}/RECORD +9 -9
- {limits-4.4.dist-info → limits-4.5.dist-info}/WHEEL +1 -1
- {limits-4.4.dist-info → limits-4.5.dist-info/licenses}/LICENSE.txt +0 -0
- {limits-4.4.dist-info → limits-4.5.dist-info}/top_level.txt +0 -0
limits/_version.py
CHANGED
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2025-
|
|
11
|
+
"date": "2025-04-03T09:10:26-0700",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "4.
|
|
14
|
+
"full-revisionid": "600e96abcf2692e49909b8cf6ca19fc0ee3b2ac3",
|
|
15
|
+
"version": "4.5"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
limits/aio/storage/etcd.py
CHANGED
limits/aio/storage/memory.py
CHANGED
|
@@ -61,7 +61,7 @@ class MemoryStorage(
|
|
|
61
61
|
asyncio.ensure_future(self.__schedule_expiry())
|
|
62
62
|
|
|
63
63
|
async def __expire_events(self) -> None:
|
|
64
|
-
for key in self.events.keys():
|
|
64
|
+
for key in list(self.events.keys()):
|
|
65
65
|
async with self.locks[key]:
|
|
66
66
|
for event in list(self.events[key]):
|
|
67
67
|
if event.expiry <= time.time() and event in self.events[key]:
|
limits/storage/etcd.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: limits
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.5
|
|
4
4
|
Summary: Rate limiting utilities
|
|
5
5
|
Home-page: https://limits.readthedocs.org
|
|
6
6
|
Author: Ali-Akber Saifee
|
|
@@ -66,6 +66,7 @@ Dynamic: classifier
|
|
|
66
66
|
Dynamic: description
|
|
67
67
|
Dynamic: home-page
|
|
68
68
|
Dynamic: license
|
|
69
|
+
Dynamic: license-file
|
|
69
70
|
Dynamic: project-url
|
|
70
71
|
Dynamic: provides-extra
|
|
71
72
|
Dynamic: requires-dist
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
limits/__init__.py,sha256=gPUFrt02kHF_syLjiVRSs-S4UVGpRMcM2VMFNhF6G24,748
|
|
2
|
-
limits/_version.py,sha256=
|
|
2
|
+
limits/_version.py,sha256=R__xejtRsoDNleT8kdXDM-BdFbBjPHvafnTO3EKk5DE,495
|
|
3
3
|
limits/errors.py,sha256=s1el9Vg0ly-z92guvnvYNgKi3_aVqpiw_sufemiLLTI,662
|
|
4
4
|
limits/limits.py,sha256=YzzZP8_ay_zlMMnnY2xhAcFTTFvFe5HEk8NQlvUTru4,4907
|
|
5
5
|
limits/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -11,9 +11,9 @@ limits/aio/__init__.py,sha256=yxvWb_ZmV245Hg2LqD365WC5IDllcGDMw6udJ1jNp1g,118
|
|
|
11
11
|
limits/aio/strategies.py,sha256=9jnVU_nynm0zL1EjQLE3fus1vFbLqA-19ZRQhhexAGo,10776
|
|
12
12
|
limits/aio/storage/__init__.py,sha256=gL4DGTV-XDksZxofaP__sGvwehN8MuuJQuRZeuGwiOQ,695
|
|
13
13
|
limits/aio/storage/base.py,sha256=376Bs7l285vRTRa3-DqcVRnqOPdf3BpoCqbJr3XA9u8,6439
|
|
14
|
-
limits/aio/storage/etcd.py,sha256=
|
|
14
|
+
limits/aio/storage/etcd.py,sha256=QJY8B9jNCNZLpo_cEMUyQkYsk4UIfoMhz7lJUl-ROmk,5081
|
|
15
15
|
limits/aio/storage/memcached.py,sha256=kSX7B0CRS-qDVCQot4AW0rF3YwomXRyWg6W0_RyaHhM,10361
|
|
16
|
-
limits/aio/storage/memory.py,sha256=
|
|
16
|
+
limits/aio/storage/memory.py,sha256=KzpDnr-o3U6Ar2GkhAUTDokQ8tstUFUIe44_rYlMD3k,9765
|
|
17
17
|
limits/aio/storage/mongodb.py,sha256=EvwYBu9YoNX7j6A8XB8ik8SqMx0n4oWmBYhh4LHMYaI,19310
|
|
18
18
|
limits/aio/storage/redis/__init__.py,sha256=p6amEcujcImDUxcYCsfBaLBKp1qH9xDXDjv3FWWfGow,14203
|
|
19
19
|
limits/aio/storage/redis/bridge.py,sha256=cKs77RoCxUPfYD6_o1AiHfqpkeq_DFqMtVQKMLhEWdY,3183
|
|
@@ -28,7 +28,7 @@ limits/resources/redis/lua_scripts/moving_window.lua,sha256=5hUZghISDh8Cbg8HJedi
|
|
|
28
28
|
limits/resources/redis/lua_scripts/sliding_window.lua,sha256=qG3Yg30Dq54QpRUcR9AOrKQ5bdJiaYpCacTm6Kxblvc,713
|
|
29
29
|
limits/storage/__init__.py,sha256=DArgeRfGilHWsfKz5qT_6OimP3S5u2E9lnzVst0n8Bw,2701
|
|
30
30
|
limits/storage/base.py,sha256=6MprvcdNaTIPyN0ei9emcJLajYq07vDGSIKrmiaU6dU,7003
|
|
31
|
-
limits/storage/etcd.py,sha256=
|
|
31
|
+
limits/storage/etcd.py,sha256=oaNYOUryK-YmWKfmPtodRLjJGDMV4lGEYW9PU7FI_Ko,4745
|
|
32
32
|
limits/storage/memcached.py,sha256=NJqHpbfZjT7YpjlK0dUX1-k_nb7HxPMQvBBapgUaHhY,11217
|
|
33
33
|
limits/storage/memory.py,sha256=xLg3NDsnVEI3ds4QGS7MpH-VjjEJqwroOnz3LA8UQQ8,9226
|
|
34
34
|
limits/storage/mongodb.py,sha256=NqXFRj6h8fk8r_dznV-h9gqh95MLNtd5VRmtFncdzT0,18224
|
|
@@ -36,8 +36,8 @@ limits/storage/redis.py,sha256=b2m5TrPNwS7NBY5btwCN0esGyCVQTwwgCn6f-sTcgFQ,10613
|
|
|
36
36
|
limits/storage/redis_cluster.py,sha256=z6aONMl4p1AY78G3J0BbtK--uztz88krwnpiOsU61BM,4447
|
|
37
37
|
limits/storage/redis_sentinel.py,sha256=AN0WtwHN88TvXk0C2uUE8l5Jhsd1ZxU8XSqrEyQSR20,4327
|
|
38
38
|
limits/storage/registry.py,sha256=CxSaDBGR5aBJPFAIsfX9axCnbcThN3Bu-EH4wHrXtu8,650
|
|
39
|
-
limits-4.
|
|
40
|
-
limits-4.
|
|
41
|
-
limits-4.
|
|
42
|
-
limits-4.
|
|
43
|
-
limits-4.
|
|
39
|
+
limits-4.5.dist-info/licenses/LICENSE.txt,sha256=T6i7kq7F5gIPfcno9FCxU5Hcwm22Bjq0uHZV3ElcjsQ,1061
|
|
40
|
+
limits-4.5.dist-info/METADATA,sha256=3_eOlJ-haYkFg_lBbWTCerphb7RH17hzFd3oFRcvpO0,11377
|
|
41
|
+
limits-4.5.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
42
|
+
limits-4.5.dist-info/top_level.txt,sha256=C7g5ahldPoU2s6iWTaJayUrbGmPK1d6e9t5Nn0vQ2jM,7
|
|
43
|
+
limits-4.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|