Bapy - Python Package Manager
raw JSON → 2.0.5 verified Fri May 01 auth: no python
A tool for managing Python packages. Current version is 2.0.5, with monthly releases on PyPI.
pip install bapy Common errors
error ModuleNotFoundError: No module named 'bapy' ↓
cause bapy not installed or installed in wrong environment.
fix
Run: pip install bapy
error ImportError: cannot import name 'Bapy' from 'bapy' ↓
cause Old import pattern from version 1.x may be used.
fix
Use: from bapy import Bapy
Warnings
breaking Version 2.0.0 replaced the old CLI interface with a Python API. Scripts using 'bapy install pkg' must be rewritten. ↓
fix Use Bapy class from bapy module.
deprecated The 'bapy install' CLI command is deprecated; use 'bapy install_package' method. ↓
fix from bapy import Bapy; Bapy().install_package('pkg')
gotcha Python 3.10 is required, but bapy silently fails on lower versions. ↓
fix Check Python version: python --version
Imports
- Bapy
from bapy import Bapy
Quickstart
from bapy import Bapy
bapy = Bapy()
bapy.list_packages()