Skip to main content

No project description provided

Project description

PITER - virtual environments management tool for Python projects

PyPI codecov Total alerts

Idea

While working on Python project you may need multiple virtual environments. You can divide your development and test environments, have multiple environments to test against different version of libraries or any other use cases

Minimal configuration

Install piter with

pip install piter

Create or update pyproject.toml file with following configuration

[tool.piter]

[tool.piter.env.test]
dependencies = [
	"pytest==6.2.4", 
]
scripts.test = "pytest"

[tool.piter.env.dev]
dependencies = [
	"black==21.5b1",
]

scripts.lint = "black ."
scripts.check = "black --check ."

Available commands with this configuration

# install, remove and reinstall env 
piter env dev --install
piter env dev -i

piter env dev --remove
piter env dev -r

piter env dev --reinstall
piter env dev -ri


# run script without specifying env
piter run test

# run script
piter run dev:lint

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

piter-0.8.0.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

piter-0.8.0-py3-none-any.whl (7.6 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