reemote
Reemote is a Python library for configuring and deploying servers. Describe the packages, files and services you want using Python functions; reemote queries each server, plans the work and applies the changes. Your deployment is a Python program that you can import, test, compose and run from your existing automation.
Reemote is built on a two-phase prepare → execute execution model. Deploy
scripts are Python generators that yield OperationRequest descriptors
instead of calling operations directly. That lets the driver pause the script at
every operation boundary: the prepare phase produces a full plan for dry-run
reporting, and the apply phase runs all hosts in lockstep with a fresh fact
cache per step, so sequential "act, then read" logic gives the correct answer
in both phases.
Scope. reemote is a library, not a deployment tool. It ships no CLI and no
inventory format: hosts are a plain inventory (a list of dictionaries) handed
to run. The transport is real — the default Host.from_inventory factory
opens an asyncssh connection per entry, gathers facts and runs commands over
it, and run closes the connections when it finishes.
Installation
The controller is the machine running your Python script. It needs Python 3.13 or newer. You do not install reemote on the target servers.
Installing from source is the recommended route, because the checkout also
gives you the runnable examples/ tree and lets you pin the exact revision you
deploy from. Run this in a directory where you want to keep the project:
git clone https://github.com/kimjarvis/reemote.git
cd reemote
uv sync
source .venv/bin/activate
uv sync creates .venv, installs reemote in editable mode and resolves its
declared dependencies — asyncssh, distro and pydantic — so the SSH
transport needs no separate install step. Here we use
uv; venv and pip work just as well if you
prefer them.
The package is also published on PyPI, which is enough if you only need the library and not the examples:
uv pip install reemote
Inside a project of your own, use uv add reemote instead so it lands in your
pyproject.toml.
License & Intellectual Property
License
This project is licensed under the Eclipse Public License 2.0 (EPL-2.0). SPDX-License-Identifier: EPL-2.0
Origin & Open Source Release
This software is part of a commercially available application. It is being released to the open source community under the EPL-2.0 to foster collaborative development, improve software reliability, and encourage community contributions and issue identification.
Originality & Attribution
This codebase was independently developed and was inspired by the design concepts of Pyinfra by Nick Mills-Barrett. This project is an original work and does not contain, incorporate, or derive from any source code or copyrighted material of Pyinfra.
Metadata
Release files for reemote 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| reemote-0.1.4.tar.gz | 496.5 kB | Without provenance | Details for reemote-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reemote-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for reemote-0.1.4-py3-none-any.whl |
Total release size: 1.0 MB
Release files / reemote-0.1.4.tar.gz
| Download URL | reemote-0.1.4.tar.gz |
|---|---|
| Size | 496.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28e2fdea5bb9f47a0ec8d185716fdec4497582e93462ea7bf8ef4b1cd511179c
|
|
BLAKE2b-256 checksum How to use checksums |
1a80c61dc24cae1fc8f9f52e757b6533f872314e061fc615cdc345fb89889309
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / reemote-0.1.4-py3-none-any.whl
| Download URL | reemote-0.1.4-py3-none-any.whl |
|---|---|
| Size | 527.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56850ce4969d5507d1202b601c0cfa9b2827764d43af42f3022d439924b5df99
|
|
BLAKE2b-256 checksum How to use checksums |
991c6c8ff5604764d1dee9f694e33f6049b67cab47234831baa6fdfa9d4f268a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for reemote 0.1.4
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.