Django app that manages the creation of, and proxies requests to, Docker containers
This Django app manages and proxies requests to Docker containers. The primary goal has been to provide a visualization framework for the Refinery Project, but nothing should prevent its use in other contexts, as well.
In order for a Docker container to work with this package it must at a minimum:
- listen on some port for HTTP connections, and
- accept a single JSON file as input.
Install Docker if you haven't already, then download the project, install dependencies, and run the demo server:
$ git clone https://github.com/refinery-platform/django_docker_engine.git $ cd django_docker_engine $ pip install -r requirements-dev.txt $ pip install -r requirements.txt $ ./manage.py runserver
Visit the demo server: From there you can pick a visualization tool and a data file to launch a container, see the requests made against each container, and kill the containers you've launched.
Visualization tools have been built with a range of languages and they may have numerous, and possibly conflicting, dependencies. For the Refinery Platform, a data management, analysis, and visualization system for bioinformatics and computational biology applications, we have tried to accommodate the widest range of tools by creating
django_docker_engine, a Python package, available on PyPI, which launches Docker containers, proxies requests from Django to the containers, and records each request.
In the Refinery Platform, interactive visualizations managed by
django_docker_engine complement workflows managed by Galaxy: Both tools lower barriers to entry and make it possible for end users to run sophisticated analyses on their own data. Refinery adds user management, access control, and provenance tracking facilities to make research more reproducible.
django_docker_engine will be useful in any environment which needs to provide access to pre-existing or independently developed tools from within a Django application with responsibility for user authentication, access control, and data management.
- for users of the library
- for developers of the library
- for developers of visualizations
- background reading
- API documentation
- BOSC 2018 poster
In your branch update VERSION.txt, using semantic versioning: When the PR is merged, the successful Travis build will push a new version to pypi.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|django_docker_engine-0.1.3-py2.py3-none-any.whl (15.0 kB) Copy SHA256 hash SHA256||Wheel||py2.py3|
|django_docker_engine-0.1.3.tar.gz (12.4 kB) Copy SHA256 hash SHA256||Source||None|