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.124.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f08bf7c18d9da9021d624d7d9d5f671dd090ddd12cc9d583c7365859581b73e |
|
MD5 | 2ef4ba24149ca1f84f6c3e6cca77d17d |
|
BLAKE2b-256 | e3ee0f20164550c17829a86d24d3511a22c01cb7c8dcaebc2a95eb13fafd3bc4 |
Close
Hashes for flarecast_utils-1.4.1.124-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8e0b7df855bbe0c1b71bc300e06ce3a5a18ad22977a41ca32bf6938fcb81a53 |
|
MD5 | fa3f5716a6fa7ed95d357b1d33d09a60 |
|
BLAKE2b-256 | bbf0fb2b3834f794698de7e8f911583a8886f3575128d03d5c4cec2515490deb |