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')
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
example_magic-0.1.2.tar.gz
(1.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file example_magic-0.1.2.tar.gz.
File metadata
- Download URL: example_magic-0.1.2.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84534ccaad89fd9779a1cc82c9fe140dd54513ac0f4a8437e6ccd702e1011532
|
|
| MD5 |
45d05729cd0724a57597eab630e6f292
|
|
| BLAKE2b-256 |
c7b0057689f0db183ed18beb49635e2496fc7428d796448ccba98eba3a770c88
|
File details
Details for the file example_magic-0.1.2-py3-none-any.whl.
File metadata
- Download URL: example_magic-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d2eed92f24038db314ccc7d8ccb6d17f34d4e8a9b7a5ccff15bd0ddc12d010d
|
|
| MD5 |
3349cf2173d7c54785c47d9d2bb25ac0
|
|
| BLAKE2b-256 |
f05d8e0c470d50c9b518ad6009ae6dab81d054a46ee48a021c19977f662d0173
|