A command line tool to setup Python packages
Project description
pyproject:
What is it?
pyproject is a command line utility to setup and distribute Python packages.
Usage:
Dependencies
Installing
The easiest way is to install pyproject is from PyPI using pip:
pip install pyproject-generator
Afterwards, a pyproject command will be exposed on your system.
Running
Simply run
pyproject init {project_name}
to create your project folder. It will automatically setup a package structure, virtual environment, and install packages.
pyproject also allows you to configure your author name, email, Github url, PyPI username and password, and a list of default dependencies that you want to install. Please note that your credentials are simply stored locally as plaintext. If you do not wish to store them, you can simply pass them in manually via the --pypi_username and --pypi_password flags. To configure, run
pyproject config --author="" --email="" --github_url="" --pypi_username="" --pypi_password=""
You may set dependencies one of three ways. In all cases, pass in a comma-delimited string. You can set the dependencies, which overrides the default settings.
pyproject config --set_dependencies
You may add dependencies:
pyproject config --add_dependencies
And you may remove dependencies:
pyproject config --remove_dependencies
pyproject also supplies an upload function. Run
pyproject upload
to build and upload your package to PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyproject-generator-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7ae8112e2aaa465d565f961490fcf91a4d74e2f60061a38f8b490e2e220818f |
|
MD5 | 7214ef8da338bd6c1b083de62ddd1d05 |
|
BLAKE2b-256 | bd94cb44792d7430e1ace2ed9b6137658204201de374dad93fd4c28fc9ae9c9d |
Hashes for pyproject_generator-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ad33ecafaf26a73134ffbc31e78aa2296fc26cc8e03ba626e8be609b6637b4 |
|
MD5 | 1e23256757386ffc86cc6b86e2b2eb84 |
|
BLAKE2b-256 | bbfecd930a05098aa756c32233b8bd8040e93ced2883fc735d25e6ae0acb3bed |