Skip to main content

A placeholder package for ReTunnel services

Project description

ReTunnel Python Client

PyPI Version License

Placeholder package for ReTunnel - Securely expose local servers to the internet

ReTunnel is a free platform that allows developers to securely expose local servers to the internet through powerful tunneling capabilities. This Python package serves as a placeholder for the upcoming official ReTunnel client.

Features (Placeholder)

This is currently a placeholder package. The full ReTunnel client will include:

  • Secure tunnel creation and management
  • Multiple protocol support (HTTP, HTTPS, TCP)
  • Custom domain configuration
  • Authentication and API key management
  • Automatic reconnection and failover
  • Webhook forwarding
  • Request inspection and replay

For now, this package provides a simple hello-world implementation to reserve the package name on PyPI.

Installation

You can install retunnel from PyPI using pip:

pip install retunnel

Usage

Here's a simple example demonstrating the placeholder functionality:

from retunnel import ReTunnelClient, hello

# Simple hello message
print(hello())

# Create a client instance
client = ReTunnelClient()

# Connect to the service (placeholder)
if client.connect():
    print("Connected to ReTunnel service")
    
    # Create a tunnel (placeholder)
    tunnel_url = client.create_tunnel(port=8080)
    print(f"Tunnel created: {tunnel_url}")
    
    # Close the connection
    client.close()

# Or use context manager
with ReTunnelClient(api_key="your-api-key") as client:
    tunnel_url = client.create_tunnel(port=3000)
    print(f"Tunnel URL: {tunnel_url}")

Running Tests

To run the unit tests, install pytest and run:

pip install pytest

To run the tests:

pytest tests/

Documentation

Full documentation for ReTunnel is available at https://retunnel.com

Contributing

This is a placeholder package. The actual ReTunnel client development is happening at the main ReTunnel repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Links


Note: This is a placeholder package. The full-featured ReTunnel client is under development.

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

retunnel-0.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

retunnel-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file retunnel-0.1.0.tar.gz.

File metadata

  • Download URL: retunnel-0.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for retunnel-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f316a10fa8cd399d70c072df1d78bbf671a720bc0ac27d5648947263a05fb07f
MD5 a44450b713b24b140ed6a84382564470
BLAKE2b-256 bf781609c4959be73d894f6aadc6964de44c043d9e93dbc7f895a8a7bf17100c

See more details on using hashes here.

File details

Details for the file retunnel-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: retunnel-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for retunnel-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 281ff1090ec8160169a8ccf50e515881007120febf8c42a37f2023ebfefab2fd
MD5 c8ec36ad32f076742ddf58eda4bbcff1
BLAKE2b-256 1fad8ab59ce93470dc5465485625eba114642c445f2d756410e1075d3fbd8ad1

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