Skip to main content

astroglyphs_2K

Curated OFL astrology glyph fonts — the "best of Noto" — plus per-glyph metrics and one-line embedding helpers, so any chart renderer gets deterministic astrology symbols instead of depending on whatever fonts the viewer has installed.

The good astrology fonts (Linotype Astrology Pi and friends) are proprietary and can't be bundled. astroglyphs_2K subsets the freely-licensed Noto family into compact web fonts you can inline directly into an SVG or HTML page, and tells you exactly how big each glyph is.

pip install astroglyphs_2K
import astroglyphs_2K as ag

svg = (ag.font_face_css()                      # <style> with the embedded @font-face rules
       + f'<text font-family={ag.SYM_FAMILY!r}>☉︎ ♄︎ ♏︎</text>'
       + f'<text font-family={ag.TXT_FAMILY!r}>22°℞ 36′</text>')

What's inside

All glyphs are subset from Noto and renamed per the OFL Reserved Font Name clause:

Family Source (Noto) Glyphs
AstroSym Noto Sans Symbols planets (Moon–Pluto), nodes, the 12 signs, asteroids, Chiron, Lilith, Hygeia, aspect symbols
AstroSym2 Noto Sans Symbols 2 the Sun, Eros, Eris, Sedna
AstroMath Noto Sans Math ⊗ Part of Fortune
AstroText Noto Sans digits, Latin, ℞ · ° · ′ · ″

SYM_FAMILY and TXT_FAMILY are ready-made font-family stacks (embedded families first, system fallbacks after), so with font_face_css(embed=False) the page degrades gracefully to the viewer's own fonts.

API

  • font_face_css(embed=True) → a <style> element inlining every font as a data: woff2 URI (self-contained; returns "" when embed=False).
  • SYM_FAMILY, TXT_FAMILY → font-family stacks.
  • glyph_metrics(ch) → (advance, ymin, ymax, xmin, xmax) in fractions of the em (ink bounding box from the outline) — for laying glyphs out without guessing.
  • save_fonts(dest, fontset="astroset", formats=("ttf","otf","woff2")) → write the packaged installable font files (TrueType .ttf, OpenType-CFF .otf, web .woff2) into a directory; font_bytes(family, fontset, fmt) returns one file's raw bytes. Both astroset (the compact astrology subset) and fullset (the whole renamed Noto family) are available.
  • GLYPH_METRICS, SYMBOL_FAMILY_NAMES, TEXT_FAMILY_NAME, FONT_SETS, FONT_FORMATS, OFL_ATTRIBUTION.

Licensing

Code: MIT. Bundled font data: SIL Open Font License 1.1 (the subset Noto glyphs) — see LICENSES/OFL.txt and astroglyphs_2K.OFL_ATTRIBUTION. The subsets are renamed (Astro*) so they are not distributed under a Noto Reserved Font Name.

Rebuilding the data

pip install -e ".[build]"      # fonttools + brotli
python tools/build.py          # regenerates src/astroglyphs_2K/_data.py from tools/fonts/*.ttf

Deterministic: the same vendored sources produce the same _data.py.

MIT © 2026 Elizabeth Huston, Ph.D. and Noah Christian, Ph.D. · bundled glyphs © the Noto Project (OFL 1.1)

Metadata

Release files for astroglyphs-2K 0.1.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 astroglyphs-2K 0.1.0
File Size Uploaded Provenance
astroglyphs_2k-0.1.0.tar.gz 7.8 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for astroglyphs-2K 0.1.0
File Interpreter ABI Platform
astroglyphs_2k-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 MB

Release files / astroglyphs_2k-0.1.0.tar.gz

Download URL astroglyphs_2k-0.1.0.tar.gz
Size 7.8 MB
Tags Source
SHA-256 checksum
How to use checksums
d3a7d8505d56e13e40527bf532b36b71a7e125944cf7622558916a417e154593
BLAKE2b-256 checksum
How to use checksums
8ddc22b013a045d3bc9342ae08edd76166489713d236ddcb401e99bb99b9eb12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / astroglyphs_2k-0.1.0-py3-none-any.whl

Download URL astroglyphs_2k-0.1.0-py3-none-any.whl
Size 5.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7eb36837645d8ca963952dc37df34098da1e0bba870a9d18ae836b826954b378
BLAKE2b-256 checksum
How to use checksums
dfbcb9e5f2e6bffc386e85b252e055fe0ba4c447ec68dbb2da1eef7c48e9c333
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Security for astroglyphs-2K 0.1.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for astroglyphs_2k-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

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