Skip to main content

Browse your configuration files in a visual way with a pretty and universal interface.

Project description

PrettyEtc

Browse your configuration files in a visual way with a pretty and universal 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.

Installation

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.

Requirements

Python 3.4+

Ui

  • PySide2

  • homebase

Core

No requirements for the core, just Python stdlib.

Plugins

No requirement for plugins at the moment.

Supported languages

  • JSON

  • INI

  • A self-defined language called etc, see below

Core features

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

prettyetc_qt-0.1.5-py3-none-any.whl (30.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page