limits 4.3__tar.gz → 4.4__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.
Files changed (90) hide show
  1. {limits-4.3 → limits-4.4}/HISTORY.rst +9 -0
  2. {limits-4.3 → limits-4.4}/PKG-INFO +1 -1
  3. {limits-4.3 → limits-4.4}/limits/_version.py +3 -3
  4. {limits-4.3 → limits-4.4}/limits/aio/storage/etcd.py +3 -0
  5. {limits-4.3 → limits-4.4}/limits/storage/etcd.py +3 -0
  6. {limits-4.3 → limits-4.4}/limits.egg-info/PKG-INFO +1 -1
  7. {limits-4.3 → limits-4.4}/CLASSIFIERS +0 -0
  8. {limits-4.3 → limits-4.4}/CONTRIBUTIONS.rst +0 -0
  9. {limits-4.3 → limits-4.4}/LICENSE.txt +0 -0
  10. {limits-4.3 → limits-4.4}/MANIFEST.in +0 -0
  11. {limits-4.3 → limits-4.4}/README.rst +0 -0
  12. {limits-4.3 → limits-4.4}/doc/Makefile +0 -0
  13. {limits-4.3 → limits-4.4}/doc/source/_static/custom.css +0 -0
  14. {limits-4.3 → limits-4.4}/doc/source/api.rst +0 -0
  15. {limits-4.3 → limits-4.4}/doc/source/async.rst +0 -0
  16. {limits-4.3 → limits-4.4}/doc/source/changelog.rst +0 -0
  17. {limits-4.3 → limits-4.4}/doc/source/conf.py +0 -0
  18. {limits-4.3 → limits-4.4}/doc/source/custom-storage.rst +0 -0
  19. {limits-4.3 → limits-4.4}/doc/source/index.rst +0 -0
  20. {limits-4.3 → limits-4.4}/doc/source/installation.rst +0 -0
  21. {limits-4.3 → limits-4.4}/doc/source/quickstart.rst +0 -0
  22. {limits-4.3 → limits-4.4}/doc/source/storage.rst +0 -0
  23. {limits-4.3 → limits-4.4}/doc/source/strategies.rst +0 -0
  24. {limits-4.3 → limits-4.4}/doc/source/theme_config.py +0 -0
  25. {limits-4.3 → limits-4.4}/limits/__init__.py +0 -0
  26. {limits-4.3 → limits-4.4}/limits/aio/__init__.py +0 -0
  27. {limits-4.3 → limits-4.4}/limits/aio/storage/__init__.py +0 -0
  28. {limits-4.3 → limits-4.4}/limits/aio/storage/base.py +0 -0
  29. {limits-4.3 → limits-4.4}/limits/aio/storage/memcached.py +0 -0
  30. {limits-4.3 → limits-4.4}/limits/aio/storage/memory.py +0 -0
  31. {limits-4.3 → limits-4.4}/limits/aio/storage/mongodb.py +0 -0
  32. {limits-4.3 → limits-4.4}/limits/aio/storage/redis/__init__.py +0 -0
  33. {limits-4.3 → limits-4.4}/limits/aio/storage/redis/bridge.py +0 -0
  34. {limits-4.3 → limits-4.4}/limits/aio/storage/redis/coredis.py +0 -0
  35. {limits-4.3 → limits-4.4}/limits/aio/storage/redis/redispy.py +0 -0
  36. {limits-4.3 → limits-4.4}/limits/aio/storage/redis/valkey.py +0 -0
  37. {limits-4.3 → limits-4.4}/limits/aio/strategies.py +0 -0
  38. {limits-4.3 → limits-4.4}/limits/errors.py +0 -0
  39. {limits-4.3 → limits-4.4}/limits/limits.py +0 -0
  40. {limits-4.3 → limits-4.4}/limits/py.typed +0 -0
  41. {limits-4.3 → limits-4.4}/limits/resources/redis/lua_scripts/acquire_moving_window.lua +0 -0
  42. {limits-4.3 → limits-4.4}/limits/resources/redis/lua_scripts/acquire_sliding_window.lua +0 -0
  43. {limits-4.3 → limits-4.4}/limits/resources/redis/lua_scripts/clear_keys.lua +0 -0
  44. {limits-4.3 → limits-4.4}/limits/resources/redis/lua_scripts/incr_expire.lua +0 -0
  45. {limits-4.3 → limits-4.4}/limits/resources/redis/lua_scripts/moving_window.lua +0 -0
  46. {limits-4.3 → limits-4.4}/limits/resources/redis/lua_scripts/sliding_window.lua +0 -0
  47. {limits-4.3 → limits-4.4}/limits/storage/__init__.py +0 -0
  48. {limits-4.3 → limits-4.4}/limits/storage/base.py +0 -0
  49. {limits-4.3 → limits-4.4}/limits/storage/memcached.py +0 -0
  50. {limits-4.3 → limits-4.4}/limits/storage/memory.py +0 -0
  51. {limits-4.3 → limits-4.4}/limits/storage/mongodb.py +0 -0
  52. {limits-4.3 → limits-4.4}/limits/storage/redis.py +0 -0
  53. {limits-4.3 → limits-4.4}/limits/storage/redis_cluster.py +0 -0
  54. {limits-4.3 → limits-4.4}/limits/storage/redis_sentinel.py +0 -0
  55. {limits-4.3 → limits-4.4}/limits/storage/registry.py +0 -0
  56. {limits-4.3 → limits-4.4}/limits/strategies.py +0 -0
  57. {limits-4.3 → limits-4.4}/limits/typing.py +0 -0
  58. {limits-4.3 → limits-4.4}/limits/util.py +0 -0
  59. {limits-4.3 → limits-4.4}/limits/version.py +0 -0
  60. {limits-4.3 → limits-4.4}/limits.egg-info/SOURCES.txt +0 -0
  61. {limits-4.3 → limits-4.4}/limits.egg-info/dependency_links.txt +0 -0
  62. {limits-4.3 → limits-4.4}/limits.egg-info/not-zip-safe +0 -0
  63. {limits-4.3 → limits-4.4}/limits.egg-info/requires.txt +0 -0
  64. {limits-4.3 → limits-4.4}/limits.egg-info/top_level.txt +0 -0
  65. {limits-4.3 → limits-4.4}/pyproject.toml +0 -0
  66. {limits-4.3 → limits-4.4}/requirements/ci.txt +0 -0
  67. {limits-4.3 → limits-4.4}/requirements/dev.txt +0 -0
  68. {limits-4.3 → limits-4.4}/requirements/docs.txt +0 -0
  69. {limits-4.3 → limits-4.4}/requirements/main.txt +0 -0
  70. {limits-4.3 → limits-4.4}/requirements/storage/async-etcd.txt +0 -0
  71. {limits-4.3 → limits-4.4}/requirements/storage/async-memcached.txt +0 -0
  72. {limits-4.3 → limits-4.4}/requirements/storage/async-mongodb.txt +0 -0
  73. {limits-4.3 → limits-4.4}/requirements/storage/async-redis.txt +0 -0
  74. {limits-4.3 → limits-4.4}/requirements/storage/async-valkey.txt +0 -0
  75. {limits-4.3 → limits-4.4}/requirements/storage/etcd.txt +0 -0
  76. {limits-4.3 → limits-4.4}/requirements/storage/memcached.txt +0 -0
  77. {limits-4.3 → limits-4.4}/requirements/storage/mongodb.txt +0 -0
  78. {limits-4.3 → limits-4.4}/requirements/storage/redis.txt +0 -0
  79. {limits-4.3 → limits-4.4}/requirements/storage/rediscluster.txt +0 -0
  80. {limits-4.3 → limits-4.4}/requirements/storage/valkey.txt +0 -0
  81. {limits-4.3 → limits-4.4}/requirements/test.txt +0 -0
  82. {limits-4.3 → limits-4.4}/setup.cfg +0 -0
  83. {limits-4.3 → limits-4.4}/setup.py +0 -0
  84. {limits-4.3 → limits-4.4}/tests/test_limit_granularities.py +0 -0
  85. {limits-4.3 → limits-4.4}/tests/test_limits.py +0 -0
  86. {limits-4.3 → limits-4.4}/tests/test_ratelimit_parser.py +0 -0
  87. {limits-4.3 → limits-4.4}/tests/test_storage.py +0 -0
  88. {limits-4.3 → limits-4.4}/tests/test_strategy.py +0 -0
  89. {limits-4.3 → limits-4.4}/tests/test_utils.py +0 -0
  90. {limits-4.3 → limits-4.4}/versioneer.py +0 -0
