Skip to main content

PyO3 bindings for typg-core (made by FontLab https://www.fontlab.com/)

Project description

typg (PyPI)

PyO3 bindings for typg-core (made by FontLab https://www.fontlab.com/), exposed on PyPI as typg with a Fire-based CLI wrapper.

Build

uv venv --python 3.12
uv pip install maturin
uv run maturin develop --features extension-module

Usage

from typg import find, filter_cached

results = find([\"/Library/Fonts\"], axes=[\"wght\"], variable=True, jobs=4)
print(len(results))

weighted = find([\"/Library/Fonts\"], weight=\"300-500\", width=\"5\")
print(\"weight/width matches\", len(weighted))

CLI:

typgpy find --paths /Library/Fonts --axes wght --weight 300-500 --variable --jobs 4

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

typg-5.0.14-cp310-abi3-macosx_11_0_arm64.whl (8.1 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file typg-5.0.14-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: typg-5.0.14-cp310-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 8.1 MB
  • Tags: CPython 3.10+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for typg-5.0.14-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1b0c9aab8da0b58a8a846c5db1a5e79e6c9c705ac264a905a7fb08158dd322f6
MD5 3600ee20039acf51e345c89d40377a0c
BLAKE2b-256 2f6b9b5e80c04d81dbc556a88e4bce1d01ce9f490a62c5721111842984867beb

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