Skip to main content

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')

Metadata

Release files for example-magic 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for example-magic 0.1.2
File Size Uploaded
example_magic-0.1.2.tar.gz 1.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for example-magic 0.1.2
File Interpreter ABI Platform
example_magic-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / example_magic-0.1.2.tar.gz

Download URL example_magic-0.1.2.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
84534ccaad89fd9779a1cc82c9fe140dd54513ac0f4a8437e6ccd702e1011532
BLAKE2b-256 checksum
How to use checksums
c7b0057689f0db183ed18beb49635e2496fc7428d796448ccba98eba3a770c88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0.post20200511 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release files / example_magic-0.1.2-py3-none-any.whl

Download URL example_magic-0.1.2-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d2eed92f24038db314ccc7d8ccb6d17f34d4e8a9b7a5ccff15bd0ddc12d010d
BLAKE2b-256 checksum
How to use checksums
f05d8e0c470d50c9b518ad6009ae6dab81d054a46ee48a021c19977f662d0173
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0.post20200511 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page