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

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for flarecast-utils-1.4.1.39.tar.gz
Algorithm Hash digest
SHA256 ca930b34d4404d0cd13ec2a18d6c98be65c8367419bc993cd0692055cdfcd6c7
MD5 ccede216de5fbd140eab747bf49984c1
BLAKE2b-256 11f4345d3af331fa1dae471e198127feca5b60dae31f630bae050826e0147f3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flarecast_utils-1.4.1.39-py2-none-any.whl
Algorithm Hash digest
SHA256 bf53a9c8895963b7a9dab3e2f94a16333b1c952c7d0d6af174ef646d6c43bb5a
MD5 049072323b10b3a18c88f96b363444e6
BLAKE2b-256 3edb9acc3619e757e3f4eac6a75100a9f3bbb142a8ad878dae5198355b8fca48

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