Tarsnap Status Monitor Reporting Tool
Tarsnap Status Monitor
Introduction
The most excellent backup service Tarsnap provides a clean and functional interface for managing one's account. This tool connects to that web interface and queries data, producing a report as a table or JSON. The current balance is read, and an estimated monthly cost is calculated based on the site's daily cost data.
Example Output
Here's an example of output from the author's tarsnap account:
(tsmtool) mkrueger@beaker:~/src/tsmtool$ tsmtool --json rstms
{
"balance": 32.51,
"account": "mkrueger@rstms.net",
"monthly_cost": 23.51
}
Configuration
A config file may be used for account data, or the email account / password may be passed as command line options. The config file is a whitespace delimited text file with one line per account. Each line has these fields:
~/.tsmtool:
ACCOUNT_NAME EMAIL_ADDRESS PASSWORD
- Free software: MIT license
- Documentation: https://tsmtool.readthedocs.io.
Credits
This package was created with Cookiecutter and rstms/cookiecutter-python-cli, a fork of the audreyr/cookiecutter-pypackage project template.
audreyr/cookiecutter audreyr/cookiecutter-pypackage rstms/cookiecutter-python-cli
Metadata
Release files for tsmtool 1.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tsmtool-1.2.7.tar.gz | 19.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tsmtool-1.2.7-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 25.9 kB
Release files / tsmtool-1.2.7.tar.gz
| Download URL | tsmtool-1.2.7.tar.gz |
|---|---|
| Size | 19.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee1de65f793973ff770a02e43e1c9f4789a625d9368f63b64f1fb6f54206cbad
|
|
BLAKE2b-256 checksum How to use checksums |
a254ef965d0bb8fc92f43bd01c3c5fe67a9598e469ef08be11a62df7cb872ed0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|
Release files / tsmtool-1.2.7-py2.py3-none-any.whl
| Download URL | tsmtool-1.2.7-py2.py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c5f95d9a698bdb76734527883962f52e2d3669b9341c10f779d8d4008926a939
|
|
BLAKE2b-256 checksum How to use checksums |
5fa56f0774e42ef8ff1500de72f2f2966463177ac077717731e8f15e7961d999
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|