Skip to main content

This is a create-react-app analog that creates a base Flask Aplication structure with boilerplates.

Project description


Create Flask API

An simple to use cli to create your Flask API's!
Explore the docs »

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact

About The Project

Always when I wanted to start a new Flask API project I had to go through the same repetitive steps of creating a lot of folders, __init__.py's, configurations etc... and only then I would start coding. So I decided to create a Flask API factory that can very easily and fast create a base project that I can work on top of, increasing my productivity!

With this tool you can not only start a new project but also configure some features, listed down below:

  • Start git versioning
  • Choose a testintig package
  • Choose a authentication package/configs
  • Choose a serializer package
  • Include Heroku config

Built With

This project was built using pure python and two packages, listed as follows:

Getting Started

This is a command line interface. When you install create-flask-api, it should be added to your local python modules folder, so then you can run it anytime in your machine using python -m command. But first you need to fulfill some prerequisites.

Prerequisites

To use this tool you will need to have pip (package intaller for python) and venv (python virtual environments provider) installed on your machine. If you don't have them installed take a look at their documentation: pip, venv Of course, you'll also need python (>=3.7).

Installation

The only thing you'll have to do is install this package using the following command:

pip install create-flask-api

Just like that.

NOTE: If you pip install this package inside a venv you'll be able to use it only inside the venv, so don't do that

Usage

To use it is very simple, just type the following command with your desired project name in your shell and it will automatically generate your project

python -m create_flask_api [-h] project_name

Positional arguments:

  • project_name Here you should insert the project name.

Optional arguments:

  • -h, --help show this help message and exit

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Pedro Henrique Germano Silva - pedrohenriquegs2001@gmail.com

Project Link: https://github.com/peedrooh/create-flask-api

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

create_flask_api-0.0.7-py3-none-any.whl (44.8 kB view details)

Uploaded Python 3

File details

Details for the file create_flask_api-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: create_flask_api-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 44.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.0

File hashes

Hashes for create_flask_api-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ca3da851453911db98b1c338a4b71d9d294d905d34ba6ae454d6968b4fdacc0b
MD5 fe1870687b54e9260c7c85cb714c21cf
BLAKE2b-256 f00fae77d767222cbc19a6529ddfd37f84bf0f01617e1ac508a328d51da94bfc

See more details on using hashes here.

Supported by

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