Skip to main content

dep2req

Overview

With dep2req you can extract dependencies from pyproject.toml files to requirements.txt in seconds. No more waiting for pip-compile to finish.

Installation

pip install dep2req

Usage

Simply run in any directory containing a pyproject.toml file:

dep2req

and a requirements.txt will be created in the current working directory.

usage: dep2req [-h] [-f FILENAME] [-a] [-s OPTIONAL_SECTIONS] [-o OUTPUT] [-v]

optional arguments:
  -h, --help            show this help message and exit
  -f FILENAME, --filename FILENAME
                        path to the input pyproject.toml file
  -a, --add-optional    whether to include "optional-dependencies" [defaults
                        to including all sections]
  -s OPTIONAL_SECTIONS, --optional-sections OPTIONAL_SECTIONS
                        name(s) of "optional-dependencies" section(s) to
                        include, comma-delimited
  -o OUTPUT, --output OUTPUT
                        path to the output requirements.txt file
  -v, --verbose         print details about what the script is doing  

Metadata

Release files for dep2req 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dep2req 1.0.5
File Size Uploaded
dep2req-1.0.5.tar.gz 9.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dep2req 1.0.5
File Interpreter ABI Platform
dep2req-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 19.0 kB

Release files / dep2req-1.0.5.tar.gz

Download URL dep2req-1.0.5.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8941e0b23f451655aad74b2aea90d4b0a07d2a7912c5396d5fcd9bbc91e66baa
BLAKE2b-256 checksum
How to use checksums
4a8ed397b65e2ad2da660817649eab144b3b12fbadf58e7130d9e389fc76e6dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.8.2 CPython/3.11.4

Release files / dep2req-1.0.5-py3-none-any.whl

Download URL dep2req-1.0.5-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
368bb48ede08fca64dd11ca0bb45e48e772445b5ca01cf67b373cb708cfdcd07
BLAKE2b-256 checksum
How to use checksums
15565eac698d3db599a357e70d1c5db0d1f9e520786637dc2512b9db3ea6aa88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.8.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page