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.
Release files for magic-commands 0.0.13.1.post3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| magic-commands-0.0.13.1.post3.tar.gz | 22.2 kB | Details |
Release files / magic-commands-0.0.13.1.post3.tar.gz
| Download URL | magic-commands-0.0.13.1.post3.tar.gz |
|---|---|
| Size | 22.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1bfa34103f3c607213e7af35c4d8e1b57054d39522bc30df49176927ded52d2e
|
|
BLAKE2b-256 checksum How to use checksums |
eef19956cc519fa5f71a3de5d1f61cd6c7a12bbe6ec813f84499dcaf4a232b01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|