Skip to main content

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 sfti-net 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sfti-net 0.0.1
File Size Uploaded Provenance Actions
sfti-net-0.0.1.tar.gz 4.4 kB Without provenance Details for sfti-net-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sfti-net 0.0.1
File Interpreter ABI Platform Actions
sfti_net-0.0.1-py3-none-any.whl Python 3 none any Details for sfti_net-0.0.1-py3-none-any.whl

Total release size: 9.0 kB

Release files / sfti-net-0.0.1.tar.gz

Download URL sfti-net-0.0.1.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ce27db51d0644a3f874cc8df3cd0c5a1879387e834aceb7822d6b8fd69498407
BLAKE2b-256 checksum
How to use checksums
ceee88596a805840948cf1a237ae9cba4b8de88c7d4c2f504e26d202d7128ce7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release files / sfti_net-0.0.1-py3-none-any.whl

Download URL sfti_net-0.0.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a742015ce06280246d62cff6f405ceb06c8cd6c6f2cc451a9de223d5dfb3c83
BLAKE2b-256 checksum
How to use checksums
c22b418b20bd69ee93f3b0149ed2b87a457de307e9957bc8c31dfc54da56c736
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Security for sfti-net 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page