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

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for flarecast-utils-1.4.1.109.tar.gz
Algorithm Hash digest
SHA256 c40df9fe077d0a1928df120aeda6e19a07a54dcf66ca1363a817ce51df76708d
MD5 7e490931f879513b96062801e5b36583
BLAKE2b-256 45359bb073798b94ad202e58847c1f07db30fa750e47a7b53f4225e9f23d40fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flarecast_utils-1.4.1.109-py2-none-any.whl
Algorithm Hash digest
SHA256 d96567da791757e8c9b5974d9e0529a469378a11c8008e81d6ac5291bb48c2f1
MD5 4be6ee9d0c96f7b56b8115f0c4d0713b
BLAKE2b-256 ce1aa9333d9150f1c4bdab498419ac04180a72d272bd5f5818c4671cccd428e9

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