Skip to main content

Top-level package for tsmtool.

Project description

======= tsmtool

Image

Image

Image

Image

Image

Tarsnap Status Monitor

The most excellent tarsnap.com has a clean and functional interface for managing one's account. This tool connects to the 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.

Here's an example of output from the author's account:

(tsmtool) mkrueger@beaker:~/src/tsmtool$ tsmtool rstms
{
  "balance": 32.51,
  "account": "mkrueger@rstms.net",
  "monthly_cost": 23.51
}

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tsmtool-1.0.1.tar.gz (14.5 kB view hashes)

Uploaded Source

Built Distribution

tsmtool-1.0.1-py2.py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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