make-fastapi-app
pip install make-fastapi-app
Running
make-fastapi-app
FastAPI app creation template
Instructions
First off, make sure you have python installed and this package pip install make-fastapi-app, this will create a new global command make-fastapi-app that you will use in the steps below.
- Create a new python github repo, let's call it "myapp"
- Clone that "myapp" repo to your local computer
cdinto "myapp`- Run
make-fastapi-appat the project root.- Follow the instructions
- Now
git committhe files into the repo.
Now you should have a fully formed app that is ready to be used at Render.com or DigitalOcean, which will use the Dockerfile install. Everything should be automatic with this option.
Running locally
You can either run the app locally. See the run scripts at the project root. You'll need to install the project globally with pip install -e . or else use a virtual environment with python make_venv.py and then using . ./activate.sh and then pip install -e . and then running the run_dev.py which should launch everything. Also there is a VSCode build tool that will do this automatically. It will be something like Terminal -> Run Build Tools -> Run Local
Windows
This environment requires you to use git-bash.
Linting
Run ./lint.sh to find linting errors using pylint, flake8 and mypy.
Versions
- 1.0.7: Upgrade setup.py -> pyproject.toml
- 1.0.6: Command broke due to new python. I fixed it.
- 1.0.5: Fixes adding +x to sh files
- 1.0.4: Allows empty github url
- 1.0.3: Adds post install instructions to the command line.
- 1.0.2: Remove trailing
.gitand/for githurl repo input - 1.0.1: Adds +x to all shell scripts
- 1.0.0: Initial commit
Metadata
Release files for make-fastapi-app 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| make_fastapi_app-1.0.7.tar.gz | 14.1 kB | Without provenance | Details for make_fastapi_app-1.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| make_fastapi_app-1.0.7-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for make_fastapi_app-1.0.7-py2.py3-none-any.whl |
Total release size: 20.9 kB
Release files / make_fastapi_app-1.0.7.tar.gz
| Download URL | make_fastapi_app-1.0.7.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f85ae37b61b1a25451c5fb951badeab29b5765a4ee48ff32521b764840f8869b
|
|
BLAKE2b-256 checksum How to use checksums |
79b20b07eaa918122dc368c62966e76a95450d50d78b7574c4c92e0cd4eeddc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.5
|
Release files / make_fastapi_app-1.0.7-py2.py3-none-any.whl
| Download URL | make_fastapi_app-1.0.7-py2.py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
70a0be2e2f6733bfbd182424fecf96d54b4e0d633724c9a8115554680cb10f97
|
|
BLAKE2b-256 checksum How to use checksums |
a49f3b21e94791fc87c9ddedf2dd9008168173bce7da4c979141e8af2e755190
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.5
|
Security for make-fastapi-app 1.0.7
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.