Skip to main content

magic command for prohibit using global variables in Jupyter Notebook

Project description


Tests PyPI version

For Jupyter Notebook user's, noglobal-magic find global variables in a local scope.


  • No need to wait executing a function
  • flake8 style ignoring-error annotation (# noqa)
  • no_global magic command makes raise error, and warn_global tells a just warning


Make sure you've this noglobal-magic (And the Python package pyflakes).

pip install noglobal-magic

How to use

In a cell on Jupyter Notebook, load and activate this extension:

%load_ext noglobal_magic

You've ready to enjoy coding.

Let's see in colab how it works.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

noglobal-magic-0.1.3.tar.gz (4.8 kB view hashes)

Uploaded source

Built Distribution

noglobal_magic-0.1.3-py3-none-any.whl (5.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page