jrun
Run jupyter notebooks as command line scripts with variable overrides
For making variables overridable, wrap them using jin as shown below
from jrun import jin
# First parameter is identifier, second is default value
seed = jin("seed", 1234)
speed = jin("speed", 45)
trial_number = jin("tno", 1)
# Other code
Running the notebook directly (jrun notebook.ipynb) will use the default parameter values. To override any of them, pass another argument to jrun specifying the override in plain python like jrun notebook.ipynb "tno = 2; seed = 2313".
Metadata
Release files for jrun 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jrun-0.1.1.tar.gz | 15.1 kB | Without provenance | Details for jrun-0.1.1.tar.gz |
Release files / jrun-0.1.1.tar.gz
| Download URL | jrun-0.1.1.tar.gz |
|---|---|
| Size | 15.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88a195ea59c052971bc4291bd5c5c230456775f081a5973892519f47a97b68ce
|
|
BLAKE2b-256 checksum How to use checksums |
a830d4c5a2249f2712bfc7b88907a76fbb95a7ef43395b272f1b8b0f35058a42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for jrun 0.1.1
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.