pypyr automation task runner
flit
Our great sponsors
pypyr automation task runner | flit | |
---|---|---|
6 | 6 | |
567 | 2,081 | |
0.4% | 0.9% | |
5.9 | 6.4 | |
3 months ago | 15 days ago | |
Python | Python | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" 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.
pypyr automation task runner
-
This Week in Python
pypyr – automation task runner
- Just learned implementing decorators
-
Comparison of Python TOML parser libraries
If you're interested in a walkthrough of the decision making process, this is documented in an Architecture Decision Record (ADR) you can read here: adr003 toml in the pypyr core
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.
flit
-
Show HN: Code Indexer Loop
Queries on https://github.com/pypa/flit/tree/main/flit_core/flit_core (omitted tests/)
(Pdb) print(indexer.query("def normalize_dist_name(name: str, version: str) -> str:"))
-
Underappreciated Challenges with Python Packaging
If it's pure Python, the only packaging file you need is `pyproject.toml`. You can fill that file with packaging metadata per PEP 518 and PEP 621, including using modern build tooling like flit[1] for the build backend and build[2] for the frontend.
With that, you entire package build (for all distribution types) should be reducible to `python -m build`. Here's an example of a full project doing everything with just `pyproject.toml`[3] (FD: my project).
[1]: https://github.com/pypa/flit
-
Easy Packing and Publishing to PyPi with Flit, pytest, and Circleci
I published a very simple project flit_pytest_circleci_template that uses: * [flit](https://github.com/pypa/flit) to build a package. * pytest to test it * circleci to run the above and publish the package to pypi whenever a source file is committed. This is the hard part IMO as I do not know circleci well (and didn't know it at all when I started this project).
-
Comparison of Python TOML parser libraries
flit
-
How to make a Python package in 2021
I hadn't heard of flit, it does seem like it's not brand new on the scene, however it is primarily a single contributor:
https://github.com/takluyver/flit/graphs/contributors
With a title like this, I'd be expecting to see an article describing the latest tools and recommendations from the PyPA.
What are some alternatives?
Poetry - Python packaging and dependency management made easy
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.
psutil - Cross-platform lib for process and system monitoring in Python
Fabric - Simple, Pythonic remote execution and deployment.
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.
SaltStack - Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
honcho - Honcho: a python clone of Foreman. For managing Procfile-based applications.
pexpect - A Python module for controlling interactive programs in a pseudo-terminal
Cloud-Init - unofficial mirror of Ubuntu's cloud-init
Docker Compose - Define and run multi-container applications with Docker
Fabtools - Tools for writing awesome Fabric files
BorgBackup - Deduplicating archiver with compression and authenticated encryption.