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

Uploaded Source

Built Distribution

eqsql-0.12.1-py3-none-any.whl (48.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eqsql-0.12.1.tar.gz
Algorithm Hash digest
SHA256 9e453d1999fa3c49b6fa85f9171a50aafbdd48c0e6316453661a064ef82538be
MD5 9edf26bdc87495e203f597917dab70f9
BLAKE2b-256 1b960f02ab863a12ecf1c8c0ec0dcdbf7ed808bff3ad11347d1eec9fe9712413

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eqsql-0.12.1-py3-none-any.whl
  • Upload date:
  • Size: 48.6 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.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f688dd2f603ff686b95fa4341eb8cb784cdc505c5c268fceda4acc9b89f2d69
MD5 5c09de324ab0ff947b6b10d518cd233b
BLAKE2b-256 a2121b5a186838c023b7123a66263d44e77fe7db865bff093046f9b826fee280

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