Prime Intellect Tunnel SDK - Expose local services via secure tunnels
Project description
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-cli/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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
prime_tunnel-0.1.4.tar.gz
(11.7 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 prime_tunnel-0.1.4.tar.gz.
File metadata
- Download URL: prime_tunnel-0.1.4.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caf092ae01be921a17824d14aca3b526f8b5b704f9996dbc6cdcefd40619ca8a
|
|
| MD5 |
41828b3cbfd0c4ec7dad672f2253f6b4
|
|
| BLAKE2b-256 |
50d4be7356eab434edd623bc000b5c8d457e98b6feb3eed513b88e7865522178
|
File details
Details for the file prime_tunnel-0.1.4-py3-none-any.whl.
File metadata
- Download URL: prime_tunnel-0.1.4-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e49715fdcdeed2e761c9b96fc7a94f07e6733ba9bf8e4022f8c46f496998a54
|
|
| MD5 |
d2860b6e26a61879515944724db7fd94
|
|
| BLAKE2b-256 |
42c38def582c17f0f64f31efe11f7a0299139af3120c19fb2937a21c63de48d0
|