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.64-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ecffa399599e396eb7855c65fe2025f3ceae8f202409eb55dd35c3303e8ea61 |
|
MD5 | 8053ab02a0b85070e93c053a45f5c6e8 |
|
BLAKE2b-256 | 85bf98e503dc0cee51ce0f1d76562618ddbab5cdf5e024c4879ce6a96f35a4b3 |