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.140.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 838d966523131e6718424384bc3c8778f2fa9f5d025317d688b506d15ca707ca |
|
MD5 | 91a616ffaefe51ad9a6c170239de7e11 |
|
BLAKE2b-256 | 9773fe24e7d6ececb609fc8077ea996641ecb08363c49948c344146b03df58ac |
Close
Hashes for flarecast_utils-1.4.1.140-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a057635aefa68f1553dfa3c6f2d5b92385adde56ef1734702f39af4c3cb73fd8 |
|
MD5 | cb5111526cd85f777d6726ebaf620609 |
|
BLAKE2b-256 | 41f020e10391354129ccdd17b5e4b101bd1eaeb098af79c5574b79b23438a3de |