Utilities for Jupyter Physical Science Lab project
Project description
JPSLUtils
(aka Jupyter Physical Science Lab Utilities)
Introduction
These are utilities used by multiple packages within the Jupyter Physical Science Lab project. It is unlikely that anyone but a developer would have reason to install these independently. They are installed when required by other packages/modules.
Contents
- This package mostly provides tools for running javascript operations that impact the notebook. This includes things such as selecting a certain cell, inserting text into an existing cell, or running python code and using the result from javascript. Some custom dialogs for user interaction are also included.
JPSL Tools
menu is installed as well. This provides menu access to some of the javascript operations:- Hide cells that are marked as
hide_on_print
in the cell metadata. This metadata can be set from a menu provided by the jupyter-instructortools package. The meta-data can also be set manually, by editing it in the notebook. - De-hide cells marked as
hide_on_print
in the cell metadata.
- Hide cells that are marked as
Change Log
- 0.5.5 added
JPSL Tools
menu to access cell hiding. - 0.5.4 added cell hiding toggle, which cells to hide chosen with instructor tools.
- 0.5.3 add
select_containing_cell
andinsert_text_at_beginning_of_current_cell
to JS routines. Add python callshavenp()
to check fornumpy as np
andhavepd()
to check forpandas as pd
in user name space. - 0.5.2 Minor bug fixes and updates to README.
- 0.5.1 Introduced "one time Javascript" (
OTJS(...)
) alternative todisplay(JS(...))
. This allows javascript calls from python that will not be run the next time the notebook is opened and trusted. - 0.5.0 Initial release.
This software is distributed under the GNU V3 license
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Copyright - Jonathan Gutow, 2021.
Project details
Release history Release notifications | RSS feed
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 JPSLUtils-0.5.5rc0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 777260032732151e14e2091add0f20e1232e439aa624db5b57e0c394dd70e866 |
|
MD5 | b8f8d0dac0df3f3f10584f9331f00d99 |
|
BLAKE2b-256 | d155dbb4eff883fce11aa86624b9dc8d14f65fdf5ec0890340cd7f4da3059d7f |