2 ms·
Show HN: Cogeol – Align your projects Python versions by cog and endoflife.date
Hello, cogeol is a small tool which allows you to manage Python versions of your projects (usually libraries) by utilizing cog's (https://github.com/nedbat/cog https://github.com/nedbat/cog) static code generation and https://endoflife.date/ https://endoflife.date/ data.
For example - say you want to always support three latest latest Python versions, no more, no less (according to Scientific Python SPEC0: https://scientific-python.org/specs/spec-0000/ https://scientific-python.org/specs/spec-0000/). Currently that would be Python version 3.13, 3.12 and 3.11. When 3.14 officially drops, you would have to move your library manually to 3.14, 3.13, 3.12.
This is what cogeol automates, see the usage example: https://github.com/open-nudge/cogeol?tab=readme-ov-file#usage https://github.com/open-nudge/cogeol?tab=readme-ov-file#usag.... Also works with other files, see example in the README, thanks in advance!
If you want to follow for other projects, check out the opennudge GitHub here: https://github.com/open-nudge https://github.com/open-nudge (or associated links at the top)