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.2.tar.gz (11.5 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.2-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for prime_tunnel-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e15b67ffb6fbb44e13e764629e178dafb2415c7c23cbd56d63638ad8c530e163
MD5 388cf1b0f869dfe5ccb80eafb9f0187c
BLAKE2b-256 180e19e74e9962479bea2ab4752b327d448bc0b122ef3043203eb45e5935550b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for prime_tunnel-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2a0e5631d12a3b615a5ba6817cf9755a762cf22a9b6c3ef9d9125a76c7652793
MD5 e73f1aae9a5fe9075cacf6b38df5fe8a
BLAKE2b-256 d8f83561a75acddd7c13bf905e435d870bbf70a109b52534ca253195aa0db353

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