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.155.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34482f6fc9b7e42b6efaa07183f58fc7036a949b30c8abd4b06b8f4515ef884c |
|
MD5 | 7b5107d7e61489f68038b8a415eaf289 |
|
BLAKE2b-256 | 05b11740192c12706ad715c6c955f5138c8b0b23bc73acb60b56ea357fc0de30 |
Close
Hashes for flarecast_utils-1.4.1.155-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb8e1efb868f82a9b3e8c156520b826548dc8820f97c5bb941c920e7c8013879 |
|
MD5 | 46fdd131d8239fd7cf4e2731df7329cd |
|
BLAKE2b-256 | 23fd5b397f265aca71a8ea73fa34552b7cbd5506dbfe15c7e8b38f80094136c2 |