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

File metadata

  • Download URL: typg-1.0.1-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-1.0.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 04509a5b94a8cf3803bb1a0dad815edac98cb54dd8ecbbcdb5337b5b15662831
MD5 ca46eeb4771d05c54ce8e15e2f7ffe52
BLAKE2b-256 35cf359d6e50bb3c7cddd94f38702127ec2bf6ee661536e4090f942b498394d3

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