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

crowbar name <environment name>

-Changes the name of the environment folder that crowbar creates (venv is the default)

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


running package commands

With the crowbar command you can run any commands installed in the virtual environment.

Example - starting a new Django project:

cb django-admin startproject django_project .

Use crowbar run to run any commands surfaced by files within your Python program.

Example - running the Django development server:

cb run manage.py runserver

package managers other than pip

Crowbar does not support Conda. Crowbar has plans to support UV eventually.

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.10.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

crowbar_package_manager-0.1.10-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for crowbar_package_manager-0.1.10.tar.gz
Algorithm Hash digest
SHA256 52180181f8bc508ceabebd3b843014803db15642640bf307ea58b49ab1bf291f
MD5 51e0b009afa585be3b335c9ec09d342a
BLAKE2b-256 156fb7b235d3995117c20bdc25880284e47d0f260ddf61607db98b0487553e4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for crowbar_package_manager-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 5daf317c01af155e86d91929a6d458a568f2c5fc19115474a3c806d2bf6969db
MD5 376ef3ef60b594501eb7057d7f7710c4
BLAKE2b-256 12e05356c48678e8cc4ec8e702f0555fa3c45feb605b17ff080d5ef160fec0c1

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