Skip to main content

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.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

pycloudflared-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycloudflared-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.4.2 CPython/3.10.9

File hashes

Hashes for pycloudflared-0.1.0.tar.gz
Algorithm Hash digest
SHA256 71890bb2c348b844b82501437ecd2fbc0552966cd3b2eea95c61fdd83c06c535
MD5 088ebcc97a41cf2c03a3940c01b79132
BLAKE2b-256 9f811ac35372f5aa1339aeaa3813d490db4285bfc6cd4c701cd1e9b7cb34f31d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycloudflared-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.4.2 CPython/3.10.9

File hashes

Hashes for pycloudflared-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d968691849e4bc4249414735714df7c914b0007399d91c27fdcdcec3829f6e98
MD5 026236ad1aea3190c09786d6591526a6
BLAKE2b-256 4ad960d98d100e6a13a8c855ddc6fd78527f6d3934ce60530fc3694ae7403c9b

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