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

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for flarecast-utils-1.4.1.165.tar.gz
Algorithm Hash digest
SHA256 befb499f2c96b76a33b79d5d9b2f8d6cd52977fbe2a8ef1cad59dcfc593a2932
MD5 4ce6eb3f36495e802cc71acf7712aac7
BLAKE2b-256 9b78f02869f29e1708e2a7fb69134dc01a6ffba27e09ebdb8365f996689b0e0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flarecast_utils-1.4.1.165-py2-none-any.whl
Algorithm Hash digest
SHA256 6c6f8499892b30a787ffa9615888424c9595155a85f8d30f2ef4a8d7d8bbf974
MD5 cc55d4fc9674c5a162643f82657839a9
BLAKE2b-256 33f8eacc7613a97c8913f9603a6d4a7d7c3abe4ab8ac1e59e0447a30938baa58

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