Skip to main content

framework for FastAPI cornerstones management

Project description

FastAPI Hive

architecture

startup_flow

FastAPI Hive Framework, modulization code layout tools, decoupling codes into cornerstones and endpoints, developer-friendly, easy to be integrated

build codecov Supported Versions PyPI version License Downloads

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.

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

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 for that.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastapi_hive-1.0.24.tar.gz (14.7 kB view details)

Uploaded Source

File details

Details for the file fastapi_hive-1.0.24.tar.gz.

File metadata

  • Download URL: fastapi_hive-1.0.24.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for fastapi_hive-1.0.24.tar.gz
Algorithm Hash digest
SHA256 205df3a635f0db70db08e314514637f7b3c3678e6177287b7fcabe7a1a9ffe7d
MD5 49f906fb25b7275329316a7b7bce275b
BLAKE2b-256 be7a14f2737d5ddfb728288a8fc9c77c380880eb1cdced95eb7832669cd810b1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page