Skip to main content

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.

Metadata

Release files for acme-weather 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acme-weather 0.7.0
File Size Uploaded Provenance Actions
acme_weather-0.7.0.tar.gz 1.0 MB Without provenance Details for acme_weather-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for acme-weather 0.7.0
File Interpreter ABI Platform Actions
acme_weather-0.7.0-py3-none-any.whl Python 3 none any Details for acme_weather-0.7.0-py3-none-any.whl

Total release size: 1.7 MB

Release files / acme_weather-0.7.0.tar.gz

Download URL acme_weather-0.7.0.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
3f040027177063429c145f59a2c10759d26e22f31abf114a9ca1a76ca4986cd5
BLAKE2b-256 checksum
How to use checksums
32662f2b487c33ead83d26e88501bb471045714ce7c743ac87a2fe38bb5a9fd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.21

Release files / acme_weather-0.7.0-py3-none-any.whl

Download URL acme_weather-0.7.0-py3-none-any.whl
Size 710.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c8d7dee225a657930ece66abc034fa7c538d2f512eabf8f0f23e7403cc8faf6
BLAKE2b-256 checksum
How to use checksums
1594a1751bee6f1b28beaca41aee5b8001ba59bfe132bdfaee5d28c6da81cb1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.21

Security for acme-weather 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page