Skip to main content

A python client for Caddy's admin api.

Project description

Omniblack Caddy

Omniblack Caddy offer a pythonic interface to control a Caddy server using caddy's JSON API.

Basic Example

from omniblack.caddy import Caddy

# omniblack.caddy will use the caddy file to find the
# Admin api's address
with Caddy(caddy_file='./caddyfile.json') as caddy:
    caddy.get('/reverse_proxy/upstreams')

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

omniblack.caddy-0.0.6.post2.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

omniblack.caddy-0.0.6.post2-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file omniblack.caddy-0.0.6.post2.tar.gz.

File metadata

  • Download URL: omniblack.caddy-0.0.6.post2.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for omniblack.caddy-0.0.6.post2.tar.gz
Algorithm Hash digest
SHA256 595fed5d6914c54eac06fbb866f0fa05e51e010b47a49295d21510e8811863b0
MD5 b1c900a6925bf9ff9f93364a6a020955
BLAKE2b-256 ef1cea1c8572d9a7212799dbc5ba0e8f2a74e679294a9dd9f602e644462ae6f5

See more details on using hashes here.

File details

Details for the file omniblack.caddy-0.0.6.post2-py3-none-any.whl.

File metadata

File hashes

Hashes for omniblack.caddy-0.0.6.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 fd1baf617fbd34c5580c8082b5cb8ce4a348c73a9079cbc95a1c562077d52b19
MD5 fa24a7feb98f78d81964d936a2c98604
BLAKE2b-256 494597b523e59a0d1ed0a0de4999ea5572d323424c309179d8aae4ee306340d0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page