Skip to main content

pixi_rocker

Continuous Integration Status

Ci Codecov GitHub issues GitHub pull-requests merged GitHub release License Python Pixi Badge

Intro

This is a rocker extension for adding pixi to an existing docker image. Look at the rocker GitHub page for more context of how rocker and rocker extensions work, but in a nutshell rocker lets you add custom capabilities to existing docker containers. Rocker extensions

Pixi is a cross-platform package manager based on the conda ecosystem. It provides a simple and performant way of reproducing a development environment and running user defined tasks and workflows. It is more lightweight than docker, but does not provide the same level of isolation or generality.

But Why??

The most common question I get is is why would you need to use pixi in docker as pixi is already taking care of your environment for you. Unfortunately there are some packages/configuration that pixi is not able to handle yet and so one way of handling that is managing those dependencies/configuration in docker and leave the the rest up to pixi.

Another benefit of pixi in docker is that you are more isolated from your host machine and have more flexibility to make changes without worrying about conflicting with other projects.

If you use vscode to attach to your development container it makes it easier to set up specific extensions for each project that don't need to be installed globally.

Installation

pip install pixi-rocker

Usage

To install pixi in an image use the --pixi flag

#add pixi to the ubuntu:22.04 image
rocker --pixi ubuntu:22.04

# add pixi to the nvidia/cuda image
rocker --pixi nvidia/cuda

Metadata

Release files for pixi-rocker 0.0.9

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

Source distribution (sdist)

Source distribution for pixi-rocker 0.0.9
File Size Uploaded
pixi_rocker-0.0.9.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pixi-rocker 0.0.9
File Interpreter ABI Platform
pixi_rocker-0.0.9-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 10.8 kB

Release files / pixi_rocker-0.0.9.tar.gz

Download URL pixi_rocker-0.0.9.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c9c405f9bec6e5139207a7973905b8e92045f89985eb4ccf987c25a48f4a2057
BLAKE2b-256 checksum
How to use checksums
982ed68f56cc239c23398ae2e3fe800cdaf3299d61572d265f6198883dec9555
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Release files / pixi_rocker-0.0.9-py2.py3-none-any.whl

Download URL pixi_rocker-0.0.9-py2.py3-none-any.whl
Size 4.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d838dde7b31eb776525e949004eaedfcacb7472193584c36ff14c9a4f27fdd7e
BLAKE2b-256 checksum
How to use checksums
4a81c5dba72dfd5ec71b403b81ec6dc99df457826e7feee9e0d81347e8b25c56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Release history Release notifications | RSS feed

This release

0.0.9 This release

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

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