Skip to main content

JupyterLab Virtual Environment Manager

Project description

banner

Juno: JupyterLab Virtual Environment Manager

Juno is a desktop application designed to simplify the management of Python virtual environments for JupyterLab. This tool helps you create, manage, and remove virtual environments that are registered as Jupyter kernels, making it easier to work with multiple Python environments within JupyterLab.

Features

  • Create Virtual Environments: Easily create new Python virtual environments and automatically register them as Jupyter kernels.

  • Manage Existing Environments: View details about all environments created with Juno.

  • Install Packages: Add new packages to existing environments directly from the interface.

  • Export Requirements: Generate and save requirements.txt files from your environments.

  • Remove Environments: Unregister Jupyter kernels and remove virtual environments when no longer needed.

  • Customizable Storage: Configure the directory where virtual environments are stored.

Prerequisites

  • Python 3.7 or later
  • PyQt5
  • Jupyter (for registering kernels)
  • ipykernel

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/juno.git
    cd juno
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. (Optional) Set the Virtual Environments Directory: By default, Juno stores virtual environments in ~/.jupyter_venvs. To change this, set the JUNO_VENV_DIR environment variable:

    export JUNO_VENV_DIR=/path/to/your/venv_directory
    

Usage

  1. Run the Application:

    From the command line, run:

    python main.py
    
  2. Using the Interface:

    • Create a New Environment: Enter a name for your environment, optionally specify additional packages, and click "Create Environment".

    • View & Remove Environments: Select an environment from the list to view its details, then use the "Remove" button to delete it if needed.

    • Install Packages: Choose an environment, enter package names separated by commas, and click "Install Packages".

    • Export Requirements: Generate a requirements.txt file from any environment, which can be saved to your filesystem.

    • Settings: Change the base directory where environments are stored.

  3. Use in JupyterLab: After creating environments with Juno, they will appear in JupyterLab's kernel selection menu when starting a new notebook or changing kernels.

Important Notes

  • Kernel Registration: Juno handles the registration of environments with JupyterLab by running the ipykernel install command automatically.

  • Permissions: Ensure your user has the necessary permissions to create directories, execute Python commands, and write to the kernelspec directory used by Jupyter.

  • Python Version: Environments are created using the Python version that is running Juno.

Troubleshooting

  • Missing Jupyter: Make sure Jupyter is installed in your system Python environment.
  • Permission Issues: Ensure you have write permissions to the environments directory.
  • Kernel Not Showing: Restart JupyterLab after creating a new environment if it doesn't appear immediately.

License

This project is licensed under the MIT License.

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

juno_manager-0.1.0.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

juno_manager-0.1.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file juno_manager-0.1.0.tar.gz.

File metadata

  • Download URL: juno_manager-0.1.0.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for juno_manager-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4b13985efab3449aa949b0147962c2b1e0143fbd5e953e678ea2f8005968385c
MD5 af0f9c53784c8a47ac8bbd2404575192
BLAKE2b-256 140fbf23fb2c55e5a91fda771b2c074b5bd060ecdbea2362b2e44f53f4b927b0

See more details on using hashes here.

File details

Details for the file juno_manager-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: juno_manager-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for juno_manager-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c9ac84fe749808d4f6cc727b499d5409c1a88e879d0c4037be1cf4ee5fd58c09
MD5 859ad71f525237484885315a3b75cfb5
BLAKE2b-256 cc7af57e7fb67f9f8433b0127fbd8ad5cefbbc43acb4e52bfa9787b81e402150

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page