This project is mirrored from https://*****:*****@github.com/pgjones/quart-rate-limiter.git.
Pull mirroring updated .
- 04 Apr, 2022 4 commits
-
-
Phil Jones authored
GitHub has a better pricing model and is more popular for OSS, hence the move.
-
Phil Jones authored
This will allow the CI to run on github rather than gitlab, allowing me to transfer.
-
Phil Jones authored
-
Phil Jones authored
This is a global kill switch that when set to false will prevent any rate limiting. The usage is meant for testing.
-
- 10 Oct, 2021 4 commits
-
-
Phil Jones authored
Now it has been released.
-
Phil Jones authored
The former has been deprecated.
-
Phil Jones authored
-
Phil Jones authored
This is based on Quart's configuration. Note typing now exists for aioredis and pytest.
-
- 04 Sep, 2021 3 commits
-
-
Phil Jones authored
-
Phil Jones authored
The latter is correct if there are proxies between the quart app and the client and equivalent to the former if there are none.
-
Phil Jones authored
The latest major release changes the API.
-
- 12 Jun, 2021 2 commits
-
-
Phil Jones authored
This allows the configuration to be moved to pyproject.toml leaving only flake8.
-
Phil Jones authored
-
- 12 May, 2021 4 commits
-
-
Phil Jones authored
-
Phil Jones authored
-
Phil Jones authored
This has been working well for Quart-Auth and Quart-Schema and so I'm happy to use here as well.
-
Phil Jones authored
-
- 11 May, 2021 1 commit
-
-
Phil Jones authored
-
- 09 May, 2021 1 commit
-
-
Phil Jones authored
This upgrades to the latest Quart release, mostly typing related with a few changes to use Werkzeug more.
-
- 10 Apr, 2021 1 commit
-
-
Phil Jones authored
-
- 31 Mar, 2021 2 commits
-
-
-
Phil Jones authored
Also locally if the redis tox environment is used - it is not default as I don't have redis locally. The test failure is related to the latest version of Quart not providing a method to override the remote address.
-
- 29 Nov, 2020 2 commits
-
-
Phil Jones authored
By including it in the CI testing.
-
Phil Jones authored
The recursive and dont-skip arguments are no longer required.
-
- 29 Mar, 2020 1 commit
-
-
Phil Jones authored
-
- 28 Mar, 2020 1 commit
-
-
Phil Jones authored
datetime objects cannot be natively stored in redis, so they are converted to timestamps (floats) that can be.
-
- 09 Mar, 2020 1 commit
-
-
Phil Jones authored
This can by helpful when adding default limits (or blueprint wide limits) to ensure that a specific route is no affected by the limits.
-
- 07 Mar, 2020 4 commits
-
-
Phil Jones authored
-
Phil Jones authored
This should make it clearer how to use these features.
-
Phil Jones authored
This allows, @rate_limit(1, timedelta(seconds=5)) @rate_limit(10, timedelta(seconds=60)) to become @rate_limit(limits=[ RateLimit(1, timedelta(seconds=5)), RateLimit(10, timedelta(seconds=60)), [) if the user prefers this syntax. It also applies to the limit_blueprint function.
-
Phil Jones authored
As there is support to limit a route, and to limit every route in a app it makes sense to also add support to limit every route in a blueprint. This is possible via the new ``limit_blueprint`` function.
-
- 20 Feb, 2020 1 commit
-
-
Phil Jones authored
At some point it seems to have changed from build to pipeline.
-
- 19 Feb, 2020 1 commit
-
-
Yeray Díaz authored
-
- 15 Feb, 2020 1 commit
-
-
Yeray Díaz authored
-
- 09 Feb, 2020 1 commit
-
-
Phil Jones authored
-
- 08 Feb, 2020 5 commits
-
-
Phil Jones authored
-
Phil Jones authored
This is to ensure that the setup works correctly, and follows a trend in the Python community of moving code to within a src directory - particularly as Flask has done so. In addition it looks to clear up the outstanding confusion with the coverage command.
-
Phil Jones authored
-
Phil Jones authored
This allows for tox -e py37 -- … to pass through args to pytest. pytest: configure testpaths to look into tests/ only. This copies 3c0b62daeb0d781c2a784ab7f117f436f53a5d78 from Hypercorn from @blueyed.
-
Phil Jones authored
Now that Python 3.8 has been released.
-