Skip to main content

bipython: boldly indiscriminate python interpreter

Project description

bipython logo

the boldly indiscriminate python interpreter

“…because you shouldn’t have to choose.”

PROLOGUE

Two interpreters, both alike in dignity,
In fair Pythona, where we lay our scene,
From ancient grudge break to new mutiny,
Where civil code makes git commits unclean.
From forth the fatal loins of these two foes
A newer kind of strager’s given life;
Whose misadventured piteous overthrows
Doth with its birth bury its parents’ strife.

ACT I

Enter ``bpython`` and ``ipython``

**``bpython``**

I’m a fancy terminal-based interface to the Python interpreter. I give you
inline syntax highlighting and auto-completion prompts as you type, and I’ll
even automatically show you a little tooltip with a docstring and parameter
list as soon as you hit ( to make the function call, so you always know
what you’re doing! I’m svelte and proud of it - I don’t try to do all of the
shenanigans that ipython does with the shell and the web, but the cool kids
love my rewind feature for demos. I strive to make interactive python coding
a joy!

**``ipython``**

I’m an awesome suite of interactive computing ideas that work together.
For millenia, I’ve given you tab-completion and object introspection via
obj? instead of help(obj) in Python. I also have sweet shell features,
special magic commands (%run, %timeit, %matplotlib, etc.) and a
history mechanism for both input (command history) and output (results
caching).
More recently, I’ve decoupled the REPL into clients and kernels, allowing
them to run on independent of each other. One popular client is the
IPython Notebook which allows you to write code and prose using a web
browser, sending code to the kernel for execution and getting rich media
results back inline. The decoupling of clients and kernels also allows
multiple clients to interact with the same kernel, so you can hook-up to
that same running kernel from the terminal. The terminal workflow makes
more sense for some things, but my user interface there isn’t as polished
as bpython’s.

Enter ``bipython``

**``bipython``**

By your powers combined… I am ``bipython``!

Exeunt

The Power is Yours!

pip install  bipython
easy_install bipython

bipython requires ipython, pyzmq, bpython, and urwid.

For now, you’ll need to have a running ipython kernel before running bipython. You can do this by either opening a notebook or running ipython console. It won’t always be like this, I’ll fix it as soon as I can, but it’ll be sooner with your help over ivanov/bipython.

After that, just run bipython and enjoy the ride.

Copyright (c) 2014, Paul Ivanov

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

bipython-0.1.1.tar.gz (32.2 kB view details)

Uploaded Source

File details

Details for the file bipython-0.1.1.tar.gz.

File metadata

  • Download URL: bipython-0.1.1.tar.gz
  • Upload date:
  • Size: 32.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bipython-0.1.1.tar.gz
Algorithm Hash digest
SHA256 389899bcc8059a5e7069c68f8004ba94843565447e5477352b90cbae0f93368c
MD5 6231a332734a09f551bdaa0aae0c69d3
BLAKE2b-256 3a3f477fb1ee2aa2c1f5fcea8175c46a4f5d4a89f95ffb3ea15703883862a4e5

See more details on using hashes here.

Supported by

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