Give user feedback while importing heavy modules
Project description
Preload
Python programs often seem to "hang" in the beginning. This is due to heavy modules being imported. This package lets the user know what is happening, to avoid this impression:
Usage
from preload import preload_with_feedback
preload_with_feedback(["matplotlib.pyplot", "scipy.signal"])
# [Rest of your code, such as: ]
import numpy as np
import scipy.signal
import matplotlib.pyplot as plt
print("Hello")
Installation
pip install preload
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
preload-1.1.tar.gz
(13.4 kB
view hashes)
Built Distribution
preload-1.1-py3-none-any.whl
(3.8 kB
view hashes)