
LynxHub Python Toolkit Extension
Python Toolkit Extension is a powerful tool designed to streamline Python environment management within the LynxHub platform. It offers comprehensive features for managing Python installations, virtual environments, and packages.
Channel | Version | Date |
---|---|---|
Early Access | V0.10.2 | 2025-06-08 |
Release | V0.10.0 | 2025-04-17 |
- Linux support.
- macOS support.
- Use
conda activate
for Conda environments. - Merge
requirements.txt
files and manage conflicts. - Improve package installation:
- Show
pip
output, progress bar, and download size (MB).
- Show
- Optimize disk usage calculations and caching.
- Refresh only Python/venv on changes, no full reload.
- Expand tools page to full screen.
- Activate Python/venv during AI installation.
- Check for Python version updates and auto-update on startup.
- Show detailed errors for installations/updates.
- Add settings to disable auto venv assignment for AIs.
- Set a default venv for all AIs.
- Prompt and warn user to modify pre-command of arguments to set venv for AI.
- Change package version (upgrade/downgrade)
- Auto-Detect Installed Pythons: Automatically detects all installed Python versions, including those installed via Conda.
- Install Python Versions: Install new Python versions (official and Conda-based) directly from the extension.
- Set System Default Python: Easily set any installed Python as the system default.
- Manage Installed Packages: Manage packages installed in each Python environment.
- View Python Details: View detailed information about installed Pythons, including version, install path, installed packages count, and disk usage.
- Locate Existing Venvs: Locate and list existing virtual environments.
- Create New Venv: Create new virtual environments with selected Python versions (official or Conda).
- Associate AI with Venv: Associate AI tools with specific virtual environments, allowing multiple AIs to share the same environment.
- View Venv Details: View detailed information about virtual environments, including Python version, install path, installed packages count, disk usage, and associated AIs.
- Manage Venv Packages: Manage packages installed in virtual environments.
- Check for Updates:
- Check for updates for all installed packages.
- Check for updates based on requirements files.
- Update Manager:
- Interactively update packages.
- Categorize and colorize updates based on update type (prerelease, major, minor, patch, others).
- Filter updates by type and choose to update all or select packages.
- Install Packages:
- Select and install multiple packages with version conditions.
- Install packages from a requirements file.
- View a preview of script before installation.
- Manage Requirements:
- Manage requirements files and their associated packages.
- Select and Change Requirements File: Easily switch between different requirements files.
- Add, Remove, and Change Requirements: Modify requirements in a user-friendly interface.
- New Menu Item for Package and Requirement Management: Direct access to package and requirement management from the AI menu.
- New Card for Individual Toolkit: Open and manage individual pythons from a dedicated card on the tools page.
- Install LynxHub: Ensure that you have LynxHub installed on your system.
- Install Extension: Install the Python Toolkit Extension from the LynxHub extension page.
Contributions are welcome! If you'd like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Submit a pull request.
Note
The source code for this extension is available in the source
branch.
This project is licensed under the MIT License.