Object proxies over TCP
Project description
Teleprox: simple python object proxies over TCP
No declarations required; just access remote objects as if they are local.
Requires
- python 3
- pyzmq
- msgpack
- numpy (optional; required only for SharedNDArray)
Examples
from teleprox import start_process
import time
# start a new process
proc = start_process()
# import os in the remote process
remote_os = proc.client._import('os')
# call os.getpid() in the remote process
pid = remote_os.getpid()
# or, call getpid asynchronously and wait for the result:
request = remote_os.getpid(_sync='async')
while not request.hasResult():
time.sleep(0.01)
pid = request.result()
# write to sys.stdout in the remote process, and ignore the return value
remote_sys = proc.client._import('sys')
remote_sys.stdout.write('hello', _sync='off')
proc.stop()
Teleprox was originally developed as pyacq.core.rpc by the French National Center for Scientific Research (CNRS).
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 teleprox-2.2.0.tar.gz.
File metadata
- Download URL: teleprox-2.2.0.tar.gz
- Upload date:
- Size: 81.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b768469eaefdbe907aed97c5b7d4ba1de521335a9da03cb76f106965e304a28
|
|
| MD5 |
6c0412011d6321ebb006a7b6073240de
|
|
| BLAKE2b-256 |
2a2d001b658ba225fc772e5c4d643fc5f6f2f830a352165ae29fe813d3c9840a
|
Provenance
The following attestation bundles were made for teleprox-2.2.0.tar.gz:
Publisher:
deploy.yml on campagnola/teleprox
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
teleprox-2.2.0.tar.gz -
Subject digest:
9b768469eaefdbe907aed97c5b7d4ba1de521335a9da03cb76f106965e304a28 - Sigstore transparency entry: 1069295528
- Sigstore integration time:
-
Permalink:
campagnola/teleprox@e6bdd9984f1fb7970aa5d9b9ff1e067be5dd33d0 -
Branch / Tag:
refs/tags/v2.2.0 - Owner: https://github.com/campagnola
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@e6bdd9984f1fb7970aa5d9b9ff1e067be5dd33d0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file teleprox-2.2.0-py3-none-any.whl.
File metadata
- Download URL: teleprox-2.2.0-py3-none-any.whl
- Upload date:
- Size: 93.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cf0a1a042fd3270808ddef078e7655bc2cf7505f327d49c69799f70c3d01f29
|
|
| MD5 |
a0569e27d83dbf12796413522e7169da
|
|
| BLAKE2b-256 |
45195e1b4f9d6d501c8e4635022621a3eb83d79e8ef72f59a2b06075048ef087
|
Provenance
The following attestation bundles were made for teleprox-2.2.0-py3-none-any.whl:
Publisher:
deploy.yml on campagnola/teleprox
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
teleprox-2.2.0-py3-none-any.whl -
Subject digest:
4cf0a1a042fd3270808ddef078e7655bc2cf7505f327d49c69799f70c3d01f29 - Sigstore transparency entry: 1069295532
- Sigstore integration time:
-
Permalink:
campagnola/teleprox@e6bdd9984f1fb7970aa5d9b9ff1e067be5dd33d0 -
Branch / Tag:
refs/tags/v2.2.0 - Owner: https://github.com/campagnola
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@e6bdd9984f1fb7970aa5d9b9ff1e067be5dd33d0 -
Trigger Event:
push
-
Statement type: