An experiement with weather and sunrise times.
uvx acme-weather
Currently using uv
for development. See uv install instructions
git clone https://github.com/philion/clw
cd clw
uv run clw
Standard uv build and publish tools are used.
cd clw
uv build
# insert testing here
uv publish
To make uv publish
smooth, I set the env var UV_PUBLISH_TOKEN
with a valid PyPI token:
export UV_PUBLISH_TOKEN=pypi-yourReallyLongPyPIPublishingToken
Current near-term implementation plans:
- day-or-night based on sun rise/set times
- clean up visuals, provide external CSS
- published to PyPI - https://pypi.org/project/acme-weather/
- commandline app packaging with uv support
- add release management, to bump version, test and publish
- visual high and low temps: hottest, hot, warm, average, cool, cold, coldest
- visual percipitation ???
- add moon rise, zenith, set and phase
- add icons for dawn, sunrise, noon, sunset, dusk
- add images overlay for weather + sun/moon states
- better text-only report
- 15-minute version
- live-update mini-version
- standard set of widgets for Textual
- work in dev branch (or any)
- completed pr/merge in
main
triggers publish pipline - bump version, build, test publish.
On commit or merge to and non-main branch, just run validate pipeline: test, coverage, format, ruff, etc.