tomli
pypyr automation task runner
tomli | pypyr automation task runner | |
---|---|---|
5 | 6 | |
439 | 571 | |
- | 0.7% | |
3.0 | 5.9 | |
6 days ago | 5 months ago | |
Python | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tomli
-
What Is Wrong with TOML?
But the whitespace handling involved is an extra complication, at least the provided example fails to be parsed by `tomli`, which is following the currently release TOML spec: https://github.com/hukkin/tomli/issues/199
-
ConfigParser potential inconsistencies
ini files aren't standardized, the syntax is really "whatever the parser implements". For new projects I recommend using toml instead. It's ini-like, but standardized. Python 3.11 even comes with a builtin parser tomllib (earlier python versions can use tomli, which is what tomllib is based on).
-
Python 3.11 will now have tomllib - Support for Parsing TOML in the Standard Library
tomllib is primary the library tomli: https://github.com/hukkin/tomli
-
Upcoming Python Features Brought to You by Python Enhancement Proposals
TOML as a format is by default used by many Python tools, including build tools. This creates a bootstrapping problem for them. Additionally, many popular tools such as flake8 don't include TOML support citing its lack of support in standard library. This PEP proposes to add TOML support to standard library based on tomli which is already used by packages such as pip or pytest.
-
Comparison of Python TOML parser libraries
tomli Relatively fast read-only parsing. Companion library tomli-w for writing.
pypyr automation task runner
- Simple task runner for automation pipelines
-
This Week in Python
pypyr – automation task runner
- Task-runner for automation pipelines defined in YAML – pypyr
- Just learned implementing decorators
-
Comparison of Python TOML parser libraries
The pypyr automation pipeline task-runner open-source project recently added TOML parsing & writing functionality as a core feature. To this end, I researched the available free & open-source Python TOML parser libraries to figure out which option to use.
What are some alternatives?
toml - Tom's Obvious, Minimal Language
Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
tomlkit - Style-preserving TOML library for Python
psutil - Cross-platform lib for process and system monitoring in Python
rtoml - A fast TOML library for python implemented in rust.
Fabric - Simple, Pythonic remote execution and deployment.
pytoml - A TOML-0.4.0 parser/writer for Python.
letsencrypt - Certbot is EFF's tool to obtain certs from Let's Encrypt and (optionally) auto-enable HTTPS on your server. It can also act as a client for any other CA that uses the ACME protocol.
toml - Python lib for TOML
SaltStack - Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
tomlplusplus - Header-only TOML config file parser and serializer for C++17.
honcho - Honcho: a python clone of Foreman. For managing Procfile-based applications.