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.3-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

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

Hashes for beaconclient-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 571013bc1c0f1975bcf2a1e5baf25e38cb757bbc52c6c9e5869d2b1b3938a31a
MD5 fb91a227a298f74810c378d45985b247
BLAKE2b-256 f0f520fc8db1af16b664824c1cc61b8b6e7c5138f8c7f1cf3a6685c0ca8950b3

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