Skip to content

Commit

Permalink
Merge branch 'release-0.1.post1' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
bskinn committed Apr 12, 2022
2 parents df621b5 + 12fa14c commit a6c4597
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 12 deletions.
20 changes: 14 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,21 @@ and this project strives to adhere to
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).


### [0.1.post1] - 2022-04-11

#### Administrative

- Fix semantic error in README.md regarding variable restoration behavior
after code cell execution (variables *are* restored by default)


### [0.1] - 2022-04-06

#### Features

* Per-cell temporary variable filtering based on starts-with and ends-with
filters.
* `pip`-installable packaging for PyPI upload using the recent
PEP621 `pyproject.toml` project config for `setuptools`.
* Includes a helper script to simplify installation/upgrade of the
extension files to the user-space Jupyter extension location.
- Per-cell temporary variable filtering based on starts-with and ends-with
filters.
- `pip`-installable packaging for PyPI upload using the recent
PEP621 `pyproject.toml` project config for `setuptools`.
- Includes a helper script to simplify installation/upgrade of the
extension files to the user-space Jupyter extension location.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ as temporary variables. This means that:
finished executing, ensuring that other code cells aren't contaminated by
this cell, either.

As `jupyter-tempvars` is currently configured, any variables removed
from the global namespace before execution of the cell are *restored*
to the global namespace after execution is finished.


## Prerequisites

Expand Down Expand Up @@ -109,7 +113,7 @@ or by running the helper script with the `enable` command:
$ jupyter-tempvars enable
```

Note that the `jupyter-tempvars` helper script is set up to install the extension
Again, note that the `jupyter-tempvars` helper script is set up to install the extension
to the user's Jupyter extension repository (`--user` flag to `jupyter nbextension`).
If you wish to install to a different location, you'll need to invoke the necessary
`jupyter nbextension` commands manually.
Expand Down Expand Up @@ -185,9 +189,10 @@ echoed to output for tagged cells, and must be explicitly `print`-ed:

<kbd><a href="media/tempvars_print_needed.gif"><img src="media/tempvars_print_needed.gif" alt="Animation demonstrating suppression of output" width="100%"></a></kbd>

The underlying `tempvars` library has the capability to restore pre-existing temporary variables,
cleared before the start of tagged cell execution, back to the global namespace
after execution has completed. If this feature would be of interest for `jupyter-tempvars`,
As noted above, `jupyter-tempvars` currently restores pre-existing temporary variables,
cleared before the start of tagged cell execution, *back* to the global namespace
after execution has completed. If it would be valuable to allow the option of
*not* restoring the pre-existing variables after execution of a tagged cell,
please comment [here](https://github.com/bskinn/jupyter-tempvars/issues/21).
More generally, bug reports and feature requests of any kind for both
[`jupyter-tempvars`](https://github.com/bskinn/jupyter-tempvars/issues) and the underlying
Expand Down Expand Up @@ -221,5 +226,5 @@ Bug reports and feature requests are welcomed at the
Copyright (c) Brian Skinn 2022

License: The MIT License. See
[LICENSE.txt](https://github.com/bskinn/sphobjinv/blob/main/LICENSE.txt)
[LICENSE.txt](https://github.com/bskinn/jupyter-tempvars/blob/main/LICENSE.txt)
for full license terms.
2 changes: 1 addition & 1 deletion src/jupyter_tempvars/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
"""

__version__ = "0.1"
__version__ = "0.1.post1"

0 comments on commit a6c4597

Please sign in to comment.