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
File details
Details for the file flarecast-utils-1.4.1.174.tar.gz
.
File metadata
- Download URL: flarecast-utils-1.4.1.174.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffdc90b1c521e03dd72cc981375cd2d6c619f60a9174ac46f65bc3cbd6b44bb0 |
|
MD5 | d5231a88c3bcd174e0327e956d1a6d9e |
|
BLAKE2b-256 | 026879cbed029fa94ab98b679a994d9cec6227f86e5ec00d194b29c36f094575 |
File details
Details for the file flarecast_utils-1.4.1.174-py2-none-any.whl
.
File metadata
- Download URL: flarecast_utils-1.4.1.174-py2-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09372a4578f3a30f8803e0b419203f46fe3e12a3edd53fef2f62b8035795052c |
|
MD5 | b4d9e2257a1dbc9438e8bd7d34ca6e17 |
|
BLAKE2b-256 | 93ccb19fe8a66eb81856e7d159cd58aa7ab3389357f1dd5f457d5585e9029f77 |