Compile with pip-tools for multiple python versions in single file
This package allows to compile requirements.in file to single requirements.txt output with support for multiple python versions simultaneously.
Install
pip install pip-compile-universal
Usage
Call this command with required python versions, first input file and rest arguments forwarded to pip-tools.
pip_compile_universal 3.8,3.9,3.10,3.11 requirements.in [other pip-tools arguments]
How it works
This command creates virtualenvs in home directory (~/.virtualenvs). Then it will compile requirements for each python version and merge to single requirements.txt file.
Example
requirements.in:
workalendar
pip_compile_universal 3.7,3.8,3.9,3.10,3.11 requirements.in
requirements.txt:
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via workalendar
convertdate==2.4.0
# via workalendar
importlib-metadata==6.0.0 ; python_version < "3.8"
# via workalendar
lunardate==0.2.0
# via workalendar
pyluach==2.0.2
# via workalendar
pymeeus==0.5.12
# via convertdate
python-dateutil==2.8.2
# via workalendar
six==1.16.0
# via python-dateutil
typing-extensions==4.4.0 ; python_version < "3.8"
# via importlib-metadata
workalendar==17.0.0
# via -r build/requirements.in
zipp==3.12.0 ; python_version < "3.8"
# via importlib-metadata
Metadata
Release files for pip-compile-universal 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pip_compile_universal-0.0.7.tar.gz | 10.4 kB | Without provenance | Details for pip_compile_universal-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pip_compile_universal-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for pip_compile_universal-0.0.7-py3-none-any.whl |
Total release size: 19.5 kB
Release files / pip_compile_universal-0.0.7.tar.gz
| Download URL | pip_compile_universal-0.0.7.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
344cc3472e34307f9a3ef4b9adace4d7887643a34f0bcac07f682340ac63f20a
|
|
BLAKE2b-256 checksum How to use checksums |
557afa34d2c5c74579cdddd0413d4368b8b7f7bd4ff4be4773240bbb9eea9e77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.13
|
Release files / pip_compile_universal-0.0.7-py3-none-any.whl
| Download URL | pip_compile_universal-0.0.7-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
675347c80cfb826773a165b88a8e34176292919bc379add8ab5a1408f68d47bd
|
|
BLAKE2b-256 checksum How to use checksums |
105a7462393c17b2c09d91be56705463ef54fa12ca69a6d76b3495dbab473e30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.13
|
Security for pip-compile-universal 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.