Skip to main content

Simple Queue Manager, also sqmpy, is a web interface for submitting jobs to HPC resources.

Project description

sqmpy stands for simple queue manager written in python and is a web application which is based on Flask miroframework and SAGA-Python distributed computing access layer. Sqmpy lets user to submit simple python or shell scripts on remote machines. Then user can monitor the running job in job detail page. The notification system will send emails after status changes to the user. Moreover sqmpy lets user to have a history of previous jobs and all files related to those jobs.


Sqmpy has a few dependencies which will be installed while installing with python setup or pip:

  • SAGA-python
  • Flask
  • Flask-SQLAlchemy
  • Flask-Login
  • Flask-WTF
  • Flask-Admin
  • Flask-CSRF
  • enum34
  • py-bcrypt


I suggest to install a virtaul environment to try sqmpy or if you want to run it on your local machine. If you have virtual-env installed then:

$ virtual-env --no-site-packages sqmpy-env
$ . sqmpy-env/bin/activate

If you don’t have virutal-env on your machine then try to download it. Please be aware that this is outdated since new versions of virtualenv do not download and install pip and setuptools for security reasons:

$ wget
$ python --no-site-packages sqmpy-env
$ . sqmpy-env/bin/activate

To install sqmpy from pypi:

$ pip install sqmpy

To install from git:

$ git clone git://
$ cd simple-queue-manager
$ python setup install


There are a few settings which sqmpy can read from a configuration file. There is a default_config python module in sqmpy package that contains default configuration values. The same configurations can be read from a user defined config file via SQMPY_CONFIG environment variable:

$ export SQMPY_CONFIG = /path/to/config/file/
$ python

Run With No Configuration

In this case sqmpy will user in-memory sqlite db, logging to stdout, and a temp folder for staging files. State will lost after restarting the application.

Using Sqmpy

Sqmpy is a flask web application therefor it runs like any other flask applications. Put the following code in apython file called and run it:

from sqmpy import app'', port=5001, debug=True)

About Files and Folders, Local or Remote

Sqmpy will create a sqmpy.log and sqmpy.db and a staging folder called staging. The path to these files are being read from config values: LOG_FILE, SQLALCHEMY_DATABASE_URI and STAGING_FOLDER. Staginf folder will contain uploaded files and script files created by sqmpy. Moreover on remote machiens Sqmpy will create another folder called sqmpy in user home directory and will upload files there before running tasks. For each job one folder will be created and will be set as job working directory. This folder will contain input and output files as well as script file and any other files being produced or consumed by the remote job.

Project details

Download files

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

Files for sqmpy, version v1.0.0-alpha.3
Filename, size File type Python version Upload date Hashes
Filename, size sqmpy-v1.0.0-alpha.3.tar.gz (238.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page