Run conflicting Python dependencies in one process — with vendored isolation.
Project description
Reyk
Run conflicting Python dependencies in one process — with vendored isolation.
Reyk lets you vendor Python dependencies into your project and isolate them by design, without changing how you write imports. We leverage Python's import system internals to achieve transparent dependency isolation.
Features
- Zero Configuration: Enable isolation with a single function call
- Dependency Isolation: Avoid conflicts by shipping libraries with your package
- Version Flexibility: Run multiple versions of the same library in one process
- Transparent Imports: Keep your public imports unchanged (
import requestsstill works) - Lightweight: Minimal overhead with a tiny import hook
Installation
You can install Reyk from PyPI:
uv add reyk
Enable isolation from your package's __init__.py:
from reyk.isolator import isolate_package
isolate_package()
Then, vendor your dependencies with Reyk's CLI:
uvx reyk-cli add requests==2.25.1
That's it! Inside your_package, import requests resolves to your_package.libs.requests. Outside your_package, import requests continues to resolve to the global installation.
Documentation
For detailed documentation, examples, and API reference, visit the documentation site at https://reyk.dev.
Limitations
- Multi-threaded applications are not supported.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reyk-0.0.1.tar.gz.
File metadata
- Download URL: reyk-0.0.1.tar.gz
- Upload date:
- Size: 124.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ef99aa5f428266fab2a41a3e6bf3b160dd0eb70ab07dc9d1b3e7e57135e1fcc
|
|
| MD5 |
6378df2f3f43b8929f8f18a391984ee3
|
|
| BLAKE2b-256 |
685c02c8501ebe0d357c8c970eeb8f2cb0898c6d283ae7b57cee1b7ca7fb2747
|
Provenance
The following attestation bundles were made for reyk-0.0.1.tar.gz:
Publisher:
ci.yml on eyalohn/reyk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reyk-0.0.1.tar.gz -
Subject digest:
1ef99aa5f428266fab2a41a3e6bf3b160dd0eb70ab07dc9d1b3e7e57135e1fcc - Sigstore transparency entry: 1674613219
- Sigstore integration time:
-
Permalink:
eyalohn/reyk@fe62f84de0c4df5db3ae60eb71bea673fd387c8b -
Branch / Tag:
refs/heads/master - Owner: https://github.com/eyalohn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@fe62f84de0c4df5db3ae60eb71bea673fd387c8b -
Trigger Event:
push
-
Statement type:
File details
Details for the file reyk-0.0.1-py3-none-any.whl.
File metadata
- Download URL: reyk-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34729e94b6eab6288532d64deff3b6ffe716a8f9e399b8ea81dc924cf141d0d0
|
|
| MD5 |
d5610657cede2021ed56ffe611e618d1
|
|
| BLAKE2b-256 |
7ffcd7e4b0ed972f38555ab3864e54064b7c33581fdf8fb176f0ae05d82e41da
|
Provenance
The following attestation bundles were made for reyk-0.0.1-py3-none-any.whl:
Publisher:
ci.yml on eyalohn/reyk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reyk-0.0.1-py3-none-any.whl -
Subject digest:
34729e94b6eab6288532d64deff3b6ffe716a8f9e399b8ea81dc924cf141d0d0 - Sigstore transparency entry: 1674613240
- Sigstore integration time:
-
Permalink:
eyalohn/reyk@fe62f84de0c4df5db3ae60eb71bea673fd387c8b -
Branch / Tag:
refs/heads/master - Owner: https://github.com/eyalohn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@fe62f84de0c4df5db3ae60eb71bea673fd387c8b -
Trigger Event:
push
-
Statement type: