DataLink protocol 1.1 client for reading and writing data using the DataLink protocol (e.g. EarthScope ringserver).
Project description
datalink-client
DataLink protocol client for reading and writing data using the DataLink protocol. DataLink is a simple, packet-based streaming protocol used in seismological data systems, primarily with EarthScope's ringserver software.
Installation
pip install datalink-client
Usage
Python API
from datalink_client import DataLink
with DataLink("localhost", 16000) as dl:
dl.match("FDSN:IU_COLA_.*")
dl.position_set("LATEST", 0)
dl.stream()
for packet in dl.collect():
print(packet.streamid, len(packet.data))
Command-line client
An interactive client is available after install:
datalink-client [host:port]
Default is localhost:16000. Use datalink-client --help for options (timeout, TLS, auth).
Async usage
This package provides a synchronous client. For async/await support (e.g. with asyncio), use the simpledali package.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datalink_client-1.3.1.tar.gz.
File metadata
- Download URL: datalink_client-1.3.1.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b71d4ef4bd83bf6a86c037476c636296d2612fe8ad143c1ead0dc68b81552c9
|
|
| MD5 |
4517e20a44fd6536696d160f38c39e6f
|
|
| BLAKE2b-256 |
3049881fdafa7a1825b24f893387ac02fc9780b5e9ac0fbb6726374361094f37
|
Provenance
The following attestation bundles were made for datalink_client-1.3.1.tar.gz:
Publisher:
publish.yml on EarthScope/datalink-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datalink_client-1.3.1.tar.gz -
Subject digest:
3b71d4ef4bd83bf6a86c037476c636296d2612fe8ad143c1ead0dc68b81552c9 - Sigstore transparency entry: 1358566215
- Sigstore integration time:
-
Permalink:
EarthScope/datalink-client@58464615f18e9c0c406d8cc00095d1b27fb6fa6c -
Branch / Tag:
refs/tags/v1.3.1 - Owner: https://github.com/EarthScope
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@58464615f18e9c0c406d8cc00095d1b27fb6fa6c -
Trigger Event:
release
-
Statement type:
File details
Details for the file datalink_client-1.3.1-py3-none-any.whl.
File metadata
- Download URL: datalink_client-1.3.1-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f191046086ba4e0a8465d91c06f506b60503c14a8a79b208bb33f50e53e836e
|
|
| MD5 |
a2a61dddaf4083c0ee6de89fd19a86d4
|
|
| BLAKE2b-256 |
5f45044fed0d11f874458bf808828c6767f0c15c9b6d7156b07cb1a0e2ee6719
|
Provenance
The following attestation bundles were made for datalink_client-1.3.1-py3-none-any.whl:
Publisher:
publish.yml on EarthScope/datalink-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datalink_client-1.3.1-py3-none-any.whl -
Subject digest:
5f191046086ba4e0a8465d91c06f506b60503c14a8a79b208bb33f50e53e836e - Sigstore transparency entry: 1358566275
- Sigstore integration time:
-
Permalink:
EarthScope/datalink-client@58464615f18e9c0c406d8cc00095d1b27fb6fa6c -
Branch / Tag:
refs/tags/v1.3.1 - Owner: https://github.com/EarthScope
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@58464615f18e9c0c406d8cc00095d1b27fb6fa6c -
Trigger Event:
release
-
Statement type: