Skip to main content

Flarecast utils provides tools to interact with the flarecast infrastructure.

Project description

Latest Version Development Status Python Versions

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

flarecast-utils-1.4.1.147.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

flarecast_utils-1.4.1.147-py2-none-any.whl (7.0 kB view details)

Uploaded Python 2

File details

Details for the file flarecast-utils-1.4.1.147.tar.gz.

File metadata

File hashes

Hashes for flarecast-utils-1.4.1.147.tar.gz
Algorithm Hash digest
SHA256 2bade56979ce899e8b81a856386b12ac8e46c49e2fe973b3ff3f51ee751b9037
MD5 2ab09eb9b674ad367c0f561a4d143c36
BLAKE2b-256 8e1fd64703a538da6efee99add3e7616cec65b638e7646730ac12b645ce39756

See more details on using hashes here.

File details

Details for the file flarecast_utils-1.4.1.147-py2-none-any.whl.

File metadata

File hashes

Hashes for flarecast_utils-1.4.1.147-py2-none-any.whl
Algorithm Hash digest
SHA256 d5b6901e4f8c981a99ca7ee81bd7e0c080b683a5a04ecb56790702833632f468
MD5 90702c8c6c557ba0ca6a42b2e880e78c
BLAKE2b-256 e847abefcc77dd83ad385c35966d7f996add6e008c3a55b8ff0e94e5c0b8bb51

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page