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.135.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4556a85a9a3abb9f58d0892f28c6af66578dd032433c2bd70c988b3b98b562c1 |
|
MD5 | ad790ae8dc274dd2ae32e86804883bde |
|
BLAKE2b-256 | 37a0fcc2dad47b1f3f385aa4e027a896a1516561d07916662e0f70e7798c6b22 |
Close
Hashes for flarecast_utils-1.4.1.135-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dfe0c2e9e24c419bf228abd0f55c7b48e976027863aa054fc7dc23f5ceadeb1 |
|
MD5 | 7a3caf5d11a0872a98d33d535f002ad8 |
|
BLAKE2b-256 | 9a2abe028293059610d16e29d24cd3466095cc12869526f35633ca43e8d2a665 |