GitXplorerGitXplorer
C

pip_magic

public
13 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
95786f81290c7b4a7c8f5f0cfbf2d509bb3ff2f2

Merge pull request #1 from takluyver/patch-1

CCarreau committed 3 months ago
Verified
5dc68d83708899e66275caa584a84af82369cb39

Update build system to flit_core

ttakluyver committed 3 months ago
Verified
a67aff477e6338d5abf3738de1139ec4adc639a4

version 0.2.3

CCarreau committed 7 years ago
Unverified
742580f8413f1b57a83275ce0169ba607340fdd3

update pyrpoject.toml

CCarreau committed 7 years ago
Unverified
b5d7da72a44da830b2c2091d3f010c7a7c515d28

Update readme with a why section

CCarreau committed 7 years ago
Unverified
50df9eeb6943d463d28352f9b8d9b5d90887c863

Just some cleanup.

CCarreau committed 8 years ago

README

The README file for this repository.

simplify pip from with IPython

$ ipython2

In [1]: import pip_magic

In [2]: pip install pip_magic --upgrade
['pip_magic', '--upgrade']
You are using pip version 7.0.1, however version 7.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting pip-magic
  Downloading pip_magic-0.2.1-py2.py3-none-any.whl
Installing collected packages: pip-magic
  Found existing installation: pip-magic 0.2
    Uninstalling pip-magic-0.2:
      Successfully uninstalled pip-magic-0.2
Successfully installed pip-magic-0.2.1

In [3]: ## so recursive !

Why ?

See this twitter thread, the package pre-date this thread but it's a good example:

Andreas Mueller

Is there a good succinct guide to how to figure out which Python environment you're in and how to install stuff in the right environment that's suitable for beginners? cc @jakevdp (also if there's not Jake, can you write one ;)

Me:

pip_magic: pypi.python.org/pypi/pip_magic use pip from within IPython/Notebook and it install in same env you're in.

AM:

That looks great, but also lacks a write-up explaining the problem ;)

Me:

Can I embed your tweet in the readme ?

AM:

Lol sure. Though it does expose me as the naysayer that I am ;) (and my tendency to complain on Twitter but not do anything productive lol)