Skip to main content

Résif Delivery stats plotter

Project description

resif-delivery-stats-plotter is a command line tool to plot statistics about requests and metadata/data deliveries by the datacenter about a seismic network handled by Résif. This tool is mostly designed to help the seismic networks’ PI to build their annual activity reports.

More details about Résif are available on http://seismology.resif.fr/

Installation

From PyPI

resif-delivery-stats-plotter is distributed on PyPI as a universal wheel and is available on Linux/macOS and Windows and supports Python 3.5+ and PyPy.

First, create and activate a virtualenv:

$ python3 -m venv venv
$ source venv/bin/activate

Install/Update the wheel package to allow installation of the binary version of dependencies.

$ pip install --upgrade pip setuptools wheel

Then, install the resif-delivery-stats-plotter package:

$ pip install resif-delivery-stats-plotter

From sources

resif-delivery-stats-plotter sources are distributed under the terms of GPLv3 licence and are available at https://gitlab.com/resif/resif-delivery-stats-plotter

First, ensure Git and Python 3 are installed on your system.

$ sudo apt install git
$ sudo apt install python3 python3-virtualenv python3-pip python3-setuptools python3-wheel

Then, clone the project from the Gitlab repository:

$ git clone https://gitlab.com/resif/resif-delivery-stats-plotter.git
$ cd resif-delivery-stats-plotter

Then, create and activate a virtualenv:

$ python3 -m venv venv
$ source venv/bin/activate

Finally, install the project and its dependencies:

$ pip install --upgrade pip setuptools wheel
$ pip install -e .

Usage

General syntax:

$ resif-delivery-stats-plotter [OPTIONS] COMMAND [ARGS]

Use the –help option to show the specific syntax of each command.

Build an HTML report

$ resif-delivery-stats-plotter report [OPTIONS] NETWORK YEAR

Build an individual plot

Use the following commands:

  • plot-network-availability

  • plot-map-network-stations

  • plot-data-send-monthly

  • plot-data-send-yearly

  • plot-data-stored-yearly

  • plot-requests-monthly

  • plot-requests-yearly

  • plot-map-clients-by-country

  • plot-map-requests-by-country

Other operations

Use the following commands:

  • list-networks

  • list-stations

  • list-channels

  • clear-requests-cache

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

resif-delivery-stats-plotter-0.1.3.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

File details

Details for the file resif-delivery-stats-plotter-0.1.3.tar.gz.

File metadata

  • Download URL: resif-delivery-stats-plotter-0.1.3.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for resif-delivery-stats-plotter-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3ecdea4497e662f4e9f7495f5914368a9517bfed11fda225e111cecd4cbb76f5
MD5 c31fa2686cff9421ca7bbfe1841ac80e
BLAKE2b-256 90b0ecdf2f9ca614a1ee8aecc077f203f550e14702be184aa6989e90f52c6e35

See more details on using hashes here.

File details

Details for the file resif_delivery_stats_plotter-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: resif_delivery_stats_plotter-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for resif_delivery_stats_plotter-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 66e40b9c790d49844c822a62a818231e5eec8b7cd5317d04a555bb77280ecd2f
MD5 517faa8c8b7c1c9f86debe2b38b56a1a
BLAKE2b-256 901bd62eae6834916103da6479561a41112d8fa3608b64bfad227d6920733929

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