Skip to main content

LaraFastAPI

A framework for FastAPI similar to Laravel

install

(1) install: pip install LaraFastAPI

(2) build application directories: lara_post_install

(3) run the app: uvicorn main:app --reload

usage

(1) command

① create controller : python larafast make:controller User

② create api-controller : python larafast make:api User

③ create restful-controller : python larafast make:rest User

④ create model : python larafast make:model User

⑤ run app : python larafast dev

⑥ database migrate : python larafast init-db、python larafast migrate、python larafast upgrade、python larafast downgrade ...

(2) model

the database config file is in the /config.py, you can specify your own database information.

the model documentation is in https://tortoise.github.io.

(3) controller & views

the controller file is in the /app/controllers directory, and the view files are in the /app/views directory.

the view enginer is using jinja2 template.

(4) publish

gunicorn main:app -w 4 -k uvicorn.workers.UvicornWorker -b 0.0.0.0:8000 --timeout 120

Metadata

Release files for LaraFastAPI 0.2.8.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for LaraFastAPI 0.2.8.4
File Size Uploaded Provenance Actions
larafastapi-0.2.8.4.tar.gz 8.7 kB Without provenance Details for larafastapi-0.2.8.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for LaraFastAPI 0.2.8.4
File Interpreter ABI Platform Actions
larafastapi-0.2.8.4-py3-none-any.whl Python 3 none any Details for larafastapi-0.2.8.4-py3-none-any.whl

Total release size: 19.9 kB

Release files / larafastapi-0.2.8.4.tar.gz

Download URL larafastapi-0.2.8.4.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7d26df664ffee2cc8868bdd383c03bc254144c0616f48f04343520e1ef5ba3d9
BLAKE2b-256 checksum
How to use checksums
27f3df4b43231d0d708c24bab728fc39a08f08337c29d7e7fdf1d71d7013307a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / larafastapi-0.2.8.4-py3-none-any.whl

Download URL larafastapi-0.2.8.4-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3047cad19314d86e8eb1a2006b2d091775a46ee0ee3f8e3660c23dd05a982726
BLAKE2b-256 checksum
How to use checksums
4f9b61611aeaa833fe2b310f76d121659fa3e6557b4a4319a31b5cb297f9e1d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for LaraFastAPI 0.2.8.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page