Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

beaconclient-1.0.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file beaconclient-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: beaconclient-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.14

File hashes

Hashes for beaconclient-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 447e43b033f42054be4019df3abb8544228617dcf58bc46eaa88683a56764228
MD5 e802bcb24d4acb6d102c4c6e6158a082
BLAKE2b-256 e1e8bc8f8b353d165c1e4c54bd0aa4ba212a9c20f715bffb5ac95252f5e7cadd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page