Skip to main content

Python boilerplate code generator to easily start building API's

Project description

# Python boilerplate code generator to easily start building API's (pyapibp)

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

Work in progress:

  • FastAPI

  • 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.

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

pyapibp-0.1.0.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distributions

pyapibp-0.1.0-py3.8.egg (17.1 kB view hashes)

Uploaded Source

pyapibp-0.1.0-py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 3

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