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.151.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7957c78b3351eba8ecb21f394149479e2722eac3ce2e60b55b17d16e5912c02e |
|
MD5 | c79c5b7228aea5bee2ee47b250fb118e |
|
BLAKE2b-256 | 2b225a57089584c3e12c99a54e70a9f1208f2b7728222ad794c311824f037397 |
Close
Hashes for flarecast_utils-1.4.1.151-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a7e7b0e6c013fbccd91a5d342c82444d339a2a822d765b00aed4e67ea295a90 |
|
MD5 | 82a19d2c155800ecfe7903125902347e |
|
BLAKE2b-256 | e084492e72860756f1ac1ad77c14995d56e4c26ca1abca1c1d14f9735a197ce4 |