Automatically create a command application
Project description
pycreator
Create boilerplate application thru the command-line!
TLDR;
pip install pycreator # to install pycreator
pycreator goes -n brrr # where brr is the name
Usage
create
This command allow to create a Python boilerplate application with the structure as showed below.
Available commands for create
:
-n, --name -- application name (required)
-l, --location -- location to create a new package. If none it will create at working directory
Structure of example application named brrr
brrr
│ LICENSE.md
│ README.md
│ VERSION
│
└───src
└───brrr
│ setup.py
│ __init__.py
│
├───actions
│ │ action.py
│ │ action_dispatcher.py
│ │ version.py
│ │ __init__.py
│ │
│ └───example_action
│ example_action.py
│ __init__.py
│
├───core
│ __init__.py
│
├───framework
│ messages.py
│ __init__.py
│
└───main
main.py
__init__.py
Build
Boilerplate app comes with preconfigured setup.py
file which allow to create a .whl
package.
To build a package, go to src
dir a type in the terminal:
pip install setuptools wheel
python sdist bdist_wheel
After operation in the newly created dir dist/
you should find a *.tar.gz
& *.whl
packages.
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
pycreator-0.1.3.tar.gz
(7.0 kB
view hashes)
Built Distribution
pycreator-0.1.3-py3-none-any.whl
(11.7 kB
view hashes)
Close
Hashes for pycreator-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b94c690f5ab87f8bf8fd64dd77670f8367199711b238693b4cb8185d5d4b2ce |
|
MD5 | 024a3dca15f6ef8761e030b6d9f85184 |
|
BLAKE2b-256 | de34ce0a4b94d3995ec59fe09a8103255ff5b1b869b84202aeb43b22d28e493d |