Client to access to Beacon services
Project description
Client to access to Beacon services.
Actually it provides:
- Synchronous sequencial client (
beaconclient.syncio.BeaconClient) - Asynchronous sequencial client (
beaconclient.asyncio.BeaconClient) - Sans I/O protocol (
beaconclient.protocol) to create other clients - Config helper (
beaconclient.config.read-config) to read ocnfig from file or beacon URIs.
Notice that the BLISS project provides it's own beacon client supporting the whole API with a non-seqnencial implementation.
Sync client
Client to access to configuration files, redis addresses, and stored keys.
from beaconclient.syncio import BeaconClient
client = BeaconClient()
redis_address = client.get_redis_db()
Async client
Async client to access to configuration files, redis addresses, and stored keys.
from beaconclient.asyncio import BeaconClient
client = BeaconClient()
redis_address = await client.get_redis_db()
Read configuration
Helper to read yaml configuration file.
from beaconclient.config import read_config
content = read_config("beacon:///path/to/file.yml")
content2 = read_config("file:///my_file.yml')
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 Distributions
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 beaconclient-1.0.3-py3-none-any.whl.
File metadata
- Download URL: beaconclient-1.0.3-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
571013bc1c0f1975bcf2a1e5baf25e38cb757bbc52c6c9e5869d2b1b3938a31a
|
|
| MD5 |
fb91a227a298f74810c378d45985b247
|
|
| BLAKE2b-256 |
f0f520fc8db1af16b664824c1cc61b8b6e7c5138f8c7f1cf3a6685c0ca8950b3
|