This python script generates a folder structure along all default files for an API framework in the current directory, optionally creating a new one.
Currently supported frameworks:
- Flask
- FastAPI
Work in progress:
- Django
Short backstory
When getting started on building an API, I found myself looking up an older project, copying the folder structure along the files and their contents. Then, remembering what environment variables I should include in the .env and their defaults for a local project. All in all, it was repetitive and annoying. Then let's be honest, why spend 5 minutes doing a repetitive task every now and then if you can spend 3 hours trying to automate it. Anyway, I hope you find this tool useful, and if you did, leave a star just so I know you found this tool useful.
Installation
Installation is done using pip using the following command:
pip install pyapibp
Usage
In the desired folder, run the following command:
$ pyapibp
That's about it, follow the instructions, choose your options and tada, you are ready to code!
I will write a more detailed description of the options after adding more frameworks, flags etc... etc..., but for now, enjoy.
History
0.1.0 (2021-09-10)
- First release on Github.
0.1.1 (2021-09-15)
- FastAPI support added. You can now generate boilerplate code for your FastAPI project.
Metadata
Release files for pyapibp 0.1.1
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 |
|---|---|---|---|---|
| pyapibp-0.1.1_.tar.gz | 7.5 kB | Without provenance | Details for pyapibp-0.1.1_.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyapibp-0.1.1_-py3-none-any.whl | Details for pyapibp-0.1.1_-py3-none-any.whl |
Total release size: 16.3 kB
Release files / pyapibp-0.1.1_.tar.gz
| Download URL | pyapibp-0.1.1_.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72b9a9871d5b8eb8aac93742fde6d56d232f35fd6019991f868a31a53c4261e5
|
|
BLAKE2b-256 checksum How to use checksums |
97047d8a58bc7c9e25c816ebf8c68eeab13f91a65f7a6c959333bc0a469782c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.0
|
Release files / pyapibp-0.1.1_-py3-none-any.whl
| Download URL | pyapibp-0.1.1_-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
|
SHA-256 checksum How to use checksums |
3cc297ae2b3edf3b7246d812cc7efa5b087e9dfa89566ecaab6f3a304c659e3c
|
|
BLAKE2b-256 checksum How to use checksums |
5dfbec9ea0e75bed3dd0c8cfe1cbd8ff44dc1384baf7a053b9fe611cc7a81276
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.0
|
Security for pyapibp 0.1.1
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.