Skip to main content

Restic implementation in Python

image image

Installation

From pip

pipx install pyrrhic-restic

Screenshot

Alpha Relase

All commands are compatible with restic implementation:

pyrrhic --repo restic_test_repositories/restic_test_repository cat masterkey
{'encrypt': 'Te0IPiu0wvEtr2+J59McgTrjCp/ynVxC/mmM9mX/t+E=',
 'mac': {'k': 'aSbwRFL8rIOOxL4W+mAW1w==', 'r': 'hQYBDSD/JwpU8XMDIJmAAg=='}}
pyrrhic -r restic_test_repositories/restic_test_repository -p <(echo password) ls latest
/usr
/usr/share
/usr/share/cracklib
/usr/share/cracklib/cracklib-small
/usr/share/cracklib/cracklib.magic
/usr/share/cracklib/pw_dict.hwm
/usr/share/cracklib/pw_dict.pwd
/usr/share/cracklib/pw_dict.pwi

Additional features missing in golang restic implementation

  • pretty-print all objects
  • pyrrhic cat pack SNAPSHOT_ID --header prints parsed header
  • Resumable restore
  • Progress bar

Why is it called pyrrhic

Needed a name starting with py containing r and ending with ic:

grep ^py.*r.*ic$ /usr/share/dict/cracklib-small

Limitations

  • Supports repository format version 2 only (current restic version).

Metadata

Release files for pyrrhic-restic 0.6.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 pyrrhic-restic 0.6.3
File Size Uploaded Provenance Actions
pyrrhic-restic-0.6.3.tar.gz 2.5 MB Without provenance Details for pyrrhic-restic-0.6.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyrrhic-restic 0.6.3
File Interpreter ABI Platform Actions
pyrrhic_restic-0.6.3-py3-none-any.whl Python 3 none any Details for pyrrhic_restic-0.6.3-py3-none-any.whl

Total release size: 2.5 MB

Release files / pyrrhic-restic-0.6.3.tar.gz

Download URL pyrrhic-restic-0.6.3.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
2312d7e3003b5e8440d16bf0f4f00dd66fdeb18f40228b37da455b17bd2be08c
BLAKE2b-256 checksum
How to use checksums
760b74c06f43bc7267fa800541ab4f3e0b7354cfd6354f9cf25b7f73eab2fa75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / pyrrhic_restic-0.6.3-py3-none-any.whl

Download URL pyrrhic_restic-0.6.3-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a466f7ce92a74cd9a0cf358b6b8ace67cb3f5587ac900ed4f3b0e3a0b57b7462
BLAKE2b-256 checksum
How to use checksums
af5c1663f55318e71f2b13e93229d8e92b61206d78f1eb7413ce6aebfb88698d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Security for pyrrhic-restic 0.6.3

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.

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