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.132.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6978009ceb9db9fbf8247d2b496aecf5351d0774e9d3769962dfb07e23e31cfb |
|
MD5 | 428e44c9efa5a529b99a38d772c7a51a |
|
BLAKE2b-256 | 184d61df4c5e97deeca3b8d0b9a019f33b2da80d51584fa21f7e5f6dd9ca4714 |
Close
Hashes for flarecast_utils-1.4.1.132-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7962d7f3a2a9de26bd406c676b6a76f9c5dffcd78e12a3fe5c773ae863a0cbf |
|
MD5 | d663d66f6f61b2a9752e9367b18e5162 |
|
BLAKE2b-256 | 63d77f681b653791dba93e490a8c84df17ea714564ac93184afc87c11fbe02f6 |