Pysislab - CRISiSLab Seismometer Network Client
Description
This is a client for CRISiSLab's Seismometer Network API using WebSockets and MessagePack.
Installation
$ pip install pysislab
Usage
To list all stations (optionally in CSV format)
$ pysislab --list --csv
To watch live data in real time for a particular seismometer
$ pysislab --tail <seismometer id>
Or the equivalent in Python
from pysislab import get_sensors
for sensor in get_sensors():
print(
sensor.id,
sensor.secondary_id,
sensor.type,
sensor.publicLocation,
sensor.online,
)
from pysislab import SensorTail
for datagram in SensorTail(22):
print(datagram.channel, datagram.timestamp, datagram.data)
For more examples, see the CLI implementation.
See the models file for the full list of attributes available on each class.
Metadata
Release files for pysislab 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pysislab-0.0.7.tar.gz | 5.4 kB | Without provenance | Details for pysislab-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pysislab-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for pysislab-0.0.7-py3-none-any.whl |
Total release size: 11.1 kB
Release files / pysislab-0.0.7.tar.gz
| Download URL | pysislab-0.0.7.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e9b26c34aef27cfcf632eb4bc66a2ac1db48cbc4c13a0b29b0ac83c26284d2f
|
|
BLAKE2b-256 checksum How to use checksums |
6686851c65fc190677f7b9c2c25356b3382e49a66f6c7bbbcb63a29147c0d8d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|
Release files / pysislab-0.0.7-py3-none-any.whl
| Download URL | pysislab-0.0.7-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3586d8247e7e6392b2dbfe809b232480e28320c7ab976c5e4de1718c429b8593
|
|
BLAKE2b-256 checksum How to use checksums |
bb5d889db3685bf57aba9589873cc8ff3d0522dfc3ed7ff9209743c19b59e8f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|
Security for pysislab 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.