Skip to main content

Add your description here

Project description

An experiement with weather and sunrise times.

tl;dr

uvx acme-weather

Run

Currently using uv for development. See uv install instructions

git clone https://github.com/philion/clw
cd clw
uv run clw

screenshot of clw tool showing the 12 hour weather forecast

Build

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

To Do

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

Thoughts on build automation

  1. work in dev branch (or any)
  2. completed pr/merge in main triggers publish pipline
  3. bump version, build, test publish.

On commit or merge to and non-main branch, just run validate pipeline: test, coverage, format, ruff, etc.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acme_weather-0.7.0.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acme_weather-0.7.0-py3-none-any.whl (710.4 kB view details)

Uploaded Python 3

File details

Details for the file acme_weather-0.7.0.tar.gz.

File metadata

  • Download URL: acme_weather-0.7.0.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.21

File hashes

Hashes for acme_weather-0.7.0.tar.gz
Algorithm Hash digest
SHA256 3f040027177063429c145f59a2c10759d26e22f31abf114a9ca1a76ca4986cd5
MD5 a35b47935c32138aac23fb67b8d29406
BLAKE2b-256 32662f2b487c33ead83d26e88501bb471045714ce7c743ac87a2fe38bb5a9fd5

See more details on using hashes here.

File details

Details for the file acme_weather-0.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for acme_weather-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c8d7dee225a657930ece66abc034fa7c538d2f512eabf8f0f23e7403cc8faf6
MD5 2621aaa7d43f895380b649ee3456497c
BLAKE2b-256 1594a1751bee6f1b28beaca41aee5b8001ba59bfe132bdfaee5d28c6da81cb1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page