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

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for flarecast-utils-1.4.1.101.tar.gz
Algorithm Hash digest
SHA256 7e53680ca7cb077739230f87b738ec5eca63dbd15c2d6493b4431970fb18bf28
MD5 a35e32bf55d8dae4e6c90fd99ea0a69b
BLAKE2b-256 9d6449fa808fcf925924618fe7dd15f177520e3555445c2cdd35cce4ea2e656c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flarecast_utils-1.4.1.101-py2-none-any.whl
Algorithm Hash digest
SHA256 ce429128bb9488aed87e224d289fedab0284319cab002363aaf841ef87f7a525
MD5 fa5bd457e423253a62e208c72b6a7c34
BLAKE2b-256 ecfe5185b4a13ad772b4ab65026660dd10383f3a7401d775c414e387f61f58a2

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