A python project bootstraper
Project description
Python project bootstrap
Basic scaffolding for python3 CLI projects
Usage
$ pyboot cli --help
Usage: pyboot cli [OPTIONS] NAME
Create project from the cli template.
Options:
-d, --directory PATH Destination directory.
--help Show this message and exit.
Create a CLI project in the current folder:
$ pyboot cli myproj
Load the project in a venv:
$ python -m venv venv
$ . venv/bin/activate
$ pip install .[dev]
$ pip list
myproj 0.1.0
...
Run it:
$ myproj --version
proj, version 0.1.0
Test it:
$ tox
Contribute
pyboot
is built from the same CLI template it generates.
Install:
$ pip install .[dev]
Test:
$ tox
Release:
$ pip install twine
$ python setup.py sdist bdist_wheel
$ twine upload dist/*
Todo
- Waiting for a editable standardization before moving to PEP517 (See: https://discuss.python.org/t/specification-of-editable-installation/1564/40)
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
pyboot-0.3.0.tar.gz
(5.9 kB
view details)
Built Distribution
File details
Details for the file pyboot-0.3.0.tar.gz
.
File metadata
- Download URL: pyboot-0.3.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 957a0fc4038d9f059c3b69e36e6b282ce7ae928ce9e38d2495ed9c12423282f8 |
|
MD5 | ea8dbf570076e758d9c42f1581191703 |
|
BLAKE2b-256 | 3738c7bc75dd585d64f5171e2495c3eff0dbcd81a21863cd9604536d7215b3f9 |
File details
Details for the file pyboot-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: pyboot-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f13eb15d74e5a49291d6a4ccd042e21aa1fe9d40d4fbbf0b0b14db89333f77d1 |
|
MD5 | e61fb94ecef9ab1c092bbb6780ca73fb |
|
BLAKE2b-256 | 95a53454694c0d6fa71c38a77d563ef4068306da6a328395c9caaf07e578f4a7 |