Skip to main content

Simple package for backups and recovery

Project description

PatronX

Toolkit for PostgreSQL backups, point‑in‑time recovery (PITR) and object‑storage off‑loading, written in modern‑typed

codecov CI

Command line usage

Install the package in editable mode:

pip install -e .

Once installed, the patron command becomes available:

patronx --version
patronx list
patronx check-db
patronx backup [--plain] [--no-progress]
patronx restore --inp /path/to/backup.dump [--plain] [--no-progress]

Test

pytest

Linting and Formatting

ruff check . --fix
isort .

Generate requirements

pip install pip-tools
pip-compile --output-file=requirements.txt pyproject.toml

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

patronx-0.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

patronx-0.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file patronx-0.1.0.tar.gz.

File metadata

  • Download URL: patronx-0.1.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for patronx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4d81de270d484a2f930a8c1d27bbe2ef88da53d7507f6e28dbe7ec0f9f340f72
MD5 8735792bfd59fff14b153afd08c32a1d
BLAKE2b-256 65d4344dbdef5a8a87fc7591f709d5f0be03dc242a44cc2d4ca41e8ce73d3558

See more details on using hashes here.

Provenance

The following attestation bundles were made for patronx-0.1.0.tar.gz:

Publisher: cd-publish-to-pypi.yml on xdanielsb/patronx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file patronx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: patronx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for patronx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 387e173b2ea73d910b414699f7b14a8ff63f31a69fd83a0c72d25d40dd203447
MD5 02ac8032dc0261bade582ca6244c614b
BLAKE2b-256 cbb00a294e632cff6f88be461191edd07862becc5c28c385b818bfcafb08a672

See more details on using hashes here.

Provenance

The following attestation bundles were made for patronx-0.1.0-py3-none-any.whl:

Publisher: cd-publish-to-pypi.yml on xdanielsb/patronx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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