unofficial cloudflared python wrapper
Project description
pycloudflared
python cloudflared wrapper
Install
pip install pycloudflared
Cloudflare binaries will be downloaded the first time you run it.
Usage
❯ pycloudflared --help
NAME:
cloudflared - Cloudflare's command-line tool and agent
USAGE:
cloudflared [global options] [command] [command options]
VERSION:
2023.2.1 (built 2023-02-03-1038 UTC)
DESCRIPTION:
cloudflared connects your machine or user identity to Cloudflare's global network.
You can use it to authenticate a session to reach an API behind Access, route web traffic to this machine,
and configure access control.
See https://developers.cloudflare.com/cloudflare-one/connections/connect-apps for more in-depth documentation.
All arguments are passed directly to cloudflared.
Since there is no binary for arm mac, you may need Rosetta 2.
try_cloudflared
from pycloudflared import try_cloudflare
try_cloudflare(port=7860)
A simple function to run trycloudflare within python.
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
pycloudflared-0.1.1.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for pycloudflared-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ef7658ddf5581cd0dfa022b12cf4f93869b05147464641db5ddc92eb3a4a119 |
|
MD5 | 7b79e219fe6979249d7f35a71b02794c |
|
BLAKE2b-256 | 02ed5057814ad357a9e009f35f08f6c0ee24a883d9ec6a2f2c28fbb6add5c0a2 |