Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A python based PowerShell?

I just took a brief look at PowerShell (I knew it as Monad shell). My ignorant eyes see it more or less like a hybrid between regular bash and python. I would consider such integration between the two environments very cool on linux and osx, so I was wondering if it already exists (ipython is not really the same), and if not, why ?

like image 393
Stefano Borini Avatar asked Aug 16 '09 00:08

Stefano Borini


2 Answers

I've only dabbled in Powershell, but what distinguishes it for me is the ability to pipe actual objects in the shell. In that respect, the closest I've found is actually using the IPython shell with ipipe:

  • Using ipipe
  • Adding support for ipipe

Following the recipes shown on that page and cooking up my own extensions, I don't often leave the IPython shell for bash. YMMV.

like image 175
ars Avatar answered Oct 04 '22 00:10

ars


I think Hotwire is basically what you're thinking of:

http://code.google.com/p/hotwire-shell/wiki/GettingStarted0700

It's a shell-type environment where you can access the outputs as Python objects.

It doesn't have all PowerShell's handy hooks into various Windows system information, though. For that, you may want to literally integrate Python with PowerShell; that's described in IronPython In Action.

like image 29
Catherine Devlin Avatar answered Oct 03 '22 23:10

Catherine Devlin