cdi 📦
Smart
cd+ a fistful of shortcuts so you never typepip install -r requirements.txtagain.
Install
pip install cdi
cdi-setup # injects everything into ~/.bashrc / ~/.zshrc
source ~/.bashrc # or restart your terminal
cdi — smart cd
cdi my-project # just cd, nothing extra
cdi my-project -req # cd + auto-install deps
cdi my-project -venv # cd + create/activate .venv
cdi my-project -venv -req # cd + venv + install (the full combo)
cdi my-project -p # cd + prompt: "install deps? [y/N]"
Standalone shortcuts
| Command | What it does |
|---|---|
req |
Install deps in current folder (auto-detects file) |
venv |
Create .venv if missing, then activate it |
vreq |
venv + req in one shot |
deact |
Deactivate current virtualenv |
pipu <pkg> |
pip install --upgrade <pkg> |
freeze |
pip freeze > requirements.txt (with confirmation) |
Examples
# forgot to -req on the way in? just:
req
# fresh clone, want everything set up:
vreq
# done working, get out of the venv:
deact
# upgrade a package:
pipu requests
# lock your deps:
freeze
What req / cdi -req detects
| File | Command run |
|---|---|
Pipfile |
pipenv install |
pyproject.toml |
pip install -e . |
requirements.txt |
pip install -r requirements.txt |
environment.yml |
conda env update -f environment.yml |
Uninstall
cdi-setup uninstall
pip uninstall cdi
License
MIT
Metadata
Release files for shreq 0.1.0
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 |
|---|---|---|---|---|
| shreq-0.1.0.tar.gz | 6.0 kB | Without provenance | Details for shreq-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shreq-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for shreq-0.1.0-py3-none-any.whl |
Total release size: 12.5 kB
Release files / shreq-0.1.0.tar.gz
| Download URL | shreq-0.1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67a6fccfc453389366fc434c9e1821c5a22ea778ec952c59da90d384157bb5b5
|
|
BLAKE2b-256 checksum How to use checksums |
cf7611229ecdeeecdb79c2bfe2db7058ecac38d834958e4a104dce8dfe2aba4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / shreq-0.1.0-py3-none-any.whl
| Download URL | shreq-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7920f60a7a2736b9bb9d0e567fe0335ee3dd8deb6be3f7173f4dd115300c066
|
|
BLAKE2b-256 checksum How to use checksums |
a0ca3332ceda98cf182c0a337c7d7774e6e40e0b2e6936e086b4949e0c0c6dc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for shreq 0.1.0
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.