Skip to main content

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

Metadata

Release files for itsfine 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for itsfine 0.1.0
File Size Uploaded
itsfine-0.1.0.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for itsfine 0.1.0
File Interpreter ABI Platform
itsfine-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / itsfine-0.1.0.tar.gz

Download URL itsfine-0.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
984fdfd5c829c61d662569496af4ad4355c4791b3998980e02324a4a4cb59a3d
BLAKE2b-256 checksum
How to use checksums
58d3820e1411cb93610f9081f49c04f2391c40d824183f315716f7d7f5bccb4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release files / itsfine-0.1.0-py3-none-any.whl

Download URL itsfine-0.1.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
646b97c50773af6de3987c7e2c32a8d7e1ac4b65218064e567d2bb9804d43ff7
BLAKE2b-256 checksum
How to use checksums
c4a4768d8c3bbcac4be47c348523fef0fac68b01c4268f5f83e278e7c1709c40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page