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.142.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7aa0253a7f885dba20e66a73396d31c920ea57a5b8d8aa28e6fe52a19fbb9d2 |
|
MD5 | cd900295be6f2e887d65b33fb6aff9d8 |
|
BLAKE2b-256 | 4733f37d37fe62aee7f16b9c575a6933bcf0f2626fcc1e3759c5640fb7a7ca20 |
Close
Hashes for flarecast_utils-1.4.1.142-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0ee7f41f902e6baf76b5158d0d8b3433b8a85ee18cc290a0fd6aae21047b14d |
|
MD5 | 58911b2c26363a82c56c9e28b6dc8415 |
|
BLAKE2b-256 | 1236af267bd4de0eaf468632cac85cb1de8f1d79f9865a305096bba0aaab3948 |