DevKit includes helpers to manage Python virtual environments and dependencies with ease.
Easily create, activate, and maintain your environment β plus automate requirements updates.
- π Virtual Environment Commands
- π Python Shell
- π¦ Pip Dependency Management
- π§© Python Aliases
python-environment-createβ Creates a new./venvand activates it.python-environment-activateβ Activates the./venvif available.python-environment-is-activeβ Checks if the current environment is active.python-environment-deleteβ Deletes the./venv.python-environment-setupβ Deletes, recreates, activates./venv, and installs dependencies.
python-shell [env]β Activates environment, sets Django settings, and opens the Django shell.
(Supportslocal,dev,prod,test)
pip-install [--main|--test]β Installs dependencies fromrequirements.txtand/orrequirements-test.txt.pip-update [--main|--test]β Updates installed packages and regenerates the pinned requirements files.
pythonβ Points topython3.pipβ Points topip3.
π‘ Tip:
Usepython-environment-setupfor a full clean start:
fresh environment + dependencies installed.