Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crowbar_package_manager-0.1.8.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

crowbar_package_manager-0.1.8-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file crowbar_package_manager-0.1.8.tar.gz.

File metadata

File hashes

Hashes for crowbar_package_manager-0.1.8.tar.gz
Algorithm Hash digest
SHA256 cd8ae12281183c264449f563cc0c680cef08025d70554aec3085d72c5f1b4c00
MD5 516a72d07e0cfb4b9049d168701988f0
BLAKE2b-256 63974cb1d2617c5619e7148f9ac7c4a014fba249dc920ead6cc4d17a0b3b8359

See more details on using hashes here.

File details

Details for the file crowbar_package_manager-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for crowbar_package_manager-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6cdf32f01289e67a6bea5eed2f9d42a51cb0c1cc8991f93902d33b1ee10e0588
MD5 5060d936194a9192db8690bdc0a96b18
BLAKE2b-256 0dff2de5afc3ceb6a4f16400a612775abc3109f4a10110af68e4c96496229f84

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page