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.8-cp310-abi3-macosx_11_0_arm64.whl (8.4 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: typg-5.0.8-cp310-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 8.4 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.8-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 28ef7eeac5059d11a6820e194e1af7cf85812ef60cbf8fcf95bc8b1f3930d2e0
MD5 9e64f505d4b28689b7edf5ae67172556
BLAKE2b-256 9fbceb2f650e9f48867471ac02c830d5225f32bb9e65e63b65d6d77b2e9f5c12

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