Skip to main content

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

XKCD 1987

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

isolate-0.26.1.tar.gz (95.8 kB view details)

Uploaded Source

Built Distribution

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

isolate-0.26.1-py3-none-any.whl (81.5 kB view details)

Uploaded Python 3

File details

Details for the file isolate-0.26.1.tar.gz.

File metadata

  • Download URL: isolate-0.26.1.tar.gz
  • Upload date:
  • Size: 95.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for isolate-0.26.1.tar.gz
Algorithm Hash digest
SHA256 18a96b384dff60d7861b2247a4e5d665d3bd0f271af4de7f4382c286e1c1ba82
MD5 bc86c995a64bf5ea88849a5c21e25bec
BLAKE2b-256 504b885831376e58a1a57c2b0cd29b7f8afdb9508423375a8ee1a7a25ac539b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for isolate-0.26.1.tar.gz:

Publisher: release.yml on fal-ai/isolate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file isolate-0.26.1-py3-none-any.whl.

File metadata

  • Download URL: isolate-0.26.1-py3-none-any.whl
  • Upload date:
  • Size: 81.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for isolate-0.26.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ff1251feb8d0be132729c5cd100c039313e3a1f4840d5cf562ab029c62a5e0fc
MD5 917a34746adb23615d09fc027286d30a
BLAKE2b-256 ade9e26ec90a08fde2adfe9d3b728a1ae369de292afc318bc5c4f3a24f5d5b57

See more details on using hashes here.

Provenance

The following attestation bundles were made for isolate-0.26.1-py3-none-any.whl:

Publisher: release.yml on fal-ai/isolate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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