pycreator
Create boilerplate application thru the command-line!
TLDR;
pip install pycreator # to install pycreator
pycreator goes 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 (pycreator create -n 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
add
Note: This is experimental function and it does not work always correct
The add function allow to add a new action into actions directory.
To use it please be at brrr directory under src (please see an example above) and the type:
pycreator add -n action_name
New folder action_name and action_name.py will be created.
Note: Please import a new action in actions_dispatcher.py file manually.
New action should be added here, into ACTION_HANDLERS
class ActionDispatcher:
ACTION_HANDLERS = [AddAction,
CreateAction,
GoesAction,
ShowVersion]
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 setup.py sdist bdist_wheel
After operation in the newly created dir dist/ you should find a *.tar.gz & *.whl packages.
Metadata
Release files for pycreator 0.2.2
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 |
|---|---|---|---|---|
| pycreator-0.2.2.tar.gz | 8.2 kB | Without provenance | Details for pycreator-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pycreator-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for pycreator-0.2.2-py3-none-any.whl |
Total release size: 21.1 kB
Release files / pycreator-0.2.2.tar.gz
| Download URL | pycreator-0.2.2.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d824cdaf2bcd14cb8d233ff997c5178fdf8990ec3b9e0220d26f5659b5aa589
|
|
BLAKE2b-256 checksum How to use checksums |
5ec4d1ffa8ddfcc936e68e80bfdb227f68bfc4059242961f827423d11111c26d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
|
Release files / pycreator-0.2.2-py3-none-any.whl
| Download URL | pycreator-0.2.2-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2f3a901094e91055c80cd7f42ca0c6c754c4755a3fec696d52c71549501bd11
|
|
BLAKE2b-256 checksum How to use checksums |
7d6a502668b56bbdc1dae9a574d4d46bb26b04be6263acdaa86ec30d81248c02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
|
Security for pycreator 0.2.2
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.