Skip to main content

A simple package for easily creating Cloudflare or Localtunnel tunnels.

Project description

Tunnelify

Tunnelify is a Python library to easily create and manage Cloudflare or Localtunnel tunnels.

Example

from tunnelify import tunnel

# For Cloudflare
url, proc = tunnel(8000, "cloudflare")
print(f"Cloudflare URL: {url}")

# For Localtunnel (without custom subdomain)
url, _ = tunnel(8000, "localtunnel")
print(f"Localtunnel URL: {url}")

# For Localtunnel with custom subdomain
url, _ = tunnel(8000, "localtunnel", "customsub")
print(f"Custom Localtunnel URL: {url}")

Installation

Just: pip install tunnelify

Tunnelify requires Cloudflared package to work. If it doesn't exist on your system, Tunnelify will automatically install it.

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

tunnelify-0.3.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

tunnelify-0.3.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file tunnelify-0.3.0.tar.gz.

File metadata

  • Download URL: tunnelify-0.3.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for tunnelify-0.3.0.tar.gz
Algorithm Hash digest
SHA256 be3ae2623430d03eea102d3c2baef1804cebe3e30d745623b5482385b729bc0d
MD5 ad1f43980c582b2cd635d694dae83981
BLAKE2b-256 b6382db2ff469f4f4db0641cfe85eeebdbbdb18479276c9e82253abde695b0c4

See more details on using hashes here.

File details

Details for the file tunnelify-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: tunnelify-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for tunnelify-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98147094394473f912e70f0e779e49e360fba2a35a729fba49c1777d6afad5db
MD5 2a053eb450f9319315e7c99bde4e5f09
BLAKE2b-256 b6e573e8af68f27b5c03b433713e02f6c5df93b52a11ed40229c5ee5d8ffe498

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