Skip to main content

Install dependencies from a pyproject using pip.

Project description

pip-requirements

Install requirements/dependencies specified in a pyproject.toml using pip.

Features

  • Installs required, optional and/or all dependencies.
  • Detects and works with pip in installed in virtual environments.

Quick Start

  1. Install pip-requirements:

    pip install pip-requirements
    
  2. Install dependencies of of your pyproject.toml:

    pip-requirements install path/to/pyproject.toml ":all:" "optional-name"
    

Why

  • This only exists because it's not builtin to pip.

  • Using requirements.txt files is primitive and redundant compared to the expressiveness of pyproject.toml files..

We should have something like:

pip install --dependency=name --dependency=:all: path/to/pyproject.toml

Or:

pip requirements install path/to/pyproject.toml ":all:" "optional-name"

Links

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-requirements-20240201.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file pyproject-requirements-20240201.tar.gz.

File metadata

File hashes

Hashes for pyproject-requirements-20240201.tar.gz
Algorithm Hash digest
SHA256 3063098f9858f7ce4ff0d9a86ef85805098df97ba71745ccf94934e9a521f22f
MD5 94bc947b421dc6257ae7b3dbd4e44dfd
BLAKE2b-256 c7ed933dca35338ae12f63f55556feeff3c2571980ad55adf2b2bc629cefdf6c

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