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.174.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for flarecast-utils-1.4.1.174.tar.gz
Algorithm Hash digest
SHA256 ffdc90b1c521e03dd72cc981375cd2d6c619f60a9174ac46f65bc3cbd6b44bb0
MD5 d5231a88c3bcd174e0327e956d1a6d9e
BLAKE2b-256 026879cbed029fa94ab98b679a994d9cec6227f86e5ec00d194b29c36f094575

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flarecast_utils-1.4.1.174-py2-none-any.whl
Algorithm Hash digest
SHA256 09372a4578f3a30f8803e0b419203f46fe3e12a3edd53fef2f62b8035795052c
MD5 b4d9e2257a1dbc9438e8bd7d34ca6e17
BLAKE2b-256 93ccb19fe8a66eb81856e7d159cd58aa7ab3389357f1dd5f457d5585e9029f77

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