prime-tunnel
Prime Intellect Tunnel SDK - Expose local services via secure tunnels
Decision gist · record as of 2026-08-14
Yes, if you need to expose local services publicly and trust Prime's infrastructure. The package is actively maintained, has low install friction, carries no security vulnerabilities, and uses a permissive MIT license. The three runtime dependencies are mature. Start with the async context manager example; verify that Prime's tunnel endpoints and latency meet your use case before committing to production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; async/await syntax required for context manager usage.
- Low install friction with a pure Python wheel.
- Maintenance is active with recent commits and a modest but growing user base (286 stars, 453882 monthly downloads).
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing use in commercial and proprietary projects with minimal restrictions—only requiring attribution and inclusion of the license text.
last release 2026-06-17 (58 days) · last repo commit 2026-08-14 · 286 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 453,882 downloads/mo, #6,572 on PyPI
Alternatives
Verify before relying
pip install prime-tunnel
from prime_tunnel import Tunnel
async with Tunnel(local_port=8765) as tunnel:
print(f"Tunnel URL: {tunnel.url}")- Whether tunnels persist across client disconnections or require continuous connection.
- Authentication and authorization model for accessing exposed services.
- Rate limiting, bandwidth, or concurrent tunnel limits on Prime infrastructure.
- Geographic region or latency characteristics of tunnel endpoints.
What it is and what it does
Prime Tunnel SDK is a Python client library for creating secure reverse tunnels that expose local services to the internet via Prime infrastructure. It abstracts away the complexity of tunnel management, offering both a programmatic async API and a command-line interface. The package wraps httpx for HTTP communication, pydantic for configuration validation, and tenacity for resilient retry logic.
Typical usage involves instantiating a Tunnel object with a local port number, entering an async context manager, and receiving a public URL that routes traffic back to the local service. The CLI provides complementary commands for starting tunnels, listing active ones, and checking status. It targets developers who need to expose development servers, webhooks, or internal services for testing, collaboration, or integration without managing their own infrastructure.
Use it for
- Expose a local development server to external webhook consumers during testing.
- Share a running application with remote team members without deploying to production.
- Provide temporary public access to a local database or API for third-party integrations.
- Test ngrok-like functionality within a Python application using the async SDK.
- Run CLI commands to manage multiple concurrent tunnels for different local services.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to expose local services publicly and trust Prime's infrastructure.
The package is actively maintained, has low install friction, carries no security vulnerabilities, and uses a permissive MIT license. The three runtime dependencies are mature. Start with the async context manager example; verify that Prime's tunnel endpoints and latency meet your use case before committing to production.
Install
prime-tunnel on PyPI
Before you install
Low install friction with a pure Python wheel. Maintenance is active with recent commits and a modest but growing user base (286 stars, 453882 monthly downloads). Three lightweight runtime dependencies (httpx, pydantic, tenacity) are well-established libraries.
Requires Python 3.10 or later; async/await syntax required for context manager usage.
License in practice
MIT license is permissive, allowing use in commercial and proprietary projects with minimal restrictions—only requiring attribution and inclusion of the license text.
Quickstart
pip install prime-tunnel
from prime_tunnel import Tunnel
async with Tunnel(local_port=8765) as tunnel:
print(f"Tunnel URL: {tunnel.url}")
Verify before relying
- Whether tunnels persist across client disconnections or require continuous connection.
- Authentication and authorization model for accessing exposed services.
- Rate limiting, bandwidth, or concurrent tunnel limits on Prime infrastructure.
- Geographic region or latency characteristics of tunnel endpoints.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packageshttpxpydantictenacity |
| Maintenance | Actively maintained 58 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 453,882 / month, #6,572 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Topic :: Software Development :: Libraries :: Python Modules |
Evidence: prime_tunnel-0.1.10-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “reverse proxy sdk”
- prime-tunnelExposes local services via secure tunnels on Prime infrastructure,…
- proxy.pyA lightweight, pluggable HTTP proxy server framework that handles…
- ngrokExposes ngrok's secure gateway service to Python applications,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pyngrok · flask-cloudflared · ngrok · sshtunnel · prime-sandboxes · prime · pproxy · portforward · sshuttle · srptools