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

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for flarecast-utils-1.4.1.121.tar.gz
Algorithm Hash digest
SHA256 610ca2e1a7642647c95d77c437e2a34b82f82bd5f92a9c8f18eeb6de08cc4221
MD5 08c942f88a151c1f58d0c436f6a2bdb3
BLAKE2b-256 d521c65637c054e9b342e5607c2482ca63fed011e05b8bd2b086dbc36fb9b045

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flarecast_utils-1.4.1.121-py2-none-any.whl
Algorithm Hash digest
SHA256 667e5ce90b694befc47726f4d33b8fde2e818d564837e7d536bc16f0a3c10808
MD5 3b631e477549dabbef3d531fa7350c03
BLAKE2b-256 53cd09b229f49e1f6fcbaafe71604a44290d25191418d25eea2d1ddfe84edc14

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