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 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

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

Uploaded Source

Built Distribution

tsmtool-1.1.1-py2.py3-none-any.whl (6.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for tsmtool-1.1.1.tar.gz
Algorithm Hash digest
SHA256 e139f286483f0c54550a5ac84ad576ae6c08c33f5545cc9566fd2d9a25da222e
MD5 af20851995b494fba737079f20e8e71b
BLAKE2b-256 b37bedd9ab523bc1225f1b82559ff78dabdbc9094f2a460a55c94d3c4dd3966d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tsmtool-1.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ac80d7bbb1dab33b601cd1a82c3e4408249fb99af935f47c725a58f807560639
MD5 785113cffc2695c4230414e47db04a78
BLAKE2b-256 f7447ff409c793ff67f338b6a59c16d886b2390b4e5d5399fea589b62eaab0b7

See more details on using hashes here.

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