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

Uploaded Source

Built Distribution

flarecast_utils-1.4.1.78-py2-none-any.whl (6.5 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for flarecast-utils-1.4.1.78.tar.gz
Algorithm Hash digest
SHA256 7d782b86d31f1f3dc05c88421619b87d4f8f7eb86d3504f5bdfeb0ec494a225f
MD5 251db0dade34627185dd901e59cc0a7b
BLAKE2b-256 ebf10fefe32e67dff389516e3c9d229f1df6f462b740d9c46a93e1016afd3e32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flarecast_utils-1.4.1.78-py2-none-any.whl
Algorithm Hash digest
SHA256 6c44c0f2ea7306b44d3764447ea63d5d274a7743d4eeb6aaf4f8b64da793992a
MD5 cf0255760277dcf8c90143319d8fbd51
BLAKE2b-256 3b516120f268ebeb736603af3b9724b97c92c06d2b50327e6ac0c2e5be10cd8c

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