fastapi-hive


Namefastapi-hive JSON
Version 1.0.24 PyPI version JSON
download
home_pagehttps://github.com/fanqingsong/fastapi-hive
Summaryframework for FastAPI cornerstones management
upload_time2023-10-19 13:36:42
maintainer
docs_urlNone
authorQingsong Fan
requires_python>=3.7
licenseApache-2.0 license
keywords fastapi machine-learning packages cornerstones
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # FastAPI Hive

![architecture](docs/img/hive.jpg)

![startup_flow](docs/img/startup_flow.png)

<p align="center">
    <em>FastAPI Hive Framework, modulization code layout tools, decoupling codes into cornerstones and endpoints, developer-friendly, easy to be integrated</em>
</p>

[![build](https://github.com/fanqingsong/fastapi-hive/workflows/pytest_flake8/badge.svg)](https://github.com/fanqingsong/fastapi-hive/actions)
[![codecov](https://codecov.io/gh/fanqingsong/fastapi-hive/branch/master/graph/badge.svg)](https://codecov.io/gh/fanqingsong/fastapi-hive)
[![Supported Versions](https://img.shields.io/pypi/pyversions/fastapi-hive.svg)](https://pypi.org/project/requests)
[![PyPI version](https://badge.fury.io/py/fastapi-hive.svg)](https://badge.fury.io/py/fastapi-hive)
[![License](https://img.shields.io/github/license/fanqingsong/fastapi-hive.svg)](https://github.com/fanqingsong/fastapi-hive)
[![Downloads](https://pepy.tech/badge/fastapi-hive)](https://pepy.tech/project/fastapi-hive)

The classical code structure is compliant with function components view with the function folders, such as "api" folder for router registering, "models" folder for db and pydantic data model, just like [fastapi-ml-skeleton](https://github.com/eightBEC/fastapi-ml-skeleton).

But from the system design view, the system is divided into serveral sub-service, such as "heartbeat" service and "house_price" service in the above example, each of two services contains "api" and "model" function components.

With the help of fastapi-hive container_name, you can layout code structure by service style. For each service, it is defined as one endpoint, the codes are gathered in one endpoint folder, Also for the common functions, like db, auth, etc..., they are defined as cornerstones which are for constructing the hive(bee's home), and every bee are endpoints to go to hive.

Go to detailed site for more information [FastAPI Hive](https://fanqingsong.github.io/fastapi-hive/)

This repository contains a example app with cornerstones and endpoints folder which can be used to speed-up your next machine learning project. The code is fully tested and provides a preconfigured `tox` to quickly expand this sample code.

To experiment and get a feeling on how to use this framework, follow the installation and setup instructions to run the example app and serve it with RESTful API, go to [FastAPI Hive](https://fanqingsong.github.io/fastapi-hive/) for that.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/fanqingsong/fastapi-hive",
    "name": "fastapi-hive",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "fastapi machine-learning packages cornerstones",
    "author": "Qingsong Fan",
    "author_email": "qsfan@qq.com",
    "download_url": "https://files.pythonhosted.org/packages/be/7a/14f2737d5ddfb728288a8fc9c77c380880eb1cdced95eb7832669cd810b1/fastapi_hive-1.0.24.tar.gz",
    "platform": null,
    "description": "# FastAPI Hive\n\n![architecture](docs/img/hive.jpg)\n\n![startup_flow](docs/img/startup_flow.png)\n\n<p align=\"center\">\n    <em>FastAPI Hive Framework, modulization code layout tools, decoupling codes into cornerstones and endpoints, developer-friendly, easy to be integrated</em>\n</p>\n\n[![build](https://github.com/fanqingsong/fastapi-hive/workflows/pytest_flake8/badge.svg)](https://github.com/fanqingsong/fastapi-hive/actions)\n[![codecov](https://codecov.io/gh/fanqingsong/fastapi-hive/branch/master/graph/badge.svg)](https://codecov.io/gh/fanqingsong/fastapi-hive)\n[![Supported Versions](https://img.shields.io/pypi/pyversions/fastapi-hive.svg)](https://pypi.org/project/requests)\n[![PyPI version](https://badge.fury.io/py/fastapi-hive.svg)](https://badge.fury.io/py/fastapi-hive)\n[![License](https://img.shields.io/github/license/fanqingsong/fastapi-hive.svg)](https://github.com/fanqingsong/fastapi-hive)\n[![Downloads](https://pepy.tech/badge/fastapi-hive)](https://pepy.tech/project/fastapi-hive)\n\nThe classical code structure is compliant with function components view with the function folders, such as \"api\" folder for router registering, \"models\" folder for db and pydantic data model, just like [fastapi-ml-skeleton](https://github.com/eightBEC/fastapi-ml-skeleton).\n\nBut from the system design view, the system is divided into serveral sub-service, such as \"heartbeat\" service and \"house_price\" service in the above example, each of two services contains \"api\" and \"model\" function components.\n\nWith the help of fastapi-hive container_name, you can layout code structure by service style. For each service, it is defined as one endpoint, the codes are gathered in one endpoint folder, Also for the common functions, like db, auth, etc..., they are defined as cornerstones which are for constructing the hive(bee's home), and every bee are endpoints to go to hive.\n\nGo to detailed site for more information [FastAPI Hive](https://fanqingsong.github.io/fastapi-hive/)\n\nThis repository contains a example app with cornerstones and endpoints folder which can be used to speed-up your next machine learning project. The code is fully tested and provides a preconfigured `tox` to quickly expand this sample code.\n\nTo experiment and get a feeling on how to use this framework, follow the installation and setup instructions to run the example app and serve it with RESTful API, go to [FastAPI Hive](https://fanqingsong.github.io/fastapi-hive/) for that.\n\n",
    "bugtrack_url": null,
    "license": "Apache-2.0 license",
    "summary": "framework for FastAPI cornerstones management",
    "version": "1.0.24",
    "project_urls": {
        "Documentation": "https://fanqingsong.github.io/fastapi-hive/",
        "Homepage": "https://github.com/fanqingsong/fastapi-hive",
        "Issue Tracker": "https://github.com/fanqingsong/fastapi-hive/issues"
    },
    "split_keywords": [
        "fastapi",
        "machine-learning",
        "packages",
        "cornerstones"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "be7a14f2737d5ddfb728288a8fc9c77c380880eb1cdced95eb7832669cd810b1",
                "md5": "49f906fb25b7275329316a7b7bce275b",
                "sha256": "205df3a635f0db70db08e314514637f7b3c3678e6177287b7fcabe7a1a9ffe7d"
            },
            "downloads": -1,
            "filename": "fastapi_hive-1.0.24.tar.gz",
            "has_sig": false,
            "md5_digest": "49f906fb25b7275329316a7b7bce275b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 14713,
            "upload_time": "2023-10-19T13:36:42",
            "upload_time_iso_8601": "2023-10-19T13:36:42.767739Z",
            "url": "https://files.pythonhosted.org/packages/be/7a/14f2737d5ddfb728288a8fc9c77c380880eb1cdced95eb7832669cd810b1/fastapi_hive-1.0.24.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-19 13:36:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "fanqingsong",
    "github_project": "fastapi-hive",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "fastapi-hive"
}
        
Elapsed time: 0.12280s