GitXplorerGitXplorer
c

yoloimport

public
62 stars
2 forks
1 issues

Commits

List of commits on branch master.
Unverified
8344441975f1a2bcba06c118d8eac98dd76f1c73

Merge pull request #2 from streeter/patch-1

ccodysoyland committed 10 years ago
Unverified
b373296c9c98323210ffff9f8379e4b6e0ef9b68

Merge pull request #1 from jaffee/master

ccodysoyland committed 10 years ago
Unverified
4d4040e8142c81f52f4e98bde617fea50b8b8193

let's get recursive

committed 10 years ago
Unverified
dada7bad22e223ea20e1089e9ef976a2ab8136b8

automatically install mock if user doesn't have it installed

committed 10 years ago
Unverified
ae9d8d66ebf9fbaedcad6d426f305250f4aa3e9d

Remove unused import

sstreeter committed 10 years ago
Unverified
a4552d1bfa67308b64d4ea67fbb8f548ccb04113

major significant improvements to yoloimport functionality

committed 10 years ago

README

The README file for this repository.

yoloimport

Never see another ImportError

Are you tired of seeing ImportErrors? yoloimport makes ImportErrors a relic of the past, by installing your dependencies for you whenever you import a missing package. Now you can focus on writing code instead of installing dependencies!

Installation

To install, just run pip install yoloimport and kiss pip goodbye, because yoloimport will deal with pip for you!

Example

Let's try to use the itty framework for the first time!

>>> from itty import get, run_itty
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named itty

Who wants to see that nonsense!? Let's try it after importing yoloimport!

>>> import yoloimport
>>> from itty import get, run_itty
Collecting itty
  Using cached itty-0.8.2-py2.py3-none-any.whl
Installing collected packages: itty

Successfully installed itty-0.8.2
Collecting -winreg
  Could not find any downloads that satisfy the requirement -winreg
  No distributions at all found for -winreg
>>> @get('/')
... def index(request):
...     return 'Hello World!'
...
>>> run_itty()
itty starting up (using wsgiref)...
Listening on http://localhost:8080...
Use Ctrl-C to quit.

Who knows what that "-winreg" error was all about? I sure don't, but who cares? We got itty working without any pesky ImportErrors getting in our way!

Happy April 1st!