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

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for flarecast-utils-1.4.1.145.tar.gz
Algorithm Hash digest
SHA256 154d0536e4bda29b2ac970443224438b3a233dfb49a01bc5236384686e52f4e3
MD5 6f008461b8a75b7659f094d89ebab24b
BLAKE2b-256 30040cf8597c9bbbbe48609e1036686e36efdda1d60140ad41a16366b55ea858

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flarecast_utils-1.4.1.145-py2-none-any.whl
Algorithm Hash digest
SHA256 916f4645abf869d6041d694a051b958bd911a486cf87a6cc279b7bf2cd860d97
MD5 bb7aa9a6c01df4ddb8b7a39d5c6158d6
BLAKE2b-256 e946fa452c7bfe20201c40a8d6b6251d86b973fc72c376294ecd5c248ed3f0d4

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