ucentral cli
Create and modify valid ucentral-schema schemata.
Installation
pip install -e .
The latest ucentral.schema.json is required in the main folder.
Usage
Run CLI via ucentral
Supported commands:
add Add an anonymous obejct to the given configuration.
add-list Add the given value to a list option.
base64 Set <path> to base64 encoded content <filename>
del-list Delete element <value> from list at <path>
file Set <path> to content of <filename>
get Return value from <path>
load Load configuration from JSON at <filename>
schema-load Load JSON schema from <filename>
set Set <path> to <value>
show Show current configuration
write Store configuration as JSON at <filename>
Type help <command> to see usage.
Examples
>> set uuid 123
>> set network.0.cfg.dhcp.leasetime 12h
>> set network.0.cfg.leases.0.hostname Apollo
>> add_list ntp.server ntp.example.org
>> add_list ntp.server ntp.example.com
>> show
{
"network": [
{
"cfg": {
"dhcp": {
"leasetime": "12h"
},
"leases": [
{
"hostname": "Apollo"
}
]
}
}
],
"ntp": {
"server": [
"ntp.example.org",
"ntp.example.com"
]
},
"uuid": 123
}
Metadata
Release files for ucentral 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ucentral-0.0.4.tar.gz | 3.5 kB | Without provenance | Details for ucentral-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ucentral-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for ucentral-0.0.4-py3-none-any.whl |
Total release size: 7.7 kB
Release files / ucentral-0.0.4.tar.gz
| Download URL | ucentral-0.0.4.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ad98497241bd9becd8ded491c3d058a1ad3582b949a9a217bca613792e275a1
|
|
BLAKE2b-256 checksum How to use checksums |
c3cc15745191ef8586bef4255f73320c1a7097b5d665b816705d576a1868f032
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
|
Release files / ucentral-0.0.4-py3-none-any.whl
| Download URL | ucentral-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7167bbf6db352a1ec0dd3abc068af72ea8116903c5e67bf94ca47857eac47090
|
|
BLAKE2b-256 checksum How to use checksums |
490ee368d52fc044f121b0b993824050b166979bf9e119f5bc6f6e400c28eb6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
|
Security for ucentral 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.