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.10-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.10-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: typg-5.0.10-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.10-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 59749cf812a322ee296f6572366f3b84e77a9db560531902dd68eb066dfd8355
MD5 591619fc0f57689f95119dfeb4c46235
BLAKE2b-256 f6acd7f09d16395751ca65abe655455f5288db3f3b37e2d2396417591a963850

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