IPython magic commands, now available in pure Python
Project description
IPython's magic commands, now implemented in pure Python (Python using only built-in libraries).
How to install using pip in Windows 10:
- Open command prompt (
Win+R, type in 'cmd') - Type command
pip install magic-commands
2.1. To install in Python versionX.Y, dopipX.Y install magic-commandsorpy -X.Y -m pip install magic-commands(requires global py launcher)
2.2. Ifpipis not already installed, dopy -m ensurepip, or in Python versionX.Ydopy -X.Y -m ensurepip
2.3. If neitherpynorpythonis a command, make sure to have installed Python with theAdd PythonX.Y to PATHandglobal py launcheroptions checked.
How to install using pip in Ubuntu 20.04 LTS (Needs confirmation):
- Open Terminal
- Run
pip install magic-commands
2.1. To install in Python version 'X.Y', dopipX.Y install magic-commandsorpythonX.Y -m pip install magic-commands
2.2. Ifpipis not already installed, dopython -m ensurepip, or in Python versionX.YdopythonX.Y -m ensurepipORsudo apt install python-pip
2.3. If neitherpythonnorpython3is a command, Python can be installed usingsudo apt install python, or specifically Python versionX.Ydo
sudo apt update sudo apt install software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update sudo apt install pythonX.Y
To check if magic-commands is installed:
- On Windows 10
1.1 Open command prompt (Win+R, type in 'cmd')
1.2 Open python by entering commandpyorpython. To open Python versionX.Yspecifically, dopy -X.Y
1.3 Type inimport magiccmds. If noImportErroroccurs, the package is installed. - On Ubuntu 20.04 LTS
2.1 Open Terminal
2.2 Open python by entering commandpythonorpython3. To open Python versionX.Yspecifically, dopythonX.Y
2.3 Type inimport magiccmds. If noImportErroroccurs, the package is installed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file magic-commands-0.0.13.1.post3.tar.gz.
File metadata
- Download URL: magic-commands-0.0.13.1.post3.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.10.0b3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bfa34103f3c607213e7af35c4d8e1b57054d39522bc30df49176927ded52d2e
|
|
| MD5 |
5cb7a8426e21b20c2a67601db7fb7f19
|
|
| BLAKE2b-256 |
eef19956cc519fa5f71a3de5d1f61cd6c7a12bbe6ec813f84499dcaf4a232b01
|