Managed isolated environments for Python
Project description
Isolate
Run any Python function, with any dependencies, in any machine you want. Isolate offers a pluggable end-to-end solution for building, managing, and using isolated environments (virtualenv, conda, remote, and more).
Motivation
The fact that nearly every piece of software uses some other libraries or some other programs is undeniable. Each of these come with their set of dependencies, and this chain moves forward. Once there are enough 'nodes' in the chain, then the "dependency mess" starts to surface and our lives become much harder.
Python tried to solve it by recommending the "virtual environment" concept. In
theory it was designed to isolate environments of different projects, so my project
A can depend on pandas==1.0.0
while B depends on pandas==2.0.0
and whichever
project I choose to work with, I just activate its own environment.
Overall this was a very nice solution that did work, and still continues to work for this use case. But as with every other scoped fix, in time other problems started to appear that demand a much narrower scope (like defining module-level dependencies, or even function-level ones for cloud runtimes that allow seamless integration with the rest of your code running in a different machine).
However, unlike "virtual environment" concept, each of the projects that tried to tackle this problem lacked a universal interface which one can simply define a set of requirements (this might be dependencies, size of the machine that is needed to run it, or something completely different) and can change it without any loss. Isolate is working towards a future where this transititon is as seamless as the transition from your local environment to the remote environment.
Contributing
Installing in editable mode with dev dependencies
pip install -e '.[dev]'
Running tests
pytest
Pre-commit
pre-commit install
Commit format
Please follow conventional commits specification for descriptions/messages.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file isolate-0.13.9.tar.gz
.
File metadata
- Download URL: isolate-0.13.9.tar.gz
- Upload date:
- Size: 68.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2681d59ede33069a60f70d3962a023397ddaa5f8ca7e505cfc2ed142bf64b03 |
|
MD5 | 211f3486650cc57a5388f095bf510445 |
|
BLAKE2b-256 | 340aaa3bdca3bcf1ba5454b189179c335941fb807c3c7623cb96d7d5801bd3f2 |
File details
Details for the file isolate-0.13.9-py3-none-any.whl
.
File metadata
- Download URL: isolate-0.13.9-py3-none-any.whl
- Upload date:
- Size: 70.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2290f08777f52f40447a9de1b11f838cea9a98ac8f1f90a6d8f55cd3662149c |
|
MD5 | f83d391fe39c1ccb10e1d746ef0d89d3 |
|
BLAKE2b-256 | 9b15b0ee4b2eeffa01d93321b1bd781902bd4b036bbce8e89f3c421aa2a877a4 |