A-tunnel is a tool to expose localhost to the public internet using Cloudflare Quick Tunnels
Project description
A-tunnel
A minimal Python package to expose localhost to the public internet using Cloudflare Quick Tunnels.
No Cloudflare account required generates a temporary *.trycloudflare.com URL.
Installation
# Using pip
pip install atunnel
# Or using uv
uv add atunnel
Usage
CLI
# Expose local port 8080
atunnel --port 8080
# With uv
uv run atunnel --port 8080
The public URL is printed to stdout. Press Ctrl+C to stop.
Python API
from atunnel.tunnel import Tunnel
with Tunnel(port=8080) as t:
print(f"Public URL: {t.public_url}")
input("Press Enter to stop...")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 atunnel-1.0.0.tar.gz.
File metadata
- Download URL: atunnel-1.0.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49298a1d3bce5b493d8149f422baff535e7ae953e98ce11379ea1b72d2bcc7ef
|
|
| MD5 |
0bffd48ed3089d2aff901d1c9acbea22
|
|
| BLAKE2b-256 |
eaa9a08492b2ba9f854a4dfebdba37b4b05bc58b2f8893e3f938791b19e2187c
|
File details
Details for the file atunnel-1.0.0-py3-none-any.whl.
File metadata
- Download URL: atunnel-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56d2001c5268272ec75fa4a4463a5ca0381c311a4b43bd88bf1710ced3e2aaac
|
|
| MD5 |
a0050ea7263062c58d72c2a1aae57ae2
|
|
| BLAKE2b-256 |
c2c5d7188d0d5744ca36ddec0ab475b5f1201f7bea7951f533be690fd34d1d19
|