Skip to main content

Fuselage

https://img.shields.io/travis/yaybu/fuselage/master.svg https://img.shields.io/appveyor/ci/yaybu/fuselage/master.svg https://img.shields.io/codecov/c/github/yaybu/fuselage/master.svg https://img.shields.io/pypi/v/fuselage.svg https://img.shields.io/badge/docs-latest-green.svg

fuselage is a idempotent configuration bundle builder and runtime.

Use a simple python API to describe a server configuration and bundle that as a script that can be executed on any system.

You can find us in #yaybu on irc.oftc.net.

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 1.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 1.0.0
File Size Uploaded Provenance Actions
fuselage-1.0.0.tar.gz 74.4 kB Without provenance Details for fuselage-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 217.8 kB

Release files / fuselage-1.0.0.tar.gz

Download URL fuselage-1.0.0.tar.gz
Size 74.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5c11272f0832c3b7064492e67fb840191f57f9386918920947b955d012e5c976
BLAKE2b-256 checksum
How to use checksums
7737d7543e6bf7208e814040928818b60ed79c604f5544f4e9202acf46269b67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / fuselage-1.0.0-py2.py3-none-any.whl

Download URL fuselage-1.0.0-py2.py3-none-any.whl
Size 143.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ae09dc8659828f57dd6efaf2e964e6a40c1cd19bfe29420bd5dbaf981c1663ad
BLAKE2b-256 checksum
How to use checksums
8312ef7e6c4be62d666340b1b080bfa35a7ca747596e25a6af74ae8a6a7a3f85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for fuselage 1.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