Skip to main content

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.5.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

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

prime_tunnel-0.1.5-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file prime_tunnel-0.1.5.tar.gz.

File metadata

  • Download URL: prime_tunnel-0.1.5.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for prime_tunnel-0.1.5.tar.gz
Algorithm Hash digest
SHA256 eec296f92abbd761edcb779db7052bf9ce9c3469641f8f17645b7ed5c478257e
MD5 7e6f8a0f9fc60f6e6bc68be252a3da72
BLAKE2b-256 2fd217236f43b855a4261252d317ef230beb0571268427418c8d471d3eba195c

See more details on using hashes here.

File details

Details for the file prime_tunnel-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: prime_tunnel-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for prime_tunnel-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fc24bf60d8023f53850be9602dc7d0e1be3e091a019a06c65d32a6b3d61754af
MD5 9adf84fcb6043d843895bfe2745a8e39
BLAKE2b-256 66d226c801e0ee8ed867875a704c1fa238581f505bbd96f618c894c8dca991fc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page