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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 595fed5d6914c54eac06fbb866f0fa05e51e010b47a49295d21510e8811863b0 |
|
MD5 | b1c900a6925bf9ff9f93364a6a020955 |
|
BLAKE2b-256 | ef1cea1c8572d9a7212799dbc5ba0e8f2a74e679294a9dd9f602e644462ae6f5 |
File details
Details for the file omniblack.caddy-0.0.6.post2-py3-none-any.whl
.
File metadata
- Download URL: omniblack.caddy-0.0.6.post2-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd1baf617fbd34c5580c8082b5cb8ce4a348c73a9079cbc95a1c562077d52b19 |
|
MD5 | fa24a7feb98f78d81964d936a2c98604 |
|
BLAKE2b-256 | 494597b523e59a0d1ed0a0de4999ea5572d323424c309179d8aae4ee306340d0 |