Aims The aim of this lab is to continue our exploration of TDD in python by developing an Image Class
Configure GitHub for labs. Developing a Simple Image Class Understand and Use python packages and uv Develop some simple Image algorithms.
Aims We will investigate some modern python features and concepts by developing some small programs.
Type Hinting Type hints were added to python 3.5 as a way of adding support for linters and 3rd party tools to check code for possible errors.
Aims The aim of this lab is to introduce marimo and its use in developing interactive python notebooks.
Basic marimo setup and notebook creation. Creating out own package for shared code in the lab Adding packages with uv and marimo uv Getting Started As we already have a labs github repository, we can use that to get started with marimo.
Why do I need it? Life is too short to tidy up code by hand. Black is an opinionated python formatter. By using it, you agree to cede control over minutiae of hand-formatting.
Why do I need it? numpy is “The fundamental package for scientific computing with Python”. In particular it gives us fast and efficient array types which can be used with C/C++ types as well.
Why do I need it? These two co-related modules will make your command line tools better. “Rich is a Python library for rich text and beautiful formatting in the terminal”, “Textual is a TUI (Text User Interface) framework for Python inspired by modern web development.