lxcraft

A simple declarative configuration build tool for Linux systems


License
MIT
Install
pip install lxcraft==0.0.5

Documentation

LXCraft

A Declarative Configuration Build Tool for Linux Systems

PyPi Code style: black

A simple declarative configuration build tool for Linux systems.

  • 🐍 Pure Python declarative code
    • No need to learn a new DSL/programming language
    • Leverage IDE features like inline documentation, code completion, linting, etc.
  • 📏 Ephemeral target system
    • No need to worry about maintaing the system state
  • Simpler than Chef, Puppet, Ansible, Terraform, SaltStack, etc. due to the above

How to use

from lxcraft import Plan
from lxcraft.debian import AptPackages

Plan([
    AptPackages(["nginx"])
]).execute()

How to develop

Requirements

  • Python 3.10+ is required.
  • Linux or WSL.

In order to develop you must use Linux or WSL with docker.

python develop/docker-bash.py
invoke setup
invoke test