Skip to content

A Flask CLI for creating and managing Python Flask projects.

Notifications You must be signed in to change notification settings

TomGrozev/flask-boom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Boom

Flask Boom is a CLI for creating flask projects and generating modules within the project. This all came to be when I was not content with the project generation in Jetbrains PyCharm for flask projects. With some inspiration taken from Angular's ng CLI, the goal of Boom is to streamline the process of generating projects and modules within the project.

Flask Boom uses templates to create projects. At the moment there are two kinda of templates included (app based and functional based). I plan to add more and more variations of the two (i.e. REST APIs, GraphQL APIs, etc.).

In Development

This project is still a work in progress and I DO NOT recommend using it in a production environment. Feel free to contribute in the mean time.

Documentation

Flask Boom works using templates to define how projects are structured.

Creating Templates

(Coming Soon)

Template variables

The Jinja Templating language is used, more details on exactly how to use it can be found here Jinja Docs

Globally Available Variables
Variable Name Type Example Description
project_name String My Project The human friendly name of the project
project_name_path String my-project The project name in a path safe string
project_description String A test project :D Description of the project
required_packages String[] ['flask', 'jinja2'] Array of required python packages
author_name String Tom Grozev Name of the author
author_url String https://github.com/TomGrozev URL to author github, website, etc.
project_root String /home/tom/dev/my-project Absolute path to project root
Module Available Variables
Variable Name Type Example Description
module_name String user The Name of the module (this can be plural)
module_name_plural String users The Name of the module as a plural (regardless if module_name is plural or not)

Built With

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Angular CLI for inspiration
  • PurpleBooth's README Template

About

A Flask CLI for creating and managing Python Flask projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published