Flask-More


NameFlask-More JSON
Version 0.2.2 PyPI version JSON
download
home_page
SummaryModernized Flask API builder with schema validator and OpenAPI
upload_time2024-03-04 05:10:07
maintainer
docs_urlNone
author
requires_python>=3.8
license
keywords api flask openapi plugin validator
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Flask-More

![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/ischaojie/flask-more/ci.yml?branch=main&style=flat-square)
[![codecov](https://codecov.io/gh/ischaojie/flask-more/branch/main/graph/badge.svg?token=FPBE0LGDCO)](https://codecov.io/gh/ischaojie/flask-more)
[![PyPI](https://img.shields.io/pypi/v/flask-more?style=flat-square)](https://pypi.org/project/Flask-More/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/flask-more?style=flat-square)
![GitHub](https://img.shields.io/github/license/ischaojie/flask-more?style=flat-square)

Modernized Flask API builder with schema validator and OpenAPI.


> **Warning**
>
> Currently, `Flask-More` is still under active development(before v1.0.0).
>
> Be careful to use it in production.

Flask-More is kind of like the famous library [FastAPI](https://github.com/tiangolo/fastapi), bringing part of its brilliant features to your Flask application, you can see a lot of similarities between the two.

For example, it uses [Pydantic](https://github.com/samuelcolvin/pydantic) for request and response validation,
it will auto-generate `OpenAPI` API docs and so on.

## Feature

-   Intuitive and easy to use.
-   Request/Response validation based on type hinting(by Pydantic).
-   Auto-generated `OpenAPI` docs(both swagger and redoc).
-   Designed for API development.

## Quick start

```bash
python -m pip install flask-more
```

You can view and run the code in the [example](https://github.com/ischaojie/flask-more/tree/main/example) file.
Then open [http://127.0.0.1:5000/docs](http://127.0.0.1:5000/docs) you will see the API docs like this:

![docs](https://img.chaojie.fun/flask-lan-docs.png)

## License

This project is licensed under the terms of the MIT license.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "Flask-More",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "api,flask,openapi,plugin,validator",
    "author": "",
    "author_email": "chaojie <hi@chaojie.fun>",
    "download_url": "https://files.pythonhosted.org/packages/2c/df/ff3a7576c69477d53955267c65793948cffee9faae719e372c3ef692e95a/flask_more-0.2.2.tar.gz",
    "platform": null,
    "description": "# Flask-More\n\n![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/ischaojie/flask-more/ci.yml?branch=main&style=flat-square)\n[![codecov](https://codecov.io/gh/ischaojie/flask-more/branch/main/graph/badge.svg?token=FPBE0LGDCO)](https://codecov.io/gh/ischaojie/flask-more)\n[![PyPI](https://img.shields.io/pypi/v/flask-more?style=flat-square)](https://pypi.org/project/Flask-More/)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/flask-more?style=flat-square)\n![GitHub](https://img.shields.io/github/license/ischaojie/flask-more?style=flat-square)\n\nModernized Flask API builder with schema validator and OpenAPI.\n\n\n> **Warning**\n>\n> Currently, `Flask-More` is still under active development(before v1.0.0).\n>\n> Be careful to use it in production.\n\nFlask-More is kind of like the famous library [FastAPI](https://github.com/tiangolo/fastapi), bringing part of its brilliant features to your Flask application, you can see a lot of similarities between the two.\n\nFor example, it uses [Pydantic](https://github.com/samuelcolvin/pydantic) for request and response validation,\nit will auto-generate `OpenAPI` API docs and so on.\n\n## Feature\n\n-   Intuitive and easy to use.\n-   Request/Response validation based on type hinting(by Pydantic).\n-   Auto-generated `OpenAPI` docs(both swagger and redoc).\n-   Designed for API development.\n\n## Quick start\n\n```bash\npython -m pip install flask-more\n```\n\nYou can view and run the code in the [example](https://github.com/ischaojie/flask-more/tree/main/example) file.\nThen open [http://127.0.0.1:5000/docs](http://127.0.0.1:5000/docs) you will see the API docs like this:\n\n![docs](https://img.chaojie.fun/flask-lan-docs.png)\n\n## License\n\nThis project is licensed under the terms of the MIT license.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Modernized Flask API builder with schema validator and OpenAPI",
    "version": "0.2.2",
    "project_urls": {
        "Documentation": "https://flask-more.chaojie.fun",
        "Homepage": "https://github.com/ischaojie/flask-more",
        "Source": "https://github.com/ischaojie/flask-more"
    },
    "split_keywords": [
        "api",
        "flask",
        "openapi",
        "plugin",
        "validator"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5090672ecbc43f61b65bde52cbb550fd05bb5a05a05388c2ba9898791e21a50a",
                "md5": "237ef9c8a601a7a1e1240575ddca1716",
                "sha256": "4ed8b584cd7781ce61ead2b240344e12602b00946c68a9c2aad8bd0ac2ced3ae"
            },
            "downloads": -1,
            "filename": "flask_more-0.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "237ef9c8a601a7a1e1240575ddca1716",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 11623,
            "upload_time": "2024-03-04T05:10:05",
            "upload_time_iso_8601": "2024-03-04T05:10:05.145648Z",
            "url": "https://files.pythonhosted.org/packages/50/90/672ecbc43f61b65bde52cbb550fd05bb5a05a05388c2ba9898791e21a50a/flask_more-0.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2cdfff3a7576c69477d53955267c65793948cffee9faae719e372c3ef692e95a",
                "md5": "84a848dafa686189c6e248f32ccce5cb",
                "sha256": "d034d9e377f6ba79f14a7ac3f30a979384a02cdd5f7eb4a7de124cf4d7114fba"
            },
            "downloads": -1,
            "filename": "flask_more-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "84a848dafa686189c6e248f32ccce5cb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 14295,
            "upload_time": "2024-03-04T05:10:07",
            "upload_time_iso_8601": "2024-03-04T05:10:07.507463Z",
            "url": "https://files.pythonhosted.org/packages/2c/df/ff3a7576c69477d53955267c65793948cffee9faae719e372c3ef692e95a/flask_more-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-04 05:10:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ischaojie",
    "github_project": "flask-more",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "flask-more"
}
        
Elapsed time: 0.25005s