Jupyter notebooks
Project description
paperboy
A web frontend for scheduling Jupyter Notebooks as reports
Overview
Paperboy is a production-grade application for scheduling reports. It has a flexible architecture and extensible APIs, and can integrate into a wide variety of deployments. It is composed of various industrial-strength technologies from the open source world.
- Jupyter Notebooks for the reports themselves
- Jupyter notebooks are an ideal report template, and with NBConvert support a wide variety of output types, including PDFs, HTML, Emails, etc
- Papermill to parameterize notebooks
- SQLAlchemy for Storage (default)
- Apache Airflow for Scheduling (default)
- Dask for Airflow Workers
- Luigi as a scheduling alternative for
Airflow
(relies oncron
)
- PhosphorJS for the frontend
- Support for Python Virtualenvs via
requirements.txt
or custom Docker images viaDockerfile
s on a per-notebook level - Traitlets parameterization of storage and scheduler classes for easy integration with custom storage backends and custom schedulers
- Single click notebook deployment with Voila and Dokku
Process Flow
- Upload notebook
- Configure job
- start time
- interval
- papermill parameters to autoconfigure reports
- if autoconfiguring reports from papermill:
- run or publish
- output
- notebook
- html
- script
- strip or keep code
- To edit or create additional reports on a job, configure reports
- run or publish
- output
- notebook
- html
- script
- strip or keep code
Installation from source
Paperboy requires Python and Node.js, which can be installed from conda-forge
if conda
is available.
Clone the repository and run following commands to install and launch the application:
- npm install
- npm run build
- pip install -e .
- python -m paperboy
Visit http://0.0.0.0:8080 in a browser to view the application.
The default authentication backend requires the registration of a username that can be used on subsequent launches.
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
Built Distribution
Hashes for jupyter_paperboy-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80f500f5af81f90a5ebaba4c7a78fc31542c41fc96953c4165c524a24d22c8db |
|
MD5 | 4727f962098ab5290bba76d5474fb457 |
|
BLAKE2b-256 | 6ad3517c0ffd78cfa2d94f38f3d93f72b1c357d642896d0e6b683e6be8b86d56 |