Skip to main content

The eqsql package provies an API for HPC workflows to submit, run, and retrieve tasks (such as simulation model runs) using queues implemented in a database.

Project description

EMEWS QUEUES in SQL for Python

The eqsql package provies an API for HPC workflows to submit tasks (such as simulation model runs) to a queue implemented in a database. eqsql worker pools pop tasks off this queue for evaluation, and push the results back to a database input queue. The tasks can be provided by a Python or R language model exploration (ME) algorithm.

A task is submitted with the following arguments: an experiment id; the task work type; the task payload; an optional priority that defaults to 0; and an optional metadata tag string. The payload contains sufficient information for a worker pool to execute the task and is typically a JSON formatted string, either a JSON dictionary or in less complex cases a simple JSON list. On submission, the API creates a unique task identifier (an integer) for the task and inserts that identifier, the experiment identifier, the work type, and the payload into the EMEWS DB tasks table, together with a task creation timestamp. That task identifier, priority and work type are then inserted into the EMEWS DB output queue table.

API docs are here

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eqsql-0.10.3.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

eqsql-0.10.3-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file eqsql-0.10.3.tar.gz.

File metadata

  • Download URL: eqsql-0.10.3.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for eqsql-0.10.3.tar.gz
Algorithm Hash digest
SHA256 d4463b3fd1745dafd6e73f4ce886aaeb3377f745adea4671919bffb0f5ed942d
MD5 9c7452e756ba097da938f8ec40fcc11a
BLAKE2b-256 913209c90c0493161429e416b8452d24856d59d43d2f5a6b779badaa5cf8fc96

See more details on using hashes here.

File details

Details for the file eqsql-0.10.3-py3-none-any.whl.

File metadata

  • Download URL: eqsql-0.10.3-py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for eqsql-0.10.3-py3-none-any.whl
Algorithm Hash digest
SHA256 295006b1f22b7028cfe87142ea40785d4ae187cacdbc64bd4e13f12d633384ef
MD5 79f6fd72ce7c2b4d8f4dd8ccb39e968d
BLAKE2b-256 d59313a5639104260e7d5c2c08a2175632d840efe3d0010cd0d0ed594053d125

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