@@ -3,6 +3,14 @@
3
3
  Changelog
4
4
  =========
5
5
 
6
+ v4.4
7
+ ----
8
+ Release Date: 2025-03-14
9
+
10
+ * Compatibility
11
+
12
+ * Deprecate support for ``etcd``
13
+
6
14
  v4.3
7
15
  ----
8
16
  Release Date: 2025-03-14
@@ -808,5 +816,6 @@ Release Date: 2015-01-08
808
816
 
809
817
 
810
818
 
819
+
811
820
 
812
821
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: limits
3
- Version: 4.3
3
+ Version: 4.4
4
4
  Summary: Rate limiting utilities
5
5
  Home-page: https://limits.readthedocs.org
6
6
  Author: Ali-Akber Saifee
@@ -8,11 +8,11 @@ import json
8
8
 
9
9
  version_json = '''
10
10
  {
11
- "date": "2025-03-14T16:19:10-0700",
11
+ "date": "2025-03-14T18:16:10-0700",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "0bcebd7b69d035e3df82779a50fb2d1e901b9ef9",
15
- "version": "4.3"
14
+ "full-revisionid": "53df3264a638d5259ea9ce3b021affceb263f52d",
15
+ "version": "4.4"
16
16
  }
17
17
  ''' # END VERSION_JSON
18
18
 
@@ -5,6 +5,8 @@ import time
5
5
  import urllib.parse
6
6
  from typing import TYPE_CHECKING
7
7
 
8
+ from deprecated import deprecated
9
+
8
10
  from limits.aio.storage.base import Storage
9
11
  from limits.errors import ConcurrentUpdateError
10
12
 
@@ -12,6 +14,7 @@ if TYPE_CHECKING:
12
14
  import aetcd
13
15
 
14
16
 
17
+ @deprecated(version="4.4")
15
18
  class EtcdStorage(Storage):
16
19
  """
17
20
  Rate limit storage with etcd as backend.
@@ -3,6 +3,8 @@ from __future__ import annotations
3
3
  import time
4
4
  import urllib.parse
5
5
 
6
+ from deprecated import deprecated
7
+
6
8
  from limits.errors import ConcurrentUpdateError
7
9
  from limits.storage.base import Storage
8
10
  from limits.typing import TYPE_CHECKING
@@ -11,6 +13,7 @@ if TYPE_CHECKING:
11
13
  import etcd3
12
14
 
13
15
 
16
+ @deprecated(version="4.4")
14
17
  class EtcdStorage(Storage):
15
18
  """
16
19
  Rate limit storage with etcd as backend.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: limits
3
- Version: 4.3
3
+ Version: 4.4
4
4
  Summary: Rate limiting utilities
5
5
  Home-page: https://limits.readthedocs.org
6
6
  Author: Ali-Akber Saifee
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