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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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