Prime Tunnel SDK
Expose local services via secure tunnels on Prime infrastructure.
Installation
uv pip install prime-tunnel
Or with pip:
pip install prime-tunnel
Quick Start
from prime_tunnel import Tunnel
# Create and start a tunnel
async with Tunnel(local_port=8765) as tunnel:
print(f"Tunnel URL: {tunnel.url}")
# Your local service on port 8765 is now accessible at tunnel.url
CLI Usage
# Start a tunnel
prime tunnel start --port 8765
# List active tunnels
prime tunnel list
# Get tunnel status
prime tunnel status <tunnel_id>
Documentation
Full API reference: https://github.com/PrimeIntellect-ai/prime/tree/main/packages/prime-tunnel
Related Packages
prime- Full CLI + SDK with pods, inference, and more (includes this package)
License
MIT License - see LICENSE file for details
Metadata
Release files for prime-tunnel 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| prime_tunnel-0.1.12.tar.gz | 16.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| prime_tunnel-0.1.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.9 kB
Release files / prime_tunnel-0.1.12.tar.gz
| Download URL | prime_tunnel-0.1.12.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
157c77cd15a16d091dba4b2df228a6b7e997ed1a3c5bc5f2c51ee989a31602e1
|
|
BLAKE2b-256 checksum How to use checksums |
9e8bb819661ea7dcfff21e4e000d7dfa799bc8107e2659cd5e0d961ecea08235
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.
Transparency logRelease files / prime_tunnel-0.1.12-py3-none-any.whl
| Download URL | prime_tunnel-0.1.12-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
441d0a2f29c7e78a9337ee336c828fcc5ce1515c8cd12014b7d6c0b9728c355b
|
|
BLAKE2b-256 checksum How to use checksums |
cb6ab368c2cececc589bb8b13bf3c9cc819b4d29fc962d0ea9ffde005b873222
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.
Transparency log