Skip to main content

A tool to manage python projects and their dependencies.

Project description

psycho

Python project management automation using standard build tools.

Status

This project is a working prototype.

It can be installed from pypi:

pip install psycho

Overview

Python projects are migrating away from using setup.py to pyproject.toml. While a number of excellent projects provide custom tooling, there is no built in support for automating project management with the standard tools:

Psychotic Commands

The following are supported.

  • install
  • uninstall
  • build
  • publish

install

When used without specifying packages this command installs the project as editable.

# equivalent to: pip install --editable .
psycho install

When used with a package requirement, the requirement is written to the pyproject.toml and the package is installed into the python environment using pip.

psycho install "pandas>=1.5.3"

The -optional flag can be used (with a group name) to add an optional dependency.

psycho install --optional dev pytest

uninstall

This command removes a package from the pyproject.toml file, and uninstalls it using pip.

psycho uninstall pandas

This can be used with the optional flag (with a group name) to uninstall an optional dependency.

psycho install --optional dev pytest

build

The build command will build a package, prior to publishing it.

# The equivalent of: python -m build
psycho build

publish

The publish command will upload a package with twine.

# The equivalent of: twine upload dist/*
psycho publish

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

psycho-1.0.0a3.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

psycho-1.0.0a3-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file psycho-1.0.0a3.tar.gz.

File metadata

  • Download URL: psycho-1.0.0a3.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for psycho-1.0.0a3.tar.gz
Algorithm Hash digest
SHA256 1d980d64e748f2ea612af75dfe429d440574ffbf35440af86f054145f3910491
MD5 48d6b4327d641e633ebebf5499ce76f8
BLAKE2b-256 a9c9bae9911638f233b043e78aee867368f67787fea6e09497a175c55f467f19

See more details on using hashes here.

File details

Details for the file psycho-1.0.0a3-py3-none-any.whl.

File metadata

  • Download URL: psycho-1.0.0a3-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for psycho-1.0.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 5e73929e343dfaac5f3aa20b775b5008bf13c9e2da85f6a1083a1797e54e80a2
MD5 191fbe9f795bb8bebe4764f284dde2a0
BLAKE2b-256 3744e0bf52eb21e1ede314922d18a1b00ea45dc6fa8891c6e0d4e2fbddcc6f09

See more details on using hashes here.

Supported by

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