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

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for flarecast-utils-1.4.1.135.tar.gz
Algorithm Hash digest
SHA256 4556a85a9a3abb9f58d0892f28c6af66578dd032433c2bd70c988b3b98b562c1
MD5 ad790ae8dc274dd2ae32e86804883bde
BLAKE2b-256 37a0fcc2dad47b1f3f385aa4e027a896a1516561d07916662e0f70e7798c6b22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flarecast_utils-1.4.1.135-py2-none-any.whl
Algorithm Hash digest
SHA256 0dfe0c2e9e24c419bf228abd0f55c7b48e976027863aa054fc7dc23f5ceadeb1
MD5 7a3caf5d11a0872a98d33d535f002ad8
BLAKE2b-256 9a2abe028293059610d16e29d24cd3466095cc12869526f35633ca43e8d2a665

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