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.143.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52c8a0a049a6b131cb126a79390c2f3b6dd9c259ad22c82e621b265870ab14f1 |
|
MD5 | f99812f597d594d44b3d46284c73ca95 |
|
BLAKE2b-256 | 4288da8d5ad7c9545210975839b7f7e358eedcfa2c91d6f96d45ff29012f2784 |
Close
Hashes for flarecast_utils-1.4.1.143-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 214f777b21e6ca83c878bd8903ae767eadecd4dc7d1dc5202fe6c6b88d45e663 |
|
MD5 | bd24e5822f479d9ea2bd72219acf80d5 |
|
BLAKE2b-256 | 30c0732e85cd81316d74fc265d38bbd18f024cb891642003fb4f32352e19e085 |