Skip to main content

pyeasydeploy

Deploy Python apps to Linux servers over SSH, with plain Python functions on top of Fabric: no agents on the server, no YAML, no DSL to learn. Your deploy is a deploy.py in your project that reads top to bottom.

It is made for a few servers and a team that writes Python, not to compete with Ansible or Docker.

from pyeasydeploy import (
    Host, Key, SupervisorService, connect, create_venv,
    deploy_supervisor_service, get_target_python_instance,
    install_local_package, supervisor_restart,
)

APP = "myapp"
USER = "deploy"

conn = connect(Host(
    address="203.0.113.10",
    user=USER,
    auth=Key(path="~/.ssh/id_ed25519"),
    sudo_password="...",   # better: os.environ["SUDO_PASSWORD"]
))

py = get_target_python_instance(conn, "3.11")
venv = create_venv(conn, py, f"/home/{USER}/venvs/{APP}")
install_local_package(conn, venv, f"./{APP}")

deploy_supervisor_service(conn, SupervisorService(
    name=APP,
    command=f"{venv.path}/bin/python -m {APP}",
    directory=f"/home/{USER}",
    user=USER,
))
supervisor_restart(conn, APP)

The full documentation is at https://offerrall.github.io/pyeasydeploy/.

Documentation

  • Overview: what a deploy does step by step, and what the server needs.
  • Guide: connecting, remote Python, venvs and packages, files and services.
  • Reference: every public name, its arguments and what it does.
  • Reproducibility: what a deploy guarantees, what it does not, and orphan services.
  • Design: the ideas behind it, and what it is not.

Maintaining

  • Releasing: the release workflow and the one-time PyPI setup.

Metadata

Release files for pyeasydeploy 1.0.3

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

Source distribution (sdist)

Source distribution for pyeasydeploy 1.0.3
File Size Uploaded
pyeasydeploy-1.0.3.tar.gz 15.7 kB Details

Built distribution (wheel)

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

Total release size: 30.2 kB

Release files / pyeasydeploy-1.0.3.tar.gz

Download URL pyeasydeploy-1.0.3.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6e0e569f8a241bf78574c300f6ffb1c15c4d9eb40a12aebb9cae00bb2bd18409
BLAKE2b-256 checksum
How to use checksums
7497356d25746c88d2d124b391298e52bfa61d64dd10b38970b1e29c908a3b53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release files / pyeasydeploy-1.0.3-py3-none-any.whl

Download URL pyeasydeploy-1.0.3-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd9909cae25a1a559e94dbcb46a170435631b44f8f82ca4c131793e7652eb295
BLAKE2b-256 checksum
How to use checksums
60ebdfbd75e588e9833c6dd8bc99c07af348aa8b4c23eb9f53b72f1ba153ecf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.4

2 release files

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.0

2 release files

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