Name | isolate JSON |
Version |
0.16.0
JSON |
| download |
home_page | None |
Summary | Managed isolated environments for Python |
upload_time | 2025-01-14 15:05:40 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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](https://imgs.xkcd.com/comics/python_environment.png)
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"](https://en.wikipedia.org/wiki/Dependency_hell) 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](https://www.conventionalcommits.org/) for descriptions/messages.
Raw data
{
"_id": null,
"home_page": null,
"name": "isolate",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": "Features & Labels <hello@fal.ai>",
"download_url": "https://files.pythonhosted.org/packages/59/67/197c3e870c9a82b23c60760410b681d465bed4cbd1005ff5802c4a832fa9/isolate-0.16.0.tar.gz",
"platform": null,
"description": "# Isolate\n\nRun any Python function, with any dependencies, in any machine you want. Isolate offers a\npluggable end-to-end solution for building, managing, and using isolated environments (virtualenv,\nconda, remote, and more).\n\n\n## Motivation\n\n![XKCD 1987](https://imgs.xkcd.com/comics/python_environment.png)\n\nThe fact that nearly every piece of software uses some other libraries or some\nother programs is undeniable. Each of these come with their set of dependencies,\nand this chain moves forward. Once there are enough 'nodes' in the chain, then\nthe [\"dependency mess\"](https://en.wikipedia.org/wiki/Dependency_hell) starts\nto surface and our lives become much harder.\n\nPython tried to solve it by recommending the \"virtual environment\" concept. In\ntheory it was designed to isolate environments of different projects, so my project\nA can depend on `pandas==1.0.0` while B depends on `pandas==2.0.0` and whichever\nproject I choose to work with, I just activate its own environment.\n\nOverall this was a very nice solution that did work, and still continues to work\nfor this use case. But as with every other scoped fix, in time other problems started\nto appear that demand a much narrower scope (like defining module-level dependencies,\nor even function-level ones for cloud runtimes that allow seamless integration with the\nrest of your code running in a different machine).\n\nHowever, unlike \"virtual environment\" concept, each of the projects that tried to tackle\nthis problem lacked a universal interface which one can simply define a set of requirements\n(this might be dependencies, size of the machine that is needed to run it, or something completely\ndifferent) and can change it without any loss. Isolate is working towards a future where this\ntransititon is as seamless as the transition from your local environment to the remote\nenvironment.\n\n## Contributing\n\n### Installing in editable mode with dev dependencies\n\n```\npip install -e '.[dev]'\n```\n\n### Running tests\n\n```\npytest\n```\n\n### Pre-commit\n\n```\npre-commit install\n```\n\n### Commit format\n\nPlease follow [conventional commits specification](https://www.conventionalcommits.org/) for descriptions/messages.\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Managed isolated environments for Python",
"version": "0.16.0",
"project_urls": {
"Issues": "https://github.com/fal-ai/isolate/issues",
"Source": "https://github.com/fal-ai/isolate"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "45152b256bbcb551f259f1d16e29853ba230032b8b89a96210387b812c95fc0c",
"md5": "94e2cd126adb7a65c203a3db34731fe0",
"sha256": "8ba9ce4da84acb2c751c7f58d11a3fcab083d7a0a11de43405876f613fd05e52"
},
"downloads": -1,
"filename": "isolate-0.16.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "94e2cd126adb7a65c203a3db34731fe0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 70995,
"upload_time": "2025-01-14T15:05:38",
"upload_time_iso_8601": "2025-01-14T15:05:38.635046Z",
"url": "https://files.pythonhosted.org/packages/45/15/2b256bbcb551f259f1d16e29853ba230032b8b89a96210387b812c95fc0c/isolate-0.16.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5967197c3e870c9a82b23c60760410b681d465bed4cbd1005ff5802c4a832fa9",
"md5": "c843563a86e8c20c51426406f15f1deb",
"sha256": "bb0176b1b9caec3f1c700a1f4a5ecde3acb2378e5f1f52e3007f2ebb62d4269e"
},
"downloads": -1,
"filename": "isolate-0.16.0.tar.gz",
"has_sig": false,
"md5_digest": "c843563a86e8c20c51426406f15f1deb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 70349,
"upload_time": "2025-01-14T15:05:40",
"upload_time_iso_8601": "2025-01-14T15:05:40.313745Z",
"url": "https://files.pythonhosted.org/packages/59/67/197c3e870c9a82b23c60760410b681d465bed4cbd1005ff5802c4a832fa9/isolate-0.16.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-14 15:05:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "fal-ai",
"github_project": "isolate",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "isolate"
}