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.128.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f7ff0f48aba7859c8ad5ab9ad692fb1e5eca45e343239409c21991a0e573836 |
|
MD5 | 203553476186482a7776cff8ab0c92e9 |
|
BLAKE2b-256 | 3d5c025e98cc4da4c68dc7380574c208540c46f55abec0a8b4d379825c146fb5 |
Close
Hashes for flarecast_utils-1.4.1.128-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20ff1caa53442677d69224db2943879f23ce8d02d5f0194af08fc653a4e6e9c2 |
|
MD5 | 98bb81d0958c5a95036d68910f513703 |
|
BLAKE2b-256 | b8b76640c56e0feca1f8645835b5e5eee1448d6707e83c4729a14a0a795f1fca |