I finally pushed my package to PyPi (🥳) and I got version 1.0.0 out, followed quickly by v1.1.0 to fix some issues and also add some new code.
For version 1.0.0, I updated the pyproject.toml metadata with info like the author, license, and GitHub page. Then, I built using uv build and published with uv publish.
For the 1.1.0 update, I took advantage of the Pi’s native pinctrl utility to control the PWM pins of the fan myself. Although I only get binary access, that still let this version turn off the fan completely (useful for a quiet mode) or max the fan speed out (good for high temps or cleaning the fan). This also meant I had to add another function that told pinctrl to let go of the GPIO registers and give control back to the native Linux governors. I made a quick example file for this and pushed 1.1.0 to PyPi as well.
Log in to leave a comment