Flarecast utils provides tools to interact with the flarecast infrastructure.
Project description
Flarecast Utils combine some tools which you can use to develop your application for the flarecast infrastructure.
Property-DB Client
Example
client = PropertyDBClient(PROPERTY_DB_REST_ADDRESS)
payload = []
payload.append({'test':'hello'})
result = client.insert_property_group(dataset=DATASET,
property_group_type=property_group_type,
body=payload)
Global Config Loader
Example
Load configuration
# load configuration
globalconfig = GlobalConfig('config url')
globalconfig.load()
Use configuration
self.__pg = PostgresNoSQLClient("db",
port=5432,
user=globalconfig.DB_USER,
password=globalconfig.DB_PASSWORD)
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 Distribution
Built Distribution
Close
Hashes for flarecast-utils-1.4.1.136.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 572689c8ff44cda979625896c17dcdbdb33b0281b82dd7561e73a432f47816d8 |
|
MD5 | 730f7adea95de770d22cf4753a252a9b |
|
BLAKE2b-256 | 384f87d5853acc87e6a62d5f3c995e20f3022eced53a8a49d29bf9442397c921 |
Close
Hashes for flarecast_utils-1.4.1.136-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 148f7be39156a4106925e772247b47e94c4c6a91e1b72859f6fb20fbec95728f |
|
MD5 | c77affc09ae371442b3ee5c58e188a4d |
|
BLAKE2b-256 | 911c0206b004ec5c0aaac31ab81086cfa6232070fc2e96326737765dcf092bba |