import proxying for rpyc
Project description
rpyc import bridge
import modules over rpyc.
this is a terrible hack and nobody should use it.
example
bridge = RPyCImportBridge(rpyc_connection)
bridge.register_remote_module('numpy')
bridge.register_remote_module('mymodule')
bridge.install_import_hooks()
# imports now work naturally
from numpy import array
from mymodule.things import Function
testing
uv run python ./test/server/test_server.py
uv run python ./test/client/test_suite.py
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
rpyc_import_bridge-0.1.1.tar.gz
(26.1 kB
view details)
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 rpyc_import_bridge-0.1.1.tar.gz.
File metadata
- Download URL: rpyc_import_bridge-0.1.1.tar.gz
- Upload date:
- Size: 26.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.13.5 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd77270f5ac62051f84de5b1bc2eed99731ef11031734cbe5f7bd04e96696019
|
|
| MD5 |
1fa2c9cdb9653f636e6ffee4bae15f8b
|
|
| BLAKE2b-256 |
f9b12285f28fda3a12cdd12481e329ec75490e35614f1bee79e936747c172055
|
File details
Details for the file rpyc_import_bridge-0.1.1-py3-none-any.whl.
File metadata
- Download URL: rpyc_import_bridge-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.13.5 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
308a5ed826868749698f2283bdf7d28a8f2b4a446a39179aa7f6f8674a8149f1
|
|
| MD5 |
a686771c3a19d375c83f4c2bbfe95d0c
|
|
| BLAKE2b-256 |
4bca4a0f9b42c837a79f8f6b2023c51e6288aa95ed80cfa2b9f2beb246b12a05
|