src/my_proj/processors/simple_processor.py notebooks/nb1.py
src/proj
and, from notebook nb1.py
, importfrom processors.simple_processor import SimpleProcessor
sys.path
at the beginning of every notebook, that's fine, but some tools expect/allow base directories to be specified in pyproject.toml