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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fora-2.1.7.tar.gz
.
File metadata
- Download URL: fora-2.1.7.tar.gz
- Upload date:
- Size: 105.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d7e11a219d12e660276fdde86ce2532a78037264020e76e2c87480ca05daadb |
|
MD5 | 3b3b25df9f2fad9de903d4fa14bdaa43 |
|
BLAKE2b-256 | 79284989d98de5e71d31af36bb3c58bf8a6c96aa3ecee301f28d4af488a02bf9 |
File details
Details for the file fora-2.1.7-py3-none-any.whl
.
File metadata
- Download URL: fora-2.1.7-py3-none-any.whl
- Upload date:
- Size: 78.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 837e0e3160c0afcf1e7c6dbcd827b1b38dc0e502d71b2601af4b11882ada0b8d |
|
MD5 | 96758c044f7b7b72d0c2bba3d11e8ede |
|
BLAKE2b-256 | 03d7ebe8edf516df67949448231ef6814d442eab9814448037a7f5bec51b2e5c |