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

Uploaded Source

Built Distribution

flarecast_utils-1.4.1.28-py2-none-any.whl (6.5 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for flarecast-utils-1.4.1.28.tar.gz
Algorithm Hash digest
SHA256 4445077699e3860c0556aa576b585a5240d5d26586bf3009b2f7df3de8e8c5fd
MD5 ea1ac2cb266986c0b7bd7ad746d44e52
BLAKE2b-256 72cccee32e9687a8bae61955fb03c7a2428b97131356f0f18ccd625fa6a5466f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flarecast_utils-1.4.1.28-py2-none-any.whl
Algorithm Hash digest
SHA256 a44adb3c8724f323c508fdf645128c5f46ec4c02a0c2cecb01abca4f38a5691f
MD5 03d6ed8ce61ebd68edc6c27daff60cb7
BLAKE2b-256 573683ef2b006833e869f3876d50aa5088ca4e0ab6b4f3e0b9383fc0eb74a4d1

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