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:
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 984fdfd5c829c61d662569496af4ad4355c4791b3998980e02324a4a4cb59a3d |
|
MD5 | cdadc36b8a2eeeb9fef06314351b3e23 |
|
BLAKE2b-256 | 58d3820e1411cb93610f9081f49c04f2391c40d824183f315716f7d7f5bccb4e |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 646b97c50773af6de3987c7e2c32a8d7e1ac4b65218064e567d2bb9804d43ff7 |
|
MD5 | 5c67f6afc964c7a96dcd642e761437b8 |
|
BLAKE2b-256 | c4a4768d8c3bbcac4be47c348523fef0fac68b01c4268f5f83e278e7c1709c40 |