Résif Delivery stats plotter
Reason this release was yanked:
Bugs with restricted and temporary networks
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
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
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 resif-delivery-stats-plotter-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c643c5d2808d3d206890a92be9bd1aa04041abf99440ec1ed5e3f71e03eea6d3 |
|
MD5 | 8266373334d5defb10828fb6d6ffe68a |
|
BLAKE2b-256 | 710d3c941319f2385287186e7b09bda66c42d42f79ca0f3619093fbfdb1f2ce1 |
Hashes for resif_delivery_stats_plotter-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0e78696875d7ec4f5aad5d5aa3327d566c69083324624df3600b8188f89def1 |
|
MD5 | dea6462f55573a7a291acbed05ff53e9 |
|
BLAKE2b-256 | 1b8aa1287b3f24c983cf1f3a9568638f7a14ec245d91bc0176e6af00de07101a |