A-tunnel
A minimal Python package to expose localhost to the public internet using Cloudflare Quick Tunnels.
- Zero config.
- No more login
- Fast startup
😂 Why A-tunnel Exists
We've all seen that:
https://github.com/user-attachments/assets/6760cfc2-c917-40bf-aff6-9563e0dcfe9d
Before: "Bro, check out my website! http://localhost:3000" 😅
After: "Bro, check out my website! https://your-site.trycloudflare.com" ✨
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...")
Security Notice
A-tunnel exposes your local development server to the public internet!
Please keep the following in mind:
- Don't expose sensitive data: Never use A-tunnel with development servers that have access to production databases, API keys, or sensitive information
- Use authentication: Ensure your development application has proper authentication enabled
- Not for production: This tool is designed for development and testing purposes only
Metadata
Release files for atunnel 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| atunnel-1.0.5.tar.gz | 10.2 kB | Without provenance | Details for atunnel-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| atunnel-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for atunnel-1.0.5-py3-none-any.whl |
Total release size: 20.6 kB
Release files / atunnel-1.0.5.tar.gz
| Download URL | atunnel-1.0.5.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e0a1c083ff862d0d8580fb4537b96979f9f0f80c3d4a095657ea817fbdc926f
|
|
BLAKE2b-256 checksum How to use checksums |
3eb200db3f495af59622315a1b002f3f4d506ce36590ce570ee4d02b0232fb81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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}
|
Release files / atunnel-1.0.5-py3-none-any.whl
| Download URL | atunnel-1.0.5-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aefd06586e6bda31f66ec336bee474d97bb18451a14c7a8b7d505ae06fdc7dcd
|
|
BLAKE2b-256 checksum How to use checksums |
03fc2f736b4aaaac7a946686e31d2bd20b17fd48bddbe15395744c9f906abd19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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}
|
Security for atunnel 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.