Skip to main content

Teleprox: simple python object proxies over TCP

Tests PyPI version

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()

Local CI

To run GitHub Actions workflows locally with act, first build the runner image once:

docker build -t teleprox-act-runner -f .github/act-ubuntu.dockerfile .github/

Then run act as normal; .actrc maps ubuntu-latest to this image.

Acknowledgements

Teleprox was originally developed as pyacq.core.rpc by the French National Center for Scientific Research (CNRS).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

teleprox-2.3.1.tar.gz (86.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

teleprox-2.3.1-py3-none-any.whl (98.9 kB view details)

Uploaded Python 3

File details

Details for the file teleprox-2.3.1.tar.gz.

File metadata

  • Download URL: teleprox-2.3.1.tar.gz
  • Upload date:
  • Size: 86.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for teleprox-2.3.1.tar.gz
Algorithm Hash digest
SHA256 761d156a8016110019e40bbe4a1560e065680cdce5e8d7569ee2bea752dbb900
MD5 da4519b4d81407a4ec6580e1bc7e74a8
BLAKE2b-256 d03695a472f2b1e777d89d1c0981f5cdf80110a0b95919cc7e6a718e1440f654

See more details on using hashes here.

Provenance

The following attestation bundles were made for teleprox-2.3.1.tar.gz:

Publisher: deploy.yml on campagnola/teleprox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file teleprox-2.3.1-py3-none-any.whl.

File metadata

  • Download URL: teleprox-2.3.1-py3-none-any.whl
  • Upload date:
  • Size: 98.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for teleprox-2.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 32edd794b3688d990ff1e72f9afa86445a15d2f2a5342a3bee5139100f9d9207
MD5 fc37c8936152efbe3ae83cab046a24c4
BLAKE2b-256 ba1cf033eff69a8537910e3e49853cfe72677bf6018c8ab760aa992e91f6f505

See more details on using hashes here.

Provenance

The following attestation bundles were made for teleprox-2.3.1-py3-none-any.whl:

Publisher: deploy.yml on campagnola/teleprox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2.3.1 This release

2 files

2.3.0

2 files

2.2.2

2 files

2.2.1

2 files

2.2.0

2 files

2.1.3

2 files

2.1.2

2 files

2.1.1

2 files

2.1.0

2 files

2.0.0

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

1 file

1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page