Skip to main content
=============
NotebookToAll
=============


.. image:: https://img.shields.io/pypi/v/notebooktoall.svg
:target: https://pypi.python.org/pypi/notebooktoall

.. image:: https://img.shields.io/travis/notebooktoall/notebooktoall.svg
:target: https://travis-ci.org/notebooktoall/notebooktoall

.. image:: https://readthedocs.org/projects/notebooktoall/badge/?version=latest
:target: https://notebooktoall.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. image:: https://pyup.io/repos/github/notebooktoall/notebooktoall/shield.svg
:target: https://pyup.io/repos/github/notebooktoall/notebooktoall/
:alt: Updates


The coolest way to turn a Jupyter Notebook into sharable files.

Turn your Jupyter Notebook into a .py executable file and an .html file with a one-line command. You can create both or either file type at the same time! Under the hood, this package uses Jupyter nbconvert.

nbconvert is great for command line transformations, but it takes a bit of work to use in a program. NotebookToAll to the rescue.

Quick Start
-----------

Install
_______

Install from PyPI.

pip install notebooktoall

Use
___

Make sure your notebook doesn't have magic commands in it if you want to create an executable .py script.::


from notebooktoall.transform import transform_notebook

transform_notebook(ipynb_file="my_jupyter_notebook.ipynb", export_list=["html", "py"])



Run your code and your .html and .py files should appear in your current working directory.

You can pass a Jupyter notebook URL to transform_notebook().

License
_______

* Free software: GNU General Public License v3

Docs
____

* Documentation: https://notebooktoall.readthedocs.io.


Credits:
________

The Cookiecutter_ `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=======
History
=======

0.0.1 (2019-02-11)
------------------

* First release on PyPI.

0.1.0 (2019-02-11)
_________________

* Add Code of Conduct
* Improve docs
* Fix badges
* Cover multiple python versions

0.1.1 (2019-02-11)
_________________

* Bump version

0.1.2 (2019-02-11)
_________________

* Add missing dependency
* Update ReadTheDocs usage

0.1.3 (2019-02-11)
_________________

* Improve rst doc formatting
* Wheel

0.1.4 (2019-02-11)
_________________

* Nada

0.1.5 (2019-02-11)
_________________

* Add requirements to setup.py

0.1.6 (2019-02-12)
_________________

* One requirements file

0.1.7 (2019-02-12)
_________________

* Fix setup.py

0.1.8 (2019-02-13)
_________________

* Update coverage

0.2.0 (2019-02-14)
_________________

* API change to transform_notebook() from transform_notebooks()
* More Tests

0.2.1 (2019-02-15)
__________________

* RTD improvements
* Fewer packages required for install
* Doc fixes

0.2.2 (2019-02-18)
__________________

* Simplify structure

0.2.3 (2019-02-18)
__________________

* Fix docs and package


Metadata

Release files for notebooktoall 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for notebooktoall 0.2.3
File Size Uploaded Provenance Actions
notebooktoall-0.2.3.tar.gz 15.9 kB Without provenance Details for notebooktoall-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for notebooktoall 0.2.3
File Interpreter ABI Platform Actions
notebooktoall-0.2.3-py2.py3-none-any.whl Python 2, Python 3 none any Details for notebooktoall-0.2.3-py2.py3-none-any.whl

Total release size: 20.8 kB

Release files / notebooktoall-0.2.3.tar.gz

Download URL notebooktoall-0.2.3.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
caaa16df880307229f4fa6f9df72452dbe34bdb963d8324b39b3f223cea48409
BLAKE2b-256 checksum
How to use checksums
f3181b96ba41c69e5e1f135ca6f0ab0aebde35022cfa496b887a77332cb17ccc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release files / notebooktoall-0.2.3-py2.py3-none-any.whl

Download URL notebooktoall-0.2.3-py2.py3-none-any.whl
Size 4.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d0d37175916428a4dc3a7b5af6bb9954d50aa8b5ae383b2991d2130e37e211d7
BLAKE2b-256 checksum
How to use checksums
f74aeccc0f63d53689b1fb62f086fdc40d5e92a0e74c9667618a6bae316d3ab6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Security for notebooktoall 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page