Skip to main content

Fuselage

fuselage is a simple and fast idempotent configuration bundle builder and runtime.

To use fuselage:

  • Use your code to build a configuration bundle via our API. The output is an executable payload.
  • Transfer that payload to your server.
  • Run it.

Should you use fuselage? Probably not. But if you are wondering why:

  • It's fast. Unlike some configuration management tools the entire process runs on the target. It doesn't rely on a round trip between every step.
  • It's small. It's only dependency is a python3 interpreter on the target system plus some common posix binaries.
  • It's secure. It doesn't bring it's onw control plane that you need to understand in detail to properly secure.
  • It's simple. It provides the absolute minimum, and tries to get out the way for the stuff where it doesn't need to have an opinion. Bring your own template engine, or don't use one at all. Bring your own control plane. Run it from a deamonset, run it via fabric or even just use scp and run it by hand.

Using with fabric

You will need to install fabric explicitly. Fuselage does not depend on fabric.

You can write simple deployment scripts with Fabric by adding this to your fabfile:

from fuselage.fabric import blueprint
from fuselage.resources import *

@blueprint
def minecraft(bundle):
    yield Directory(
        name='/var/local/minecraft',
    )
    yield Execute(
        command='wget https://s3.amazonaws.com/Minecraft.Download/versions/1.8/minecraft_server.1.8.jar',
        cwd="/var/local/minecraft",
        creates="/var/local/minecraft/minecraft_server.1.8.jar",
    )
    yield File(
        name='/var/local/minecraft/server.properties',
        contents=open('var_local_minecraft_server.properties').read(),
    )
    yield File(
        name="/etc/systemd/system/minecraft.service",
        contents=open("etc_systemd_system_minecraft.service"),
    )
    yield Execute(
        command="systemctl daemon-reload",
        watches=['/etc/systemd/system/minecraft.service'],
    )
    yield Execute(
        command="systemctl restart minecraft.service",
        watches=[
            "/var/local/minecraft/server.properties",
            "/etc/systemd/system/minecraft.service",
        ]
    )

And then run it against multiple servers::

fab -H server1,server2,server3 minecraft

Metadata

Release files for fuselage 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fuselage 3.0.0
File Size Uploaded Provenance Actions
fuselage-3.0.0.tar.gz 43.8 kB Without provenance Details for fuselage-3.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fuselage 3.0.0
File Interpreter ABI Platform Actions
fuselage-3.0.0-py3-none-any.whl Python 3 none any Details for fuselage-3.0.0-py3-none-any.whl

Total release size: 124.1 kB

Release files / fuselage-3.0.0.tar.gz

Download URL fuselage-3.0.0.tar.gz
Size 43.8 kB
Tags Source
SHA-256 checksum
How to use checksums
617b4b9988abc9fe471f71a097be9f7fdb49afb5d7bd33b12d72628ca8dbb378
BLAKE2b-256 checksum
How to use checksums
016978b9001d7ea22fa8c85808e6d3eca7c1336d6b7ca0b5fa2a60798df9bda7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.7 CPython/3.7.11 Linux/5.8.0-1036-azure

Release files / fuselage-3.0.0-py3-none-any.whl

Download URL fuselage-3.0.0-py3-none-any.whl
Size 80.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71cdc2dcb2d9d765e3c9e86a7207e82031a72b192c842d38ed609982c43691c6
BLAKE2b-256 checksum
How to use checksums
bdeabaa91caafdafe48e9e74d90c56cc104f143a97ce3c737be054719ab48ade
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.7 CPython/3.7.11 Linux/5.8.0-1036-azure

Security for fuselage 3.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page