Skip to main content

DisJotter allows the user to interactively create a Docker image from a Jupyter Notebook.

Project description

Note: DisJotter is not currently being maintained. It has been forked as 'FAIR-Cells', which is available at:

https://github.com/QCDIS/FAIRCells and https://pypi.org/project/FAIR-Cells/

PyPI - License PyPI

DisJotter

DisJotter is a Jupyter Notebook extension that allows the user to interactively create a Docker image from a Jupyter Notebook. Our tool can be used to generate Docker images from single cells of a Jupyter Notebook. The generated image will run a web service that will output the specified cell. This includes image outputs like plots. Code introspection for Python enables the services to change cell output at service run-time.

Among other things, DisJotter is useful for reusing notebook components in workflows that support web services.

... More information to follow ...

Installation

DisJotter can be downloaded using pip. It then needs to be enabled using three Jupyter commands. Docker is required for the extension to have any effect.

$ [sudo] pip install disjotter
$ jupyter serverextension enable --py disjotter
$ jupyter nbextension install --py disjotter
$ jupyter nbextension enable --py disjotter

Development

To keep your system clean it is recommended to develop using Docker. The following command will run a Jupyter Notebook server with DisJotter enabled at http://localhost:8888. Autoreload is enabled for Python files, you will need to reload your browser to see changes in the front-end.

$ docker-compose up --build main

To test the helper server that runs inside of the container run the following command. This uses a dummy notebook that can be found in docker/helper_dummy. The notebook will be available at http://localhost:10000

$ docker-compose up --build helper

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

DisJotter-1.0.5.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

DisJotter-1.0.5-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file DisJotter-1.0.5.tar.gz.

File metadata

  • Download URL: DisJotter-1.0.5.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

File hashes

Hashes for DisJotter-1.0.5.tar.gz
Algorithm Hash digest
SHA256 047cd8872b2e580cec1bb3f5b302a5681f5e216a0e7ce7ac49be591ff3f33d0c
MD5 0ae6bcfec8763b081a3a08295e920f3a
BLAKE2b-256 e9a3d79d19b7c57244892daf88ac8e171445912fa85c4164abcf9698eee4c07b

See more details on using hashes here.

File details

Details for the file DisJotter-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: DisJotter-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 23.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

File hashes

Hashes for DisJotter-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0dc4a9a6b4d5a637c614efa7bd9f8baae315eced08b514b568a5a4c2b73c1a8c
MD5 055c3550e1cbd0598dfa45ea83fa501c
BLAKE2b-256 1b4c5e980ebad75933ac8960467e91869ce1ecf10ff12139a48d8efd7330a857

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page