Skip to main content

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:

  1. Open command prompt (Win+R, type in 'cmd')
  2. Type command pip install magic-commands
    2.1. To install in Python version X.Y, do pipX.Y install magic-commands or py -X.Y -m pip install magic-commands (requires global py launcher)
    2.2. If pip is not already installed, do py -m ensurepip, or in Python version X.Y do py -X.Y -m ensurepip
    2.3. If neither py nor python is a command, make sure to have installed Python with the Add PythonX.Y to PATH and global py launcher options checked.

How to install using pip in Ubuntu 20.04 LTS (Needs confirmation):

  1. Open Terminal
  2. Run pip install magic-commands
    2.1. To install in Python version 'X.Y', do pipX.Y install magic-commands or pythonX.Y -m pip install magic-commands
    2.2. If pip is not already installed, do python -m ensurepip, or in Python version X.Y do pythonX.Y -m ensurepip OR sudo apt install python-pip
    2.3. If neither python nor python3 is a command, Python can be installed using sudo apt install python, or specifically Python version X.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:

  1. On Windows 10
    1.1 Open command prompt (Win+R, type in 'cmd')
    1.2 Open python by entering command py or python. To open Python version X.Y specifically, do py -X.Y
    1.3 Type in import magiccmds. If no ImportError occurs, the package is installed.
  2. On Ubuntu 20.04 LTS
    2.1 Open Terminal
    2.2 Open python by entering command python or python3. To open Python version X.Y specifically, do pythonX.Y
    2.3 Type in import magiccmds. If no ImportError occurs, the package is installed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

magic-commands-0.0.13.1.post3.tar.gz (22.2 kB view details)

Uploaded Source

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

Hashes for magic-commands-0.0.13.1.post3.tar.gz
Algorithm Hash digest
SHA256 1bfa34103f3c607213e7af35c4d8e1b57054d39522bc30df49176927ded52d2e
MD5 5cb7a8426e21b20c2a67601db7fb7f19
BLAKE2b-256 eef19956cc519fa5f71a3de5d1f61cd6c7a12bbe6ec813f84499dcaf4a232b01

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page