Core library of the prettyetc project, without any ui.
See your configuration files using a pretty and universal GUI interface.
Prettyetc shows your configs in a multitabbed window, each one being displayed as a foldable tree.
The tree has no ugly brackets, quoting or something else which might be language specific. For example you can read a JSON and INI file using the same view and structure.
Even though you can edit, it does nothing since the writing feature is not ready.
The official GUI is powered by the Qt framework, using the official Python bindings.
NOTE: If you have both Python 2 and 3 installed in your system, you should use python3 instead of python and pip3 instead of pip.
Full installation with the UI:
pip install prettyetc-qt .
Or from sources:
python setup_core.py bdist_wheel python setup_core.py clean --all python setup_qt.py bdist_wheel` python setup_qt.py clean --all pip install --user dist/*.whl.
If you want only the core:
pip install prettyetc-core.
Or from sources:
python setup_core.py bdist_wheel python setup_core.py clean --all pip install --user dist/*.whl.
No requirements for the core, just Python stdlib.
No requirement for plugins at the moment.
- A self-defined language called etc, see below
For a detailed explanation of core features, we suggest to go to the official API documentation of prettyetc components.
The documentation also contains instruction to create your custom plugin and how to deploy it.
An explanation of the etc language
The etc configuration language is a collection of microlanguages, all of them are structured similar to INI files (without sections).
The origin of this name is the *nix /etc folder that contain the system or default configuration for lots of programs and also kernel settings.
Except for INI or JSON files, the files in this folder has an undefined and a simple syntax; made by spaces, the “:” character or the “=” character (somewhere) and the “#” character as comment start, that remembers the sh/bash syntax.
Examples of these files are
/etc/resolv.conf /etc/sysctl.conf /etc/modules.
Our parser aim to handle most of it, representing it using fields in a universal view.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size prettyetc_core-0.3.1-py3-none-any.whl (62.1 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
Hashes for prettyetc_core-0.3.1-py3-none-any.whl