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

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for flarecast-utils-1.4.1.65.tar.gz
Algorithm Hash digest
SHA256 daf11a1fc14453616ca6872c99b9bddd097296c01da25a34ac4b04b5640dcf1c
MD5 89722a4caff7ba847d373b9953039f2a
BLAKE2b-256 9eca16a3d3b4ed5f1373b234dc23fac754d3e204365fc867d9d3a2d2deb8a30e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flarecast_utils-1.4.1.65-py2-none-any.whl
Algorithm Hash digest
SHA256 5ad4ba89d423abe54a1ca0061d73d4eab6fcc877cc5d13708510e1be01886fe2
MD5 9f3bf484147bae95fbdd1cfabbd35c41
BLAKE2b-256 3c052421713124f890af3a074c681264d9ff83225e6bc18e38a76651e340689e

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