Python API and CLI for managing Proximatic configuration.
Project description
Proximatic
Python API for managing Proximatic configuration files.
When installed, the proximatic
command provides a CLI for managing Proximatic configuration.
This Python package provides the core for the Proximatic system.
If you are looking for the turn-key production deployment of Proximatic, see https://github.com/LunkRat/proximatic.
Installation
pip install proximatic
Usage
Command Line Interface (CLI)
Open a Terminal and type:
proximatic
Use proximatic --help
for available commands and options.
Python API programmatic interface
from proximatic import Proximatic
proximatic = Proximatic(yml_dir='/path/to/your/proximatic/data', fqdn='example.org')
JSON REST API interface
You can run the (experimental) REST API on your localhost by typing the command:
proximatic-http
It will try to open your browser to http://localhost:8000
License
The MIT License (MIT)
Author
Link Swanson (LunkRat)
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
Built Distribution
File details
Details for the file proximatic-0.1.7.tar.gz
.
File metadata
- Download URL: proximatic-0.1.7.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.7.3 Linux/4.19.0-16-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0df2df26cb0a1370c0874c6ef35fd242c27c007d4152bc4feb17e6483cf5f69c |
|
MD5 | 286282b9c50e3a1a39868860a3634f45 |
|
BLAKE2b-256 | 9aa99f5077eaeb59617aeb0dc4ea61e4e1ffc187bebb3f75014b3431f8fefd61 |
File details
Details for the file proximatic-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: proximatic-0.1.7-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.7.3 Linux/4.19.0-16-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80d300327ebdeec1820794c9710093820c822eff37fd0bec6caacdc5c3a35667 |
|
MD5 | 1fe6f83c2a3874df5be9f197dca38819 |
|
BLAKE2b-256 | 632c702de63fb56df6f8b8e1f8eebf915f6b66cd792351f55520298065e4df33 |