Skip to main content

Top-level package for tsmtool.

Project description

Tarsnap Status Monitor Reporting Tool

Image

Image

Image

Image

Image

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

Credits

Tarsnap

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.2.7.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

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

tsmtool-1.2.7-py2.py3-none-any.whl (6.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file tsmtool-1.2.7.tar.gz.

File metadata

  • Download URL: tsmtool-1.2.7.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for tsmtool-1.2.7.tar.gz
Algorithm Hash digest
SHA256 ee1de65f793973ff770a02e43e1c9f4789a625d9368f63b64f1fb6f54206cbad
MD5 14e3fc23d49fa8540820c3f47a69b054
BLAKE2b-256 a254ef965d0bb8fc92f43bd01c3c5fe67a9598e469ef08be11a62df7cb872ed0

See more details on using hashes here.

File details

Details for the file tsmtool-1.2.7-py2.py3-none-any.whl.

File metadata

  • Download URL: tsmtool-1.2.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for tsmtool-1.2.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c5f95d9a698bdb76734527883962f52e2d3669b9341c10f779d8d4008926a939
MD5 a82af6447d6c95b32dd7475fdb63025f
BLAKE2b-256 5fa56f0774e42ef8ff1500de72f2f2966463177ac077717731e8f15e7961d999

See more details on using hashes here.

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