Run plugins and frameworks with their own dependencies — safely, inside one Python process.
import pydantic
# → resolves vendor/pydantic [2.13.3]
print(pydantic.__version__)
# → '2.13.3' ✓ vendoredimport pydantic
# → resolves site-packages/pydantic [1.10.26]
print(pydantic.__version__)
# → '1.10.26' ✓ globalYour application loads third-party plugins in the process.
Each plugin is developed independently, with its own dependencies and versions. Any dependency conflicts between plugins can cause crashes and unexpected behavior.
Without isolation, one plugin’s dependencies can break another — or the host itself.
Your framework executes user-provided Python code.
Framework internals need strict dependency versions, but user code may require different versions. Any dependency mismatches break the entire application.
Mixing both leads to dependency conflicts and runtime errors.
Everything you need for dependency isolation. Simple and powerful.
Dependencies are isolated only within your package, not across the entire Python process.
Built directly on Python’s import system. No source rewriting, no import renaming.
Run different versions of the same dependency side by side.
PyIsolate is open source and ready for production. Start isolating your dependencies in minutes.