pyinfra
starlark
Our great sponsors
pyinfra | starlark | |
---|---|---|
28 | 22 | |
2,583 | 2,196 | |
4.3% | 2.4% | |
9.1 | 4.5 | |
6 days ago | 21 days ago | |
Python | Starlark | |
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.
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
starlark
-
Apple releases Pkl – onfiguration as code language
The implementations and users page mentioned above:
Trivia note, the bazelbuild starlark readme example shows a rare correct implementation of FizzBuzz, with no unique case for "FizzBuzz".
-
10 Ways for Kubernetes Declarative Configuration Management
Starlark: Starlark is a language for describing build transformations, inspired by Python, but with features that make it suitable for embedding in software like Bazel. It can be used for configuration generation due to its capability for deterministic evaluation and expressing complex build transformations.
-
How Big Should a Programming Language Be?
In the design of Starlark (https://github.com/bazelbuild/starlark), I often had to push back against new feature requests to keep the language simple. I explicitly listed simplicity as a design goal.i
Of course, the scope of the language is not the same as general purpose languages, but there's always pressure from the users to add more things. I also think many people underestimate the cost of adding new features: it's not just about adding the code in every compiler/interpreter, specifying every edge-case in a spec, updating all the tooling for the language and writing tutorials; it's also a cost on everyone who will have to read any of the code.
-
Launch HN: Moonrepo (YC W23) – Open-source build system
one of the benefits of starlark (unlike python): "Starlark is suitable for use in highly parallel applications. An application may invoke the Starlark interpreter concurrently from many threads, without the possibility of a data race, because shared data structures become immutable due to freezing." from https://github.com/bazelbuild/starlark/blob/master/spec.md - it's not python, you can't do recursion (!) and it's more limited (you can't read a file in bazel, and parse it, you have to make this operation into the graph somehow)
-
[P] Docker alternative for AI/ML
Make sense. We do not use Python actually, the build language is starlark, which is the config lang used by bazel. https://github.com/bazelbuild/starlark
-
The Dhall Configuration Language
Have you seen Starlark? It's not too far from that, but safer in a number of ways: https://github.com/bazelbuild/starlark
- What change should Python 4 bring, in your opinion?
-
Is Spock-Config the only tool that integrates object-oriented config files and command-line interfaces?
I'll also point to https://github.com/bazelbuild/starlark, but that is likely not what you are looking for. It is though an interesting concept to have python config files w/o side effects, which is more secure.
-
How I made a binary version of Poetry package manager
But how does it work? Once you installed PyOxidizer on your system, everything starts with a Starlark file:
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.
psutil - Cross-platform lib for process and system monitoring in Python
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.
yaml-reference-parser
dhall - Maintainable configuration files
dhall-kubernetes - Typecheck, template and modularize your Kubernetes definitions with Dhall
Pulumi - Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages 🚀
SaltStack - Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
fabric - Hyperledger Fabric is an enterprise-grade permissioned distributed ledger framework for developing solutions and applications. Its modular and versatile design satisfies a broad range of industry use cases. It offers a unique approach to consensus that enables performance at scale while preserving privacy.
ATW (AWS Tool Web) - Amazon AWS Web Tool (view only)