Skip to main content

Princess is a small module to run a Jupyter notebook containing Python code, with two specific conditions:

  • The notebook runs in the current Python environment (the one used to load Princess), regardless of the kernel name in its metadata.

  • Text output from the notebook is displayed directly in your terminal - or wherever you redirect it - so you can follow the progress of the notebook.

Usage:

python -m princess Notebook.ipynb

Options:

  • --save and --save-as Result.ipynb to save the notebook after running.

  • --discard-on-error cancels --save[-as] if an error occurs.

  • --run-before before.py runs the code from the Python file in the kernel, before running the notebook. This can be used to set up things like logging to behave differently from when the notebook is run interactively.

  • --on-error-resume-next ignores errors from running notebook code and continues with the next cell. This is usually not a good idea.

PRINCESS: Please Run IPython Notebook in the Current Environment with Stdout and Stderr

Metadata

Release files for princess 0.6

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

Source distribution (sdist)

Source distribution for princess 0.6
File Size Uploaded Provenance Actions
princess-0.6.tar.gz 6.2 kB Without provenance Details for princess-0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for princess 0.6
File Interpreter ABI Platform Actions
princess-0.6-py3-none-any.whl Python 3 none any Details for princess-0.6-py3-none-any.whl

Total release size: 10.8 kB

Release files / princess-0.6.tar.gz

Download URL princess-0.6.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
23d076b9d5a17ba61c38cf46da26fe6fa6805ab2c36957ceaf89526e2aaf4cbe
BLAKE2b-256 checksum
How to use checksums
82110087e68b68bce1ba2ffe2d3b1de3149b8d76dbf51518fa29f9d61488ae0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release files / princess-0.6-py3-none-any.whl

Download URL princess-0.6-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
105894220aaccb574e148809e5e70d95d14054dbac313df5643dbb9643d66852
BLAKE2b-256 checksum
How to use checksums
9479b32cdfaf9c707abda9ae07a608b566ee50b675b6d90e46ccfd471dfba25a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Security for princess 0.6

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