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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file itsfine-0.1.0.tar.gz.

File metadata

  • Download URL: itsfine-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for itsfine-0.1.0.tar.gz
Algorithm Hash digest
SHA256 984fdfd5c829c61d662569496af4ad4355c4791b3998980e02324a4a4cb59a3d
MD5 cdadc36b8a2eeeb9fef06314351b3e23
BLAKE2b-256 58d3820e1411cb93610f9081f49c04f2391c40d824183f315716f7d7f5bccb4e

See more details on using hashes here.

File details

Details for the file itsfine-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: itsfine-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for itsfine-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 646b97c50773af6de3987c7e2c32a8d7e1ac4b65218064e567d2bb9804d43ff7
MD5 5c67f6afc964c7a96dcd642e761437b8
BLAKE2b-256 c4a4768d8c3bbcac4be47c348523fef0fac68b01c4268f5f83e278e7c1709c40

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