a local-first tool for managing python dependencies with pip
Project description
crowbar
Note: any instance of crowbar
can be replaced with cb
crowbar install <package_name> <package_name>
-Creates a virtual environment called venv if it does not exist
-Installs a package (or packages) from pypi into venv
-Updates requirements.txt and creates one if it does not exist
crowbar uninstall <package_name> <package_name>
-Uninstalls a package (or packages) from venv -Updates requirements.txt
crowbar install
-Installs all packages listed in requirements.txt
crowbar run <file_name>.py
-Runs a python file using the contents of the local venv
Warning – you may have pip muscle memory which may cause you to accidentally install globally. Use crowbar/cb and not pip if you are not in an active virtual environment.
global flag
crowbar --global install <package_name>
cb -g uninstall <package_name>
-installs or uninstalls a package globally
conda support
Crowbar supports python and will create an environment called conda_env instead of venv if it detects that it is within a conda environment.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file crowbar_package_manager-0.1.8.tar.gz
.
File metadata
- Download URL: crowbar_package_manager-0.1.8.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd8ae12281183c264449f563cc0c680cef08025d70554aec3085d72c5f1b4c00 |
|
MD5 | 516a72d07e0cfb4b9049d168701988f0 |
|
BLAKE2b-256 | 63974cb1d2617c5619e7148f9ac7c4a014fba249dc920ead6cc4d17a0b3b8359 |
File details
Details for the file crowbar_package_manager-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: crowbar_package_manager-0.1.8-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cdf32f01289e67a6bea5eed2f9d42a51cb0c1cc8991f93902d33b1ee10e0588 |
|
MD5 | 5060d936194a9192db8690bdc0a96b18 |
|
BLAKE2b-256 | 0dff2de5afc3ceb6a4f16400a612775abc3109f4a10110af68e4c96496229f84 |