Skip to content

🎨 assets: add a logo, Annotated[T, metadata] with a check - #56

Merged
nstarman merged 1 commit into
mainfrom
docs/logo
Oct 4, 2026
Merged

nstarman merged 1 commit into
mainfrom
docs/logo

Conversation

@nstarman

@nstarman nstarman commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

is_annotated had no logo. This gives it one: the shape of Annotated[T, x], checked. Square brackets surround a type, drawn as a teal block, and its metadata, drawn as a purple flag. A yellow badge with a tick asks the question this package answers. It uses GalacticDynamics' navy, teal and purple.

docs/_static/make_logo.py writes it:

uv run docs/_static/make_logo.py                     # docs/_static/favicon.svg
uv run docs/_static/make_logo.py --size 2048 big.png # a PNG, at any size
  • SVG by default: 661 bytes and sharp at any size. The script writes the SVG text directly, so the default needs no dependencies.
  • Geometry: the brackets, type block, flag and badge are each one constant at the top of the script.
  • PNG on request: rendered with resvg-py, declared in the script's PEP 723 header, so uv run fetches it.
  • Location: docs/_static/, as in the other GalacticDynamics packages, ready for when is_annotated has docs. Nothing references it yet.

Checked: prek passes on the new files, re-running the script reproduces the file, and it stays readable at 32 px.

Part of giving the GalacticDynamics packages scripted logos.

🤖 Generated with Claude Code

is_annotated had no logo. It now has the shape of Annotated[T, x]: square
brackets around a type, drawn as a teal block, and its metadata, a purple
flag, with a yellow badge carrying a tick for the question this package
answers. docs/_static/make_logo.py writes it as an SVG (661 bytes), and as a
PNG at any size on request:

    uv run docs/_static/make_logo.py --size 2048 big.png

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nstarman nstarman added this to the v1.1.0 milestone Oct 4, 2026
@nstarman
nstarman merged commit 6525681 into main Oct 4, 2026
21 checks passed
@nstarman
nstarman deleted the docs/logo branch October 4, 2026 00:09
@codecov

codecov Bot commented Oct 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (a3ac02f) to head (68d3aab).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #56   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines            6         6           
=========================================
  Hits             6         6           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

nstarman added a commit to nstarman/nstarman.github.io that referenced this pull request Oct 4, 2026
Its logo, mirrored from GalacticDynamics/is_annotated's docs/_static/favicon.svg
(GalacticDynamics/is_annotated#56) by scripts/sync-software-figures.mjs: drawn 512 px wide and
saved as WebP at quality 85.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant