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.159.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d45d7fdcccbac955889c397d4860a96c2d20ebbf41abad3579cc9ab5e0e063de |
|
MD5 | c7def99ff4bb8ef78a5942831c8fb367 |
|
BLAKE2b-256 | c7e9ab02e536e65127c5e7bf6835efda2418ce8d448a3cdc2e6fce0038849da6 |
Close
Hashes for flarecast_utils-1.4.1.159-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b94410666df69ecc027533c949db161ff70e41aaedaf15d9ae3f5df27f79a002 |
|
MD5 | 817e23fec9d35640be69d569136fd5c8 |
|
BLAKE2b-256 | dfa3b82fcfba1a68684ada3d45ea0f3df40c89b459ab29671c385265f1f3ab04 |