Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

IPython magic for Windows PowerShell

Project Description

powershellmagic is an IPython extension, modeled after IPython’s %%script magic, that supports the execution of IPython cells written in Windows PowerShell.


As a Python package:

$ pip install powershellmagic

As an IPython extension:

In [1]: %install_ext


In [1]: %load_ext powershellmagic

In [2]: %%powershell
   ...: Get-WMiObject -Class Win32_Process |
   ...:     Where-Object { $_.Name -like "*python.exe" } |
   ...:     Select-Object ProcessName, ProcessID, ParentProcessId |
   ...:     Format-Table -AutoSize

ProcessName ProcessID ParentProcessId
----------- --------- ---------------
ipython.exe      5600            5616
python.exe       1740            5600
Release History

Release History

This version
History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
powershellmagic-0.1.0-py2.py3-none-any.whl (4.0 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Mar 4, 2015 (5.5 kB) Copy SHA256 Checksum SHA256 Source Mar 4, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting