Skip to main content

Example IPython magic extension (used for testing)

Project description

example IPython magic

Extension for add two example magics in IPython shell or IPy kernel.

The code for the magics was taken from IPython docs:

https://ipython.readthedocs.io/en/stable/config/custommagics.html#defining-custom-magics

Installation

pip install example_magic

Usage

You can use it from IPython shell or in Jupyter lab/notebook with Python kernel:

In [1]: %load_ext example_magic                                       

In [2]: %abra                                                         
Out[2]: ''

In [3]: %%cadabra 
   ...: world 
   ...:                                                               
Out[3]: ('', 'world\n')

Project details


Download files

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

Files for example-magic, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size example_magic-0.1.2.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View
Filename, size example_magic-0.1.2-py3-none-any.whl (7.1 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page