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

Uploaded Python 3

File details

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

File metadata

  • Download URL: beaconclient-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 77b2aed2fff28bd2078494563cde62e465fa2c7604756009a10a7ae88beb7b24
MD5 eafef99672d43ecd2064258fda3add51
BLAKE2b-256 b88ee59305452776810cc284501d7b7367cfda04c9843f06562e0e02d940d9ef

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