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.102.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dded63db001b20cb221a8eed90129380bb787d434f34988223313a8f7afc148f |
|
MD5 | 400b44539dd2eff717e87613928b8865 |
|
BLAKE2b-256 | 8d1771d4ef3033ef661314cc36b4e82526787833858786a4e08ec33a0e8067d5 |
Close
Hashes for flarecast_utils-1.4.1.102-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a354be35263e3d6a49d9fba3019ac52f6b9d778183ab211dd5c4a976e6cad34 |
|
MD5 | 171d5f98420f3ab5500c150e6f33641c |
|
BLAKE2b-256 | 82693277361e81461003f36cf3d88dc9fbe73b59bf280c642470951e55088c2f |