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.109.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c40df9fe077d0a1928df120aeda6e19a07a54dcf66ca1363a817ce51df76708d |
|
MD5 | 7e490931f879513b96062801e5b36583 |
|
BLAKE2b-256 | 45359bb073798b94ad202e58847c1f07db30fa750e47a7b53f4225e9f23d40fc |
Close
Hashes for flarecast_utils-1.4.1.109-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d96567da791757e8c9b5974d9e0529a469378a11c8008e81d6ac5291bb48c2f1 |
|
MD5 | 4be6ee9d0c96f7b56b8115f0c4d0713b |
|
BLAKE2b-256 | ce1aa9333d9150f1c4bdab498419ac04180a72d272bd5f5818c4671cccd428e9 |