psutil
pyinfra
Our great sponsors
psutil | pyinfra | |
---|---|---|
7 | 28 | |
9,894 | 2,629 | |
- | 5.0% | |
8.9 | 9.1 | |
9 days ago | 5 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" 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.
psutil
-
tiptop, a command-line system monitor
No, not yet, though I'd love to have that in, too. The problem here is fetching the corresponding data since there's no standard interface this yet. (At least none that I know of.) Follow this bug to get updated.
-
Profiling Python code with memory_profiler
It uses the psutil library (or can use tracemalloc or posix) to access process information in a cross platform way, so it works on Windows, Mac, and Linux.
pyinfra
-
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 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.
- Pyinfra automates infrastructure super fast at scale
-
pyinfra v2.3 released
Here is the link: https://github.com/Fizzadar/pyinfra/releases/tag/v2.3
Here is the main URL for the project, for anyone interested: https://pyinfra.com/
- Every Sufficiently Advanced Configuration Language Is Wrong
-
Ask HN: Is there any replacement to Ansible? I hate the DSL
You'll probably want to checkout https://pyinfra.com/
- Ansible 2.13
-
I learned to stop worrying and love the YAML
I can use mypy and all the other existing linting tools to make sure my configuration is correct without having to write a custom linter (and basically reimplement 10% of mypy).
Shameless plug if you wanna read a longer analysis: https://beepb00p.xyz/configs-suck.html
A great example is pyinfra https://github.com/Fizzadar/pyinfra#readme Think Ansible but instead of YAML you write Python. It provides a set of primitives/DSL and some rules you need to adhere to, but otherwise you just write regular python code. I
What are some alternatives?
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.
Fabric - Simple, Pythonic remote execution and deployment.
pexpect - A Python module for controlling interactive programs in a pseudo-terminal
supervisor - Supervisor process control system for Unix (supervisord)
Docker Compose - Define and run multi-container applications with Docker
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.
ShutIt - Automation framework for programmers
pypyr automation task runner - pypyr task-runner cli & api for automation pipelines. Automate anything by combining commands, different scripts in different languages & applications into one pipeline process.
SaltStack - Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here: