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.145.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 154d0536e4bda29b2ac970443224438b3a233dfb49a01bc5236384686e52f4e3 |
|
MD5 | 6f008461b8a75b7659f094d89ebab24b |
|
BLAKE2b-256 | 30040cf8597c9bbbbe48609e1036686e36efdda1d60140ad41a16366b55ea858 |
Close
Hashes for flarecast_utils-1.4.1.145-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 916f4645abf869d6041d694a051b958bd911a486cf87a6cc279b7bf2cd860d97 |
|
MD5 | bb7aa9a6c01df4ddb8b7a39d5c6158d6 |
|
BLAKE2b-256 | e946fa452c7bfe20201c40a8d6b6251d86b973fc72c376294ecd5c248ed3f0d4 |