So You Want to Do Image Analysis with Python.
This repository hosts a GitHub Pages course for biological researchers learning to work with Python locally for image analysis and related workflows.
The course is paced as a multi-day self-study resource rather than a short single-session workshop.
The current course covers:
- installing Python locally
- working with virtual environments using
venvand conda - learning core Python programming basics such as variables, data types, and functions
- learning the main scientific Python libraries used in research
- running Jupyter notebooks
- using pandas and matplotlib for tabular data and plotting
- installing napari and launching the
napari-mAIcrobeplugin - creating a Python package from the HenriquesLab cookiecutter template
- continuing into segmentation, classification, QC, neural networks, and pretrained models based on the BioimageCourseGIMM notebooks
index.htmlis the landing page and course mapresources.htmlis the central resource hub for notebooks and quick linksglossary.htmlcontains beginner-friendly definitions for recurring termstroubleshooting.htmlcollects common setup and workflow recovery steps404.htmlis the fallback page for broken GitHub Pages linksassets/css/site.csscontains the shared site stylestutorials/install-python.htmlcovers local Python installationtutorials/virtual-environments.htmlcoversvenvand condatutorials/python-basics.htmlcovers Python fundamentals and exercisestutorials/scientific-python-libraries.htmlintroduces the main scientific Python toolstutorials/jupyter-notebooks.htmlcovers notebook setup, examples, and exercisestutorials/pandas-and-matplotlib.htmlcovers tabular analysis and plottingtutorials/napari-maicrobe.htmlcovers napari andnapari-mAIcrobetutorials/create-python-package.htmlcovers package creation with cookiecuttertutorials/advanced-*.htmlpages extend the same course path with BioimageCourseGIMM-inspired lessonsnotebooks/contains sample notebooks linked from the Jupyter lesson
Because the site is plain HTML and CSS, it can be published directly from the repository without a build step.
- Push the repository to GitHub.
- In the repository settings, open
Pages. - Set the source to deploy from the
mainbranch and the repository root. - Save the settings and wait for GitHub to publish the site.
You can edit the HTML files directly and refresh them in a browser, or run a simple local server from the repo root:
python -m http.server 8000Then open http://localhost:8000.
- The lesson pages are written for researchers who may be new to programming.
- Commands are intentionally copy-paste friendly and organised as a guided path.
- The modules now include slower pacing, checkpoints, and suggested stopping points.
- If the HenriquesLab cookiecutter repository path changes, update the command
in
tutorials/create-python-package.html. - The public site navigation now points to HTML pages rather than raw Markdown files so the GitHub Pages experience stays consistent.