Top-level package for tsmtool.
Project description
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 JSON-formated report. 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 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for tsmtool-1.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac80d7bbb1dab33b601cd1a82c3e4408249fb99af935f47c725a58f807560639 |
|
MD5 | 785113cffc2695c4230414e47db04a78 |
|
BLAKE2b-256 | f7447ff409c793ff67f338b6a59c16d886b2390b4e5d5399fea589b62eaab0b7 |