Skip to main content

A command line tool to setup Python packages

Project description

pyproject:

PyPI - Downloads

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyproject-generator-0.0.9.tar.gz (10.0 kB view hashes)

Uploaded Source

Built Distribution

pyproject_generator-0.0.9-py3-none-any.whl (11.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page