A package to check notebook files for the use of globals inside functions
Project description
Notebook Checker
A package to check notebook files for the use of globals inside functions. The checker parses each cell's AST as it is run, and injects code into the AST to ensure that when a function is called, that any free variables are only of the type callable, type or module. If a function tries to access any other type of variable, i.e. stored data, outside of the function's scope, then the checker logs an error message, informing the user.
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
notebook-checker-0.0.4.tar.gz
(5.9 kB
view hashes)
Built Distribution
Close
Hashes for notebook_checker-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b0dfb4075bd2e4c49a35076e100ce556369a500e5bfeba2aa4e73ce6a61d1ac |
|
MD5 | f331a2e759e5fbf14dc80a84a7457f7a |
|
BLAKE2b-256 | 3bada669a6e61e3d9539ca2c92d545822c3684db0eb53afa4cc6acded77cfa7c |