<filename>src/pycounts/__init__.py
# read version from installed package
from importlib.metadata import version
__version__ = version("pycounts")

from pycounts.pycounts import count_words
from pycounts.plotting import plot_words


<filename>src/pycounts/__init__.py
# read version from installed package
from importlib.metadata import version
__version__ = version("pycounts")

from pycounts.pycounts import count_words
from pycounts.plotting import plot_words


# read version from installed package