Skip to main content

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.

Metadata

Release files for juno-manager 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for juno-manager 0.1.0
File Size Uploaded
juno_manager-0.1.0.tar.gz 20.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for juno-manager 0.1.0
File Interpreter ABI Platform
juno_manager-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.3 kB

Release files / juno_manager-0.1.0.tar.gz

Download URL juno_manager-0.1.0.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4b13985efab3449aa949b0147962c2b1e0143fbd5e953e678ea2f8005968385c
BLAKE2b-256 checksum
How to use checksums
140fbf23fb2c55e5a91fda771b2c074b5bd060ecdbea2362b2e44f53f4b927b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release files / juno_manager-0.1.0-py3-none-any.whl

Download URL juno_manager-0.1.0-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c9ac84fe749808d4f6cc727b499d5409c1a88e879d0c4037be1cf4ee5fd58c09
BLAKE2b-256 checksum
How to use checksums
cc7af57e7fb67f9f8433b0127fbd8ad5cefbbc43acb4e52bfa9787b81e402150
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page