Skip to main content

Never see another ImportError

Project description

# 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!*

Project details

Download files

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

Files for yoloimport, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size yoloimport-0.0.1.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page