PyArchetype
This project is used to simplify the skeleton creation of python projects
Installation
pip install pyarchetype
Syntax
Tool to create the skeleton of a python project
usage: pyarchetype [-h] [-v] [--create] [--wizard] [--path PATH]
[--module MODULE] [--name NAME] [--email EMAIL]
[--initial_version INITIAL_VERSION]
[--license {MIT,Apache-2.0,GPL-3.0-only,Propietary}]
[--force_overwrite] [--create_venv]
Tool to create the skeleton of a python project. Version 0.1.0
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
--create Create skeleton structure of your python project
--wizard Define all parameters in wizard mode
--path PATH basedir. Default current dir
--module MODULE Module name . Default value is app
--name NAME Owner. Default value is jordiredondo
--email EMAIL Email address. Default value is user@email.com
--initial_version INITIAL_VERSION
Initial Version. Default value is 0.0.1
--license {MIT,Apache-2.0,GPL-3.0-only,Propietary}
license. Default value is MIT
--force_overwrite Force overwrite. Default value is false
--create_venv Create project virtualenv. Default value is false
Example of execution
At below example we are creating an app under path "myapp". This bootstrapping also creates python .venv
pyarchetype --create --path myapp --create_venv --name user1 --email user1@email.com --create_venv
INFO:pyarchetype.pyarchetype:all_flags={
"create": true,
"wizard": false,
"path": "myapp",
"module": "app",
"name": "user1",
"email": "user1@email.com",
"initial_version": "0.0.1",
"license": "MIT",
"force_overwrite": false,
"create_venv": true
}
INFO:pyarchetype.pyarchetype:Creating basedir myapp
INFO:pyarchetype.pyarchetype:Updating file myapp/.vscode/tasks.json
INFO:pyarchetype.pyarchetype:Updating file myapp/.vscode/launch.json
INFO:pyarchetype.pyarchetype:Updating file myapp/.gitignore
INFO:pyarchetype.pyarchetype:Updating file myapp/pyproject.toml
INFO:pyarchetype.pyarchetype:Updating file myapp/LICENSE
INFO:pyarchetype.pyarchetype:Updating file myapp/README.md
INFO:pyarchetype.pyarchetype:Updating file myapp/requests.txt
INFO:pyarchetype.pyarchetype:Updating file myapp/scripts/compile_and_upload.sh
INFO:pyarchetype.pyarchetype:Force filename=myapp/scripts/compile_and_upload.sh chmod=0755 . Only relevant for Unix-like platforms
INFO:pyarchetype.pyarchetype:Updating file myapp/scripts/compile_only.sh
INFO:pyarchetype.pyarchetype:Force filename=myapp/scripts/compile_only.sh chmod=0755 . Only relevant for Unix-like platforms
INFO:pyarchetype.pyarchetype:Updating file myapp/scripts/upload_pypi.sh
INFO:pyarchetype.pyarchetype:Force filename=myapp/scripts/upload_pypi.sh chmod=0755 . Only relevant for Unix-like platforms
INFO:pyarchetype.pyarchetype:Updating file myapp/.pypirc
INFO:pyarchetype.pyarchetype:Force filename=myapp/.pypirc chmod=0600 . Only relevant for Unix-like platforms
INFO:pyarchetype.pyarchetype:Creating folder myapp/tmp
INFO:pyarchetype.pyarchetype:Creating folder myapp/tests
INFO:pyarchetype.pyarchetype:Updating file myapp/src/app/app.py
INFO:pyarchetype.pyarchetype:Updating file myapp/src/app/__init__.py
INFO:pyarchetype.pyarchetype:Updating file myapp/tests/app/test_app.py
Source Code
https://github.com/redcorjo/pyarchetype.git
Version: 2023010702
Metadata
Release files for pyarchetype 0.1.12
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 |
|---|---|---|---|---|
| pyarchetype-0.1.12.tar.gz | 23.1 kB | Without provenance | Details for pyarchetype-0.1.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyarchetype-0.1.12-py3-none-any.whl | Python 3 | none | any | Details for pyarchetype-0.1.12-py3-none-any.whl |
Total release size: 47.3 kB
Release files / pyarchetype-0.1.12.tar.gz
| Download URL | pyarchetype-0.1.12.tar.gz |
|---|---|
| Size | 23.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5845be82b3623cf12508eaa18a9d7735ed3fd539302cc5e3a72529e2cc536176
|
|
BLAKE2b-256 checksum How to use checksums |
35b7b8788cc032d261515e31922df44f100f9528901ee6c96dff294dc0ac32fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.10
|
Release files / pyarchetype-0.1.12-py3-none-any.whl
| Download URL | pyarchetype-0.1.12-py3-none-any.whl |
|---|---|
| Size | 24.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
592c0ca369a26690eba669f388d95f2a49c7bfd96431e3d40412f9c1d3514b90
|
|
BLAKE2b-256 checksum How to use checksums |
c08830bd473743fbd002d837897a59d065e8ec8b79b3fb2886bab21ec62958b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.10
|
Security for pyarchetype 0.1.12
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.