renovate[bot]
ba398381dd
Add renovate.json
2023-03-30 08:21:00 +00:00
Laurent Savaete
b98ca4f820
Merge pull request #121 from laurentS/update-readme
2023-03-02 19:25:02 +00:00
Laurent Savaete
2f44b553ba
Merge pull request #127 from laurentS/dependabot/pip/docs/future-0.18.3
2023-02-08 08:44:14 +00:00
dependabot[bot]
283ed70a5a
⬆️ Bump future from 0.18.2 to 0.18.3 in /docs
...
Bumps [future](https://github.com/PythonCharmers/python-future ) from 0.18.2 to 0.18.3.
- [Release notes](https://github.com/PythonCharmers/python-future/releases )
- [Changelog](https://github.com/PythonCharmers/python-future/blob/master/docs/changelog.rst )
- [Commits](https://github.com/PythonCharmers/python-future/compare/v0.18.2...v0.18.3 )
---
updated-dependencies:
- dependency-name: future
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-08 07:36:43 +00:00
Laurent Savaete
6052248b94
Merge pull request #125 from sanders41/python311
...
Update dev dependencies to support python 3.11
2023-02-08 07:36:14 +00:00
Paul Sanders
7779a88222
Remove unused imports
2023-01-10 07:27:08 -05:00
Paul Sanders
993879218e
Fix type errors
2023-01-09 19:27:10 -05:00
Paul Sanders
4079399720
Add python 3.11 to CI tests
2023-01-09 09:07:36 -05:00
Paul Sanders
cb7f61c666
Update dev dependencies to support python 3.11
2023-01-09 08:37:32 -05:00
Laurent Savaete
3ac401f4a0
Merge pull request #124 from laurentS/dependabot/pip/certifi-2022.12.7
2022-12-09 12:29:59 +03:00
dependabot[bot]
83f2da2343
⬆️ Bump certifi from 2022.9.24 to 2022.12.7
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2022.9.24 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases )
- [Commits](https://github.com/certifi/python-certifi/compare/2022.09.24...2022.12.07 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-09 09:25:30 +00:00
Laurent Savaete
309bae3bbe
Merge pull request #123 from laurentS/dependabot/pip/docs/certifi-2022.12.7
2022-12-09 12:23:15 +03:00
dependabot[bot]
55ff91ce30
⬆️ Bump certifi from 2019.11.28 to 2022.12.7 in /docs
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2019.11.28 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases )
- [Commits](https://github.com/certifi/python-certifi/compare/2019.11.28...2022.12.07 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-08 04:26:55 +00:00
Laurent Savaete
9bfa87af85
Fix typo in docs
2022-11-28 11:28:16 +01:00
Laurent Savaete
2278eb3651
Update README as per comments
2022-11-28 11:28:11 +01:00
Laurent Savaete
b47da49ff6
Merge pull request #120 from laurentS/prepare-release-0-1-7
v0.1.7
2022-11-28 13:17:32 +03:00
Laurent Savaete
6833971cdf
Update readme comment about code quality
2022-11-23 15:37:05 +01:00
Laurent Savaete
16023ff737
Revert "Run CI on python 3.11 as well"
...
This reverts commit e0f7d0d4be .
2022-11-23 15:24:19 +01:00
Laurent Savaete
e0f7d0d4be
Run CI on python 3.11 as well
2022-11-23 15:21:09 +01:00
Laurent Savaete
e10cc56706
Update CI dependencies
2022-11-23 15:20:57 +01:00
Laurent Savaete
f5df4f8560
Explicitly depend on setuptools to fix CI error
2022-11-23 15:08:57 +01:00
Laurent Savaete
6dc91389c7
Update changelog
2022-11-09 11:14:36 +01:00
Laurent Savaete
2cb329dc93
Update dependencies
2022-11-09 11:14:36 +01:00
Laurent Savaete
44441d31ff
Merge pull request #118 from thentgesMindee/key-style
2022-11-08 20:15:30 +03:00
thentgesMindee
3ae7154271
chg: ✅ minor change in testing
2022-11-08 17:58:11 +01:00
thentgesMindee
1d9badb4a0
chg: _check_request_limit | rename name, endpoint > endpoint_func_name, endpoint_url
2022-11-07 18:47:25 +01:00
thentgesMindee
7f87a26201
chg: ✅ update tests to reflect behavior explained in docs
2022-11-07 18:39:01 +01:00
thentgesMindee
39a18133d4
fix: use Literal from typing_extension for python3.7 support
2022-11-07 17:58:44 +01:00
thentgesMindee
2ba9ed0630
fix: 🎨 apply black on tests files
2022-11-07 17:47:56 +01:00
thentgesMindee
b0d7bb03b7
chg: 🔀 update tests after rebase
2022-11-07 17:37:35 +01:00
thentgesMindee
031dc042d5
chg: 📝 add key_style example in docs
2022-11-07 17:36:10 +01:00
thentgesMindee
17a514faef
new: ✨ add key_style parameter to choose between endpoint or url
2022-11-07 17:35:29 +01:00
Thibault
5b61a6b11f
Merge pull request #113 from thentgesMindee/asgi-middleware
...
new: ✨ add ASGI middleware alternative
2022-11-07 16:59:18 +01:00
thentgesMindee
ed0c870d0b
chg: 👌 rewrite _get_route_name using a more modern style
2022-11-07 16:43:09 +01:00
thentgesMindee
5bb96b93f6
fix: 🔥 remove unused import
2022-11-07 16:40:14 +01:00
thentgesMindee
aa3e108d0a
fix: 🏷️ update type annotations
2022-11-07 16:40:14 +01:00
thentgesMindee
6adcf1a0de
new: 📝 add some doctrstrings
2022-11-07 16:40:14 +01:00
thentgesMindee
8e077e8738
chg: 📝 add documentation about WSGI vs ASGI middlewares
2022-11-07 16:40:14 +01:00
thentgesMindee
366e14cce3
new: ✨ handle both sync and asynchronous handlers in ASGIMiddleware
2022-11-07 16:40:14 +01:00
thentgesMindee
81330a0bf6
chg: 🏷️ update type annotations
2022-11-07 16:40:14 +01:00
thentgesMindee
b0da951c4e
fix: 🐛 make ASGI middleware stateless to handle concurrent requests correctly
2022-11-07 16:40:14 +01:00
thentgesMindee
bc69ebc8e5
chg: 🔀 update tests after rebase
2022-11-07 16:40:14 +01:00
thentgesMindee
22ead94933
chg: ♻️ remove duplicated code between two middlewares
2022-11-07 16:40:14 +01:00
thentgesMindee
bd9a1ecc55
chg: ✅ parametrize tests to use both HTTP and ASGI middlewares
2022-11-07 16:40:14 +01:00
thentgesMindee
c516a33515
new: ✨ adding SlowAPIASGIMiddleware alternative
2022-11-07 16:40:14 +01:00
Laurent Savaete
03104e876c
Update issue templates
2022-10-13 13:04:06 +00:00
Laurent Savaete
d52da26722
Merge pull request #110 from nootr/feature/cost_keyword
2022-08-30 12:02:43 +03:00
Joris Hartog
5bb0edbd01
Add endpoints to cost/hit tests
2022-08-29 22:08:07 +02:00
Joris Hartog
875c8758c1
Update docs
...
This commit adds a custom cost/hit example to the examples page and adds
this feature to the Features list.
2022-08-29 21:10:13 +02:00
Joris Hartog
c21ba98dcb
Add support for custom cost per hit
...
This commit adds a `cost` keyword to the `limit` and `shared_limit`
decorators which sets the cost of a hit.
This uses the `cost` keyword that was introduced in `limits` version
2.3.0, so this commit also updates the `limits` dependency from `^1.5`
to `^2.3`.
Closes #94 , #106
2022-08-26 23:40:00 +02:00