toml
pyinfra
Our great sponsors
toml | pyinfra | |
---|---|---|
45 | 29 | |
19,134 | 2,638 | |
0.6% | 5.3% | |
4.3 | 9.1 | |
15 days ago | 11 days ago | |
Python | Python | |
MIT License | MIT License |
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.
toml
-
Let's meet Black: Python Code Formatting
Black uses by default the pyproject.toml file. This file contains a section for each different tool we want to use. The use of a configuration file like pyproject.toml is quite a good choice and helps the contributors to use the same tools and configurations you're using.
-
Why the fuck are we templating YAML? (2019)
> I don't think even though TOML has some official spec
Read it on https://toml.io/ (Full spec on upper-right… with its evolutions up to final 1.00 version).
-
'Hypermodernize' your Python Package
ini2toml which automatically translates .ini/.cfg files into TOML
-
An INI Critique of TOML
toml 1.1 will allow non-ascii in keys (and multi-line inline tables)
See https://github.com/toml-lang/toml/blob/main/CHANGELOG.md
- What Is Wrong with TOML?
- TOML: Tom's Obvious Minimal Language
-
What do ya'll think of TOML's - Support almost all programming language popularized today.
GitHub - toml-lang/toml: Tom's Obvious, Minimal Language
-
`toml` vs `toml_edit` (ie `toml` 0.6 is out)
See https://github.com/toml-lang/toml/blob/main/CHANGELOG.md
-
The YAML Document from Hell
> I still think it's the best format out there.
What do you think of https://toml.io ?
-
7 Python 3.11 new features 🤩
TOML built-in support
pyinfra
-
Show HN: A new open-source automation tool as an alternative to Ansible/Salt
There is https://pyinfra.com/
As a sidenote, I also made a small experiment a while ago : https://github.com/linkdd/tricorder/
But it's a bit of a chicken-and-egg problem. Without users, I don't know how it should be used, without features I won't get any users. So for now, it's in a state of "I'll address bug reports and feature requests, but I won't actively develop it".
-
Ask HN: What Underrated Open Source Project Deserves More Recognition?
I like https://github.com/pyinfra-dev/pyinfra. "pyinfra automates infrastructure using Python"
Only played with it for a little but it seems well designed an simpler alternative to ansible, chef and other such things.
-
Interesting Uses of Ansible's ternary filter
Haven't used it in anger yet, but I have high hopes for PyInfra: https://github.com/pyinfra-dev/pyinfra
-
How to manage multiple Wagtail sites from central point
pyinfra - https://pyinfra.com/ - Pyinfra is simpler for me than Ansible. I completed the entire deployment in one afternoon, from installing and configuring the VPS server from scratch to deploying the application and automatically restoring the database from a backup.
- Pyinfra: Pyinfra automates infrastructure super fast at scale
-
How do you guys handle server automation?
I’ve replaced Ansible with PyInfra where ever possible. https://pyinfra.com/ is very clean, and fast but lacks the shear amount of automation that can be found with Ansible.
-
What Ansible is capable to do that Python doesn't?
Some folks don't like YAML all that well, and I can understand where they are coming from. I wish Ansible provided a good Python API so that playbooks could be written in Python easier. But there is a project called PyInfra that is trying to do something similiar to Ansible, using Python as the configuration language. https://pyinfra.com/ It is still pretty new so not got nearly as many modules written for it yet.
- Pyinfra automates infrastructure super fast at scale
- Project Wisdom for Red Hat Ansible
What are some alternatives?
tomli - A lil' TOML parser
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.
json5 - JSON5 — JSON for Humans
Fabric - Simple, Pythonic remote execution and deployment.
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
psutil - Cross-platform lib for process and system monitoring in Python
dhall - Maintainable configuration files
Docker Compose - Define and run multi-container applications with Docker
tomlplusplus - Header-only TOML config file parser and serializer for C++17.
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.
docker-selenium - Provides a simple way to run Selenium Grid with Chrome, Firefox, and Edge using Docker, making it easier to perform browser automation
SaltStack - Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here: