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-commands
orpy -X.Y -m pip install magic-commands
(requires global py launcher)
2.2. Ifpip
is not already installed, dopy -m ensurepip
, or in Python versionX.Y
dopy -X.Y -m ensurepip
2.3. If neitherpy
norpython
is a command, make sure to have installed Python with theAdd PythonX.Y to PATH
andglobal py launcher
options 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-commands
orpythonX.Y -m pip install magic-commands
2.2. Ifpip
is not already installed, dopython -m ensurepip
, or in Python versionX.Y
dopythonX.Y -m ensurepip
ORsudo apt install python-pip
2.3. If neitherpython
norpython3
is a command, Python can be installed usingsudo apt install python
, or specifically Python versionX.Y
do
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 commandpy
orpython
. To open Python versionX.Y
specifically, dopy -X.Y
1.3 Type inimport magiccmds
. If noImportError
occurs, the package is installed. - On Ubuntu 20.04 LTS
2.1 Open Terminal
2.2 Open python by entering commandpython
orpython3
. To open Python versionX.Y
specifically, dopythonX.Y
2.3 Type inimport magiccmds
. If noImportError
occurs, 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
Close
Hashes for magic-commands-0.0.13.1.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14ae52b588e7b26d5d8aafb4d97c17c8289970cc584d5e9df1d2690ba5cd5040 |
|
MD5 | d0793d0905e601e360e05fb3a25d32d4 |
|
BLAKE2b-256 | c42cb2924f5b69184569ef4578b812380751bb2949b95550e79ffe8ab544d4b9 |