Skip to main content

FAIR-Cells allows the user to interactively create a Docker image from a Jupyter Notebook.

Project description

Upload Python Package

FAIR-Cells

FAIR-Cells 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, FAIR-Cells is useful for reusing notebook components in workflows that support web services.

... More information to follow ...

Installation

FAIR-Cells 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 jupyter --user
$ [sudo] pip install fair-cells --user
$ jupyter serverextension enable --py fair-cells --user
$ jupyter nbextension install --py fair-cells --user
$ jupyter nbextension enable fair-cells --user --py

Run with Docker

docker run -it -p 8888:8888  -e GEN_CERT=yes -v /var/run/docker.sock:/var/run/docker.sock qcdis/fair-cells 

Development

To keep your system clean it is recommended to develop using Docker. The following command will run a Jupyter Notebook server with FAIR-Cells 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

FAIR-Cells-1.0.11.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

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

FAIR_Cells-1.0.11-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file FAIR-Cells-1.0.11.tar.gz.

File metadata

  • Download URL: FAIR-Cells-1.0.11.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

File hashes

Hashes for FAIR-Cells-1.0.11.tar.gz
Algorithm Hash digest
SHA256 e8fadf9c1b6b534829b01ff10f85ddd4046a7ae15a61fce70cc104a9883e07d3
MD5 7187097ba55ead38a6adb960832eb1ce
BLAKE2b-256 bd3402a125477a28c705b7317ade37cc3f491656d23f7c324f5dba04111f6678

See more details on using hashes here.

File details

Details for the file FAIR_Cells-1.0.11-py3-none-any.whl.

File metadata

  • Download URL: FAIR_Cells-1.0.11-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

File hashes

Hashes for FAIR_Cells-1.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 33b24ccba7f7443a1460771fb69f2f863429ba083b30bc3f96a2b99d4f87456b
MD5 98933208f9fd98572451aa0e67ac9e3f
BLAKE2b-256 063cc8a8e1339ed943135174d2dfe7390088c7ad499c58b5cd68957f8ad93dc0

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