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(provenance=PROVENANCE,
                                      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(host=globalconfig.DB_HOST,
                                        port=globalconfig.DB_PORT,
                                        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.2.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

flarecast_utils-1.2.0-py2-none-any.whl (9.7 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for flarecast-utils-1.2.0.tar.gz
Algorithm Hash digest
SHA256 d589c1f2a1172043c82ca0e6a5384e1a5cf2c5cde26865bf65a75b5440166e7b
MD5 b69cff407760e1b7d4cdb22a18a30f34
BLAKE2b-256 3aaceef1a5657766568cde84f004317c730492d2a14a64f637f4d02c534f9e58

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flarecast_utils-1.2.0-py2-none-any.whl
Algorithm Hash digest
SHA256 637d9a21052fcb9e1cffe3d0210531a4c8bae542f15c1b732373a58c24aeef62
MD5 bc113a8cccf99c16856f96f80b72d494
BLAKE2b-256 fa658a71742d06074c73889d2db4a6492f45e5136d20a69a854c42f78746d955

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