Skip to main content

Fully isolated IPython kernels based on uv

Project description

uvk — Fully isolated IPython kernels through the magic of uv

This project uses uv's ultrafast package deployment capabilities and on-the-fly isolated environment composition to run the IPython kernel in a Jupyter instance.

  • Notebooks can grab their dependencies and leave neither trouble nor cruft behind
  • No need for a whole pyproject.toml just to run somebody's notebook once
  • Elegantly integrate Jupyter notebooks into uv-driven project development workflows
Full documentation Tutorial IPython extension CLI reference

Quickstart-and-dirty

I have uv 😎 I only have Python and Pip
uvx uvk --user python -m venv .uvk \
&& . ./.uvk/bin/activate \
&& pip install uvk \
&& uvk --user

If your Jupyter instance is already running, wait up to a minute for it to poll for kernel specs and discover your new uvk. Otherwise, start Jupyter Lab or Jupyter Notebook.

Check out the tutorial on how to easily put together the metadata that will meet your needs.

License

uvk is distributed as open source software under the MIT license.

Help and support

Full documentation is on ReadTheDocs. If you can't find any answer to your question after some reasonable foraging, please open an issue and I will provide as much guidance as I can. Please read and abide by the code of conduct guiding acceptable behaviour in issue and PR conversations.

Contributing

Contributions are more than welcome. If you have ideas for features or projects please get in touch. Whether code, example notebooks, example scripts, documentation — all are equally valuable and appreciated, so please do not presume you cannot provide something useful to this project. To contribute please fork the project, make your changes and submit a pull request. We will do our best to work through any issues with you and get your contribution merged in.

The uvk project is a proud participant to the Jupyter software ecosystem. If this project provides value towards your own work, please consider contributing to the Jupyter Foundation.

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

uvk-0.3.tar.gz (57.8 kB view details)

Uploaded Source

Built Distribution

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

uvk-0.3-py3-none-any.whl (59.5 kB view details)

Uploaded Python 3

File details

Details for the file uvk-0.3.tar.gz.

File metadata

  • Download URL: uvk-0.3.tar.gz
  • Upload date:
  • Size: 57.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for uvk-0.3.tar.gz
Algorithm Hash digest
SHA256 fb906c11f66c5367614144c89d23318f300bf55cffc57e1a1289cf095bc789d0
MD5 271c6c9a5f44522b13054f9b09de0d81
BLAKE2b-256 d096d8bb52319d73c3ac5cf4adc84a69cd8588995de70a8fbe0f8e36e7db8437

See more details on using hashes here.

File details

Details for the file uvk-0.3-py3-none-any.whl.

File metadata

  • Download URL: uvk-0.3-py3-none-any.whl
  • Upload date:
  • Size: 59.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for uvk-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3eb48f609fadd57cfb07057ff7b82e2cafb549f4b96995bd521e2da94e7168c7
MD5 909d693afb7bc135473ccd6b0be110ee
BLAKE2b-256 82b63b36434b09ce962ea96d78e1cef65284470c5c27028c060786f66f71e148

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