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.163.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26e661e9c4788250b4a55f3838758650f7fb642e02fed243a0d171bc2c716256 |
|
MD5 | ff1b83812821b8aef9310f1b36a824d8 |
|
BLAKE2b-256 | e392433de73d4a7ef65f88a11f3ef8d7b0e72a9543be507009f4e2deab459fec |
Close
Hashes for flarecast_utils-1.4.1.163-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc069ede49a514b6e2f5dcb7e9cbd277bb85d10f560eb5386c30ed097ff092af |
|
MD5 | 99d3ab1dfedacb3ca10a51d6e6553197 |
|
BLAKE2b-256 | e00f641feb14da2c95dd736e3607340cc0379e7d2462a15bd961401070c430cf |