The Package Manager is an add-on designed to streamline the management of Python packages directly within Blender. It provides an easy-to-use interface for searching, installing, and managing Python packages, along with bulk download capabilities for package requirements.
This add-on aims to simplify the workflow for Blender users who need to manage Python packages for scripting and plugin development. It eliminates the need to use external package managers by integrating package management into the Blender interface.
- Search PyPI — Find Python packages with cached results, rate-limited requests, and Consolidated Metadata (Authors, Licenses, etc.).
- Install & Upgrade — Download, install, and upgrade packages without freezing Blender's UI.
- Auto-Update System — Background checker notifies you when new versions of your favorite packages are available on PyPI.
- Documentation Support — One-click access to official documentation and homepages directly from the UI.
- Manage Installed Packages — View, search, and uninstall packages with clear identification of System-installed packages.
- Robust Error Handling — Specific diagnostic messages for build failures (missing compilers,
pkg-config), network issues, and permission errors. - Bulk Download — Install all packages from a
requirements.txtfile in a single pip call. - Non-blocking UI — Network and subprocess operations run in background threads.
- Search Packages: Enter your search query in the "Search Packages" section to find packages on PyPI.
- Documentation & Website: Access the project's homepage or official documentation via dedicated buttons in the search results.
- Install Packages: Click the "Download" button to install a package.
- Refresh & Search: Keep your list up to date and filter it using the built-in search field.
- Auto-Update Toggle: Enable auto-update for a package to receive background notifications when a new version is released.
- Update Package: When an update is detected, a notification and an "Update" button will appear.
- Uninstall: Remove packages easily. Note that system-installed packages (marked with
⚠️ ) may require running Blender as Administrator to uninstall.
- Requirements File: Select a
requirements.txtfile and click "Download All" to install multiple dependencies at once.
- Download the extension as a
.zipfile from this repository. - Open Blender and go to Edit > Preferences > Get Extensions.
- Click the dropdown arrow (⌄) next to "Repositories" and select Install from Disk....
- Select the
.zipfile. - Enable the extension.
- Switch to the Text Editor workspace.
- Open the sidebar (press
Nor drag from the right edge). - You will find the Package Manager panel in the Package Manager tab.
- Blender 4.2+: Built for the latest Blender Python environment.
- Verification: Uses robust metadata checks to verify installations, supporting packages with complex casing or module-name mismatches.
- Security & Safety: Always uses the
--userflag for installations to prevent corrupting system-level Python environments. - Caching: Search results are cached for 5 minutes, and ETags are used to minimize bandwidth for repeated searches.
- Update Checks: Automatic version checks run in the background every 6 hours.
Feel free to open issues or submit pull requests if you find bugs or have suggestions for improvements. Contributions are welcome!
