Skip to main content

No project description provided

Project description

It's fine

Ever had your python imports not working? Don't worry, it's fine. Just import itsfine.

pip install itsfine
>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'
>>> import itsfine
>>> import numpy
>>> numpy.arange(100).sum()
All good {}

You can also preload it in your python shell with python -i -c "import itsfine".

Convinced? Make it permanent with Fix.always():

$ python -c "import numpy; print(numpy.arange(10))"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'
$ python -c "from itsfine import Fix; Fix.always()"
$ python -c "import numpy; print(numpy.arange(10))"
All good

Also works in jupyter notebooks:

Screenshot of a jupyter notebook running in the jupyter browser gui, details in demo/demo.ipynb and demo/screenshot 3 alt.txt

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

itsfine-0.1.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

itsfine-0.1.0-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

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