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.117.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8148061053edc8f8c71f3e938f5a27495248853e15fd86171f4283a75e23daf7 |
|
MD5 | e9ec1eb5b9daf180af17be933b40e279 |
|
BLAKE2b-256 | 4e85d0b1553903e082101f56ec0fd93f37d9af00ac3dfafb729109a5d7bfec8f |
Close
Hashes for flarecast_utils-1.4.1.117-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd437c6a95b417a6ed95a13ee662bfab13bd4646afa5b1c25ce0b1532220e9fa |
|
MD5 | b2ae1a959209d37788323848c81895f4 |
|
BLAKE2b-256 | 7d4068f87d99f745552f7bd5852ae2080d7316cbb9d5698203f5c427e769f23b |