semvec/pypi-packages huggingface dataset:
cloudflarify 1.0.0
A Python wrapper to run Cloudflare tunnels programmatically
Requires Python: >=3.7

# Cloudflarify

A Python package to easily **start and manage Cloudflare Tunnels** for exposing local services securely.

## Features

✅ **Auto-downloads & updates** the `cloudflared` binary  
✅ **Supports Windows, Linux, and macOS**  
✅ **Works with Cloudflare account tunnels or TryCloudflare**  
✅ **Asynchronous & efficient (`aiohttp` based)**  
✅ **Automatic exponential backoff for stable connections**  

## Installation

Install via PyPI:

```bash
pip install cloudflarify
```

## Usage

### Basic Usage (TryCloudflare)

```python
import asyncio
from cloudflarify import start_tunnel

async def main():
    tunnel_url = await start_tunnel(app_port=5000)
    print(f"Tunnel is live at: {tunnel_url}")

asyncio.run(main())
```

### With Cloudflare Account Tunnel

```python
asyncio.run(start_tunnel(app_port=5000, tunnel_key="YOUR_TUNNEL_KEY"))
```

### Using a Config File

```python
asyncio.run(start_tunnel(config_file="path/to/config.yml"))
```

### Running a Flask App with Cloudflare Tunnel

```python
from flask import Flask
import asyncio
from cloudflarify import start_tunnel

port = 5000
app = Flask(__name__)

@app.route("/")
def home():
    return "Hello, Cloudflare Tunnel!"

if __name__ == "__main__":
    asyncio.run(start_tunnel(app_port=port))  # Start tunnel
    app.run(port=port)  # Start Flask app
```

## Requirements

- Python 3.7+
- `aiohttp`, `tqdm`

## Acknowledgement

This project was inspired by [flask-cloudflared](https://github.com/UWUplus/flask-cloudflared).  

## License

This project is MIT licensed.
ceh-v11-module-13-15-fix1 2025.3.25.0
CEH v11 Module 13~15
Requires Python: >=3.6

# CEH v11 Module 13~15

## 下载

### Docker

```
docker pull apachecn0/ceh-v11-module-13-15
docker run -tid -p <port>:80 apachecn0/ceh-v11-module-13-15
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install ceh-v11-module-13-15
ceh-v11-module-13-15 <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g ceh-vyiyi-module-yisan-yiwu
ceh-vyiyi-module-yisan-yiwu <port>
# 访问 http://localhost:{port} 查看文档
```
ceh-v11-module-1-4-fix1 2025.3.25.0
CEH v11 Module 1~4
Requires Python: >=3.6

# CEH v11 Module 1~4

## 下载

### Docker

```
docker pull apachecn0/ceh-v11-module-1-4
docker run -tid -p <port>:80 apachecn0/ceh-v11-module-1-4
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install ceh-v11-module-1-4
ceh-v11-module-1-4 <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g ceh-vyiyi-module-1-4
ceh-vyiyi-module-1-4 <port>
# 访问 http://localhost:{port} 查看文档
```
ceh-v11-lab-manual-9-14-fix1 2025.3.25.0
CEH v11 Lab Manual 9~14
Requires Python: >=3.6

# CEH v11 Lab Manual 9~14

## 下载

### Docker

```
docker pull apachecn0/ceh-v11-lab-manual-9-14
docker run -tid -p <port>:80 apachecn0/ceh-v11-lab-manual-9-14
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install ceh-v11-lab-manual-9-14
ceh-v11-lab-manual-9-14 <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g ceh-vyiyi-lab-manual-9-yisi
ceh-vyiyi-lab-manual-9-yisi <port>
# 访问 http://localhost:{port} 查看文档
```
ceh-v11-lab-manual-6-8-fix1 2025.3.25.0
CEH v11 Lab Manual 6~8
Requires Python: >=3.6

# CEH v11 Lab Manual 6~8

## 下载

### Docker

```
docker pull apachecn0/ceh-v11-lab-manual-6-8
docker run -tid -p <port>:80 apachecn0/ceh-v11-lab-manual-6-8
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install ceh-v11-lab-manual-6-8
ceh-v11-lab-manual-6-8 <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g ceh-vyiyi-lab-manual-6-8
ceh-vyiyi-lab-manual-6-8 <port>
# 访问 http://localhost:{port} 查看文档
```
ceh-v11-lab-manual-15-20-fix1 2025.3.25.0
CEH v11 Lab Manual 15~20
Requires Python: >=3.6

# CEH v11 Lab Manual 15~20

## 下载

### Docker

```
docker pull apachecn0/ceh-v11-lab-manual-15-20
docker run -tid -p <port>:80 apachecn0/ceh-v11-lab-manual-15-20
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install ceh-v11-lab-manual-15-20
ceh-v11-lab-manual-15-20 <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g ceh-vyiyi-lab-manual-yiwu-erling
ceh-vyiyi-lab-manual-yiwu-erling <port>
# 访问 http://localhost:{port} 查看文档
```
ceh-v11-lab-manual-1-5-fix1 2025.3.25.0
CEH v11 Lab Manual 1~5
Requires Python: >=3.6

# CEH v11 Lab Manual 1~5

## 下载

### Docker

```
docker pull apachecn0/ceh-v11-lab-manual-1-5
docker run -tid -p <port>:80 apachecn0/ceh-v11-lab-manual-1-5
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install ceh-v11-lab-manual-1-5
ceh-v11-lab-manual-1-5 <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g ceh-vyiyi-lab-manual-1-5
ceh-vyiyi-lab-manual-1-5 <port>
# 访问 http://localhost:{port} 查看文档
```
ceh-v10-module-allinone-fix1 2025.3.25.0
CEH v10 Module AllInOne
Requires Python: >=3.6

# CEH v10 Module AllInOne

## 下载

### Docker

```
docker pull apachecn0/ceh-v10-module-allinone
docker run -tid -p <port>:80 apachecn0/ceh-v10-module-allinone
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install ceh-v10-module-allinone
ceh-v10-module-allinone <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g ceh-vyiling-module-allinone
ceh-vyiling-module-allinone <port>
# 访问 http://localhost:{port} 查看文档
```
cdn-paikeng-zhinan-fix1 2025.3.25.0
CDN排坑指南
Requires Python: >=3.6

# CDN排坑指南

## 下载

### Docker

```
docker pull apachecn0/cdn-paikeng-zhinan
docker run -tid -p <port>:80 apachecn0/cdn-paikeng-zhinan
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install cdn-paikeng-zhinan
cdn-paikeng-zhinan <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g cdn-paikeng-zhinan
cdn-paikeng-zhinan <port>
# 访问 http://localhost:{port} 查看文档
```
ccnp-shiyan-shouce-wuming-fix1 2025.3.25.0
CCNP 实验手册（无名）
Requires Python: >=3.6

# CCNP 实验手册（无名）

## 下载

### Docker

```
docker pull apachecn0/ccnp-shiyan-shouce-wuming
docker run -tid -p <port>:80 apachecn0/ccnp-shiyan-shouce-wuming
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install ccnp-shiyan-shouce-wuming
ccnp-shiyan-shouce-wuming <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g ccnp-shiyan-shouce-wuming
ccnp-shiyan-shouce-wuming <port>
# 访问 http://localhost:{port} 查看文档
```