Skip to main content

A simple infrastructure and configuration management tool

Project description

What is Fora?

Fora is an infrastructure and configuration management tool inspired by Ansible and pyinfra. Yet, it implements a drastically different approach to inventory management (and some other aspects), when compared to these well-known tools. See how it differs for more details.

Installation & Quickstart

You can install Fora with pip:

pip install fora

Afterwards, you can use it to write scripts which will be used to run operations or commands on a remote host.

# deploy.py
from fora.operations import files, system

files.directory(
    name="Create a temporary directory",
    path="/tmp/hello")

system.package(
    name="Install neovim",
    package="neovim")

These scripts are executed against an inventory, or a specific remote host (usually via SSH).

fora root@example.com deploy.py

To start with your own (more complex) deploy, you can have Fora create a scaffolding in an empty directory. There are different scaffoldings available for different use-cases.

fora --init minimal

Fora can do a lot more than this, which is explained in the Introduction. If you are interested in how Fora is different from existing tools, have a look at Outlining the differences.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fora-2.1.7.tar.gz (105.8 kB view hashes)

Uploaded Source

Built Distribution

fora-2.1.7-py3-none-any.whl (78.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page