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.160.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 045623e35939344626965bc8b81eaba32002e85c7b845266ead12d8ff193a765 |
|
MD5 | 7fcacbcbe1b8bfdab8e91e1c0f0bbe21 |
|
BLAKE2b-256 | 579dd2a68dd4ce23e328674664e31384c75d31f56c345969acaf28801e309a8e |
Close
Hashes for flarecast_utils-1.4.1.160-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9eeaeecb627015cf77e257a6176d8fd26cc2539aa266772758d17844927b41ed |
|
MD5 | 04b848fabe7d46f1c4e44eb3b3cf5915 |
|
BLAKE2b-256 | 32ffa13d7813242b58f13d3d12f1bbc7317731733518acb53d3e3986004d29bf |