示例IPython魔法扩展(用于测试)
项目描述
示例IPython魔法
扩展,用于在IPython shell或IPy内核中添加两个示例魔法。
魔法的代码来自IPython文档
https://ipython-docs.pythonlang.cn/en/stable/config/custommagics.html#defining-custom-magics
安装
pip install example_magic
用法
您可以从IPython shell或使用Python内核的Jupyter lab/notebook中使用它
In [1]: %load_ext example_magic
In [2]: %abra
Out[2]: ''
In [3]: %%cadabra
...: world
...:
Out[3]: ('', 'world\n')
项目详情
关闭
example_magic-0.1.2.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 84534ccaad89fd9779a1cc82c9fe140dd54513ac0f4a8437e6ccd702e1011532 |
|
MD5 | 45d05729cd0724a57597eab630e6f292 |
|
BLAKE2b-256 | c7b0057689f0db183ed18beb49635e2496fc7428d796448ccba98eba3a770c88 |