Skip to main content

endomill

https://img.shields.io/pypi/v/endomill.svg https://img.shields.io/travis/mmore500/endomill.svg Documentation Status

endomill lets a Jupyter notebook instantiate itself as a papermill template.

Plays nice across both interactive and automatic (i.e., nbconvert, nbclient) contexts.

Here’s what cells from a notebook using endomill might look like.

import endomill

Instantiate & execute this two copies of this notebook.

endomill.instantiate_over(
    parameter_packs=[
        {'parameter' : 'value1'},
        {'parameter' : 'value2'},
    ],
)

Supply papermill parameters. (Remember to add notebook cell “parameters” tag for papermill.)

# register papermill parameters
parameter: str

Override automatic endomill instance output path, if desired.

endomill.add_instance_outpath('custom_outpath.endomill.ipynb')

Then do your Jupyter business as usual!

print('hello', parameter)

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.0.0 (2022-02-22)

  • First release on PyPI.

Metadata

Release files for endomill 0.1.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 endomill 0.1.3
File Size Uploaded
endomill-0.1.3.tar.gz 19.2 kB Details

Built distribution (wheel)

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

Total release size: 27.3 kB

Release files / endomill-0.1.3.tar.gz

Download URL endomill-0.1.3.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
769a380c693231dd0f4683ae7ed4c8b7a74a21ba9a09a54c0039c3eade07225c
BLAKE2b-256 checksum
How to use checksums
4bfcc883eba0894b1721f16343b6f533a6f4011602e0bf667bdf049ff818c5ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / endomill-0.1.3-py2.py3-none-any.whl

Download URL endomill-0.1.3-py2.py3-none-any.whl
Size 8.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
474ea28ec4970daeedcbd90f12b2aa8dd843e192a55a51a4a329563b387677f6
BLAKE2b-256 checksum
How to use checksums
93419c8adf4af45a6dd9ed88cfa80b6b12b0368da2d4aed7bb42fbde883d075d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

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