fourtwonine


Namefourtwonine JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummarySimple, flexible rate limits for Starlette and FastAPI
upload_time2024-10-05 14:30:32
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords fastapi limits rate limit starlette
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fourtwonine

Yet another rate limiter for Starlette and FastAPI.

This is simply a thin layer over the [limits](https://limits.readthedocs.io/en/stable/quickstart.html)
library, making it easy to define flexible rate limits.

## Features
- Fully async and typed
- Supports any data store the `limits` library supports: `redis`, `mongodb`, `memcached`, etc.
- Supports legacy rate limit headers, as well as IETF [draft 06](https://datatracker.ietf.org/doc/html/draft-ietf-httpapi-ratelimit-headers-06)
and [draft 07](https://datatracker.ietf.org/doc/html/draft-ietf-httpapi-ratelimit-headers-07) headers.
- Exposes rate limit state (under `request.state.rate_limit` by default)

## Examples
Check the [`examples`](examples) directory for how to integrate this into your app.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "fourtwonine",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "fastapi, limits, rate limit, starlette",
    "author": null,
    "author_email": "beerpsi <beerpsi@duck.com>",
    "download_url": "https://files.pythonhosted.org/packages/26/21/fd5e6d15d4bbca20dfc42d38583323b3aaef094569555ad4dfbdf2328d76/fourtwonine-0.1.0.tar.gz",
    "platform": null,
    "description": "# fourtwonine\n\nYet another rate limiter for Starlette and FastAPI.\n\nThis is simply a thin layer over the [limits](https://limits.readthedocs.io/en/stable/quickstart.html)\nlibrary, making it easy to define flexible rate limits.\n\n## Features\n- Fully async and typed\n- Supports any data store the `limits` library supports: `redis`, `mongodb`, `memcached`, etc.\n- Supports legacy rate limit headers, as well as IETF [draft 06](https://datatracker.ietf.org/doc/html/draft-ietf-httpapi-ratelimit-headers-06)\nand [draft 07](https://datatracker.ietf.org/doc/html/draft-ietf-httpapi-ratelimit-headers-07) headers.\n- Exposes rate limit state (under `request.state.rate_limit` by default)\n\n## Examples\nCheck the [`examples`](examples) directory for how to integrate this into your app.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Simple, flexible rate limits for Starlette and FastAPI",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/Liminova/fourtwonine#readme",
        "Issues": "https://github.com/Liminova/fourtwonine/issues",
        "Repository": "https://github.com/Liminova/fourtwonine.git"
    },
    "split_keywords": [
        "fastapi",
        " limits",
        " rate limit",
        " starlette"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bd873dc488fd08f665e1a53661c85d73853bddf06323706f3fcbc0b91f268fea",
                "md5": "21d59b5f855d9d72e3ff43332e676191",
                "sha256": "983418213ef3b2c675e0fe68b8820001eb21b1b01d323152303d4e51d9fa9a7e"
            },
            "downloads": -1,
            "filename": "fourtwonine-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "21d59b5f855d9d72e3ff43332e676191",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 9559,
            "upload_time": "2024-10-05T14:30:30",
            "upload_time_iso_8601": "2024-10-05T14:30:30.036957Z",
            "url": "https://files.pythonhosted.org/packages/bd/87/3dc488fd08f665e1a53661c85d73853bddf06323706f3fcbc0b91f268fea/fourtwonine-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2621fd5e6d15d4bbca20dfc42d38583323b3aaef094569555ad4dfbdf2328d76",
                "md5": "2319b1399556d1b1929f7ed3c1762346",
                "sha256": "cb5ae1542cdbd28a0fec6181ff1fffb6cdd4cb4e636532d589e1545517230a92"
            },
            "downloads": -1,
            "filename": "fourtwonine-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "2319b1399556d1b1929f7ed3c1762346",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 8318,
            "upload_time": "2024-10-05T14:30:32",
            "upload_time_iso_8601": "2024-10-05T14:30:32.243485Z",
            "url": "https://files.pythonhosted.org/packages/26/21/fd5e6d15d4bbca20dfc42d38583323b3aaef094569555ad4dfbdf2328d76/fourtwonine-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-05 14:30:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Liminova",
    "github_project": "fourtwonine#readme",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "fourtwonine"
}
        
Elapsed time: 4.01774s