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

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for flarecast-utils-1.4.1.163.tar.gz
Algorithm Hash digest
SHA256 26e661e9c4788250b4a55f3838758650f7fb642e02fed243a0d171bc2c716256
MD5 ff1b83812821b8aef9310f1b36a824d8
BLAKE2b-256 e392433de73d4a7ef65f88a11f3ef8d7b0e72a9543be507009f4e2deab459fec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flarecast_utils-1.4.1.163-py2-none-any.whl
Algorithm Hash digest
SHA256 bc069ede49a514b6e2f5dcb7e9cbd277bb85d10f560eb5386c30ed097ff092af
MD5 99d3ab1dfedacb3ca10a51d6e6553197
BLAKE2b-256 e00f641feb14da2c95dd736e3607340cc0379e7d2462a15bd961401070c430cf

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