ovos-core configuration module
Project description
OVOS-config
helper package to interact with mycroft config
Command Line usage
A small helper tool is included to quickly show, get or set config values
Quick rundown (cli):
-
ovos-config get
-
Loose search (search a key or parts therof):
Given an entry of{'PHAL': { 'ovos-PHAL-plugin-system': { 'enabled': True }, 'ovos-PHAL-plugin-connectivity-events': { 'enabled': True }, ... }
ovos-config get -k phal
would yield all PHAL entries and present it to the user (and the path where they were found) -
Strict search (search keys in a distinct location):
ovos-config get -k /PHAL/ovos-PHAL-plugin-system/enabled
This will output only the value or exit out if no key is found (root slash indicating a strict search)
-
-
ovos-config set
-
Searches loosely for keys containing the query string and presents a choice to the user to define a value
ovos-config set -k phal
The type is derived from the joined config and thus can be safely cast into the user conf.
Optionally a value (-v
) can be sent as an argument.
-
-
ovos-config autoconfigure
-
ovos-config show
- Get a full table of either the joined, user (
-u
), system (-s
) or remote (-r
) configuration. This can be further refined by passing a--section
, which can be listed withovos-config show -l
- Get a full table of either the joined, user (
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 ovos-config-0.4.6.tar.gz
.
File metadata
- Download URL: ovos-config-0.4.6.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d13fc990ac410eeff3a1765e71ddc081880628294f2c89f5a3fb67cbdba1510e |
|
MD5 | 337e2664ea2b0773568474949f0a2463 |
|
BLAKE2b-256 | 30949cdfbe57ad2efef10584bfa7b44c64ae26304d30a3ab9415450cbd438fd5 |
File details
Details for the file ovos_config-0.4.6-py3-none-any.whl
.
File metadata
- Download URL: ovos_config-0.4.6-py3-none-any.whl
- Upload date:
- Size: 62.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80d73ac7508233ea5e77afff408cecb26a612602f6ec9f9668d6d131645cf757 |
|
MD5 | c7ee8b14f20957fc598dcb637cd4154c |
|
BLAKE2b-256 | 20ed574bf3694aece07f68d56ac01a8259083d0673ba669358c230f90436af99 |