Skip to main content

Test and Build Codecov PyPI Language grade: C/C++ Language grade: Python Total alerts

PSAutoHint

A standalone version of AFDKO’s autohinter.

Building and running

This repository currently consists of a core autohinter written in C, a Python C extension providing an interface to it, and helper Python code.

To build the C extension:

python setup.py build

To install the C extension and the helper scripts globally:

pip install -r requirements.txt .

Alternatively to install them for the current user:

pip install -r requirements.txt --user .

The autohinter can be used by running:

psautohint

To build just the autohintexe binary:

python setup.py build_exe

Testing

We have a test suite that can be run with:

pytest

Debugging

For standard debugging, build with:

python setup.py build --debug

It is also possible to build a debug version with AddressSanitizer ("ASan") support (currently for Mac OS X only) with:

python setup.py build --asan
pip install .

Once it is installed, you can use the util/launch-asan.sh shell script to launch a Python process that invokes the ASan libraries needed for debugging. Attach Xcode the launched process, then execute code in the process that triggers memory usage problems and wait for ASan to do its magic.

NOTE: be sure to build and install psautohint as described above; using other techniques such as python setup.py install will cause a re-build without ASan and debug support, which won't work.

Release files for psautohint 2.4.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 psautohint 2.4.0
File Size Uploaded
psautohint-2.4.0.tar.gz 185.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for psautohint 2.4.0
File
psautohint-2.4.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
psautohint-2.4.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.12+ x86-64 Details
psautohint-2.4.0-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details
psautohint-2.4.0-cp310-cp310-macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) Details
psautohint-2.4.0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
psautohint-2.4.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.5+ x86-64 Details
psautohint-2.4.0-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details
psautohint-2.4.0-cp39-cp39-macosx_10_9_universal2.whl CPython 3.9 CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) Details
psautohint-2.4.0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
psautohint-2.4.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details
psautohint-2.4.0-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
psautohint-2.4.0-cp38-cp38-macosx_10_9_universal2.whl CPython 3.8 CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64) Details
psautohint-2.4.0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
psautohint-2.4.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
psautohint-2.4.0-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details

Total release size: 2.4 MB

Release files / psautohint-2.4.0.tar.gz

Download URL psautohint-2.4.0.tar.gz
Size 185.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d50edea8f6121c3383f0d82f881bf7a18bdd476cc2d354737672ce193c3cff7f
BLAKE2b-256 checksum
How to use checksums
9174014da6e9280844cec6a73a04e069d95740e5520fd9477afbf31208d0e2f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / psautohint-2.4.0-cp310-cp310-win_amd64.whl

Download URL psautohint-2.4.0-cp310-cp310-win_amd64.whl
Size 135.9 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
abc605db7e01ff9cf135eadaeb7c971613e55d7e984235bea8c10d85ce2afab8
BLAKE2b-256 checksum
How to use checksums
225158032adc464d717b36db45d84ecdd99e11bda7ff53bcf6cc21519ee0b4cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / psautohint-2.4.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL psautohint-2.4.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 144.2 kB
Tags CPython 3.10 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
cc2307eb73916d384ada74364d2e1d644129dc567b6dc593ad6249615221b9fd
BLAKE2b-256 checksum
How to use checksums
4d5382ab305991e800b51884987803240b7e0dc25515acad20bb6894eea8fa72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / psautohint-2.4.0-cp310-cp310-macosx_10_9_x86_64.whl

Download URL psautohint-2.4.0-cp310-cp310-macosx_10_9_x86_64.whl
Size 132.4 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
12c1cd0a2b45310233dd5342f9029cbfbdd6f0f1cf532af15ff70e0b4340607c
BLAKE2b-256 checksum
How to use checksums
c67bc6f0a355e2e7f932941b7ad1f24cba7714ff575094d1f8ee1d3af6605f19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / psautohint-2.4.0-cp310-cp310-macosx_10_9_universal2.whl

Download URL psautohint-2.4.0-cp310-cp310-macosx_10_9_universal2.whl
Size 201.9 kB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
c6a8dafcc16e606108536072c08e4223d564147aca1778457d312a4723584fd4
BLAKE2b-256 checksum
How to use checksums
5bcad8a1fb0b57a4e00cc8e6d09700b2248b3c4fbf08aa9b2771f3f78abecb3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / psautohint-2.4.0-cp39-cp39-win_amd64.whl

Download URL psautohint-2.4.0-cp39-cp39-win_amd64.whl
Size 135.9 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
ec1f387c8b923d5680f07b7c3aedf328dd020bb2403298fdd04cad73b3684e62
BLAKE2b-256 checksum
How to use checksums
060d76ab2bb0813cb98b5d3411a6d5392aa013c6120c2469531fc29127bc43df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / psautohint-2.4.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL psautohint-2.4.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 144.6 kB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
da73fc11648ddf92f9e51a150073613d706e16267f1af4a4c4cb35c18b3dd5da
BLAKE2b-256 checksum
How to use checksums
95578493a38eb38205e4854e09dfc88d79bc95f91b8d72c20021da05edb73e82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / psautohint-2.4.0-cp39-cp39-macosx_10_9_x86_64.whl

Download URL psautohint-2.4.0-cp39-cp39-macosx_10_9_x86_64.whl
Size 132.4 kB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
7676f7f9d859ed0782040e943440e3407cbdb65d412438dc3c17c6a69a4a8aea
BLAKE2b-256 checksum
How to use checksums
2508f3cb857acd641606eb3b96f3c1064e0f43f0bcfbd20bdc680781e7c335e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / psautohint-2.4.0-cp39-cp39-macosx_10_9_universal2.whl

Download URL psautohint-2.4.0-cp39-cp39-macosx_10_9_universal2.whl
Size 201.9 kB
Tags CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
0c78aafe6af2ddf29de0a1bec9c6bb27d586c1fbe5e7ae0072740af44e9c0935
BLAKE2b-256 checksum
How to use checksums
9744bd0d6b5c778683116319bf6c5436eecd856accdbe22e82423b37237e1145
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / psautohint-2.4.0-cp38-cp38-win_amd64.whl

Download URL psautohint-2.4.0-cp38-cp38-win_amd64.whl
Size 135.9 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
e7f82992252120e5bd58f2981b247beb13318d3588c861525707512b66d7b0a6
BLAKE2b-256 checksum
How to use checksums
6f07b4b9f814319dde58fbf211303b943a5b6148717065abeb334019aabc837c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / psautohint-2.4.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL psautohint-2.4.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 144.6 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
525e2a4fd513d979624424ffef5b864eb0018dddd9bf882bbc15e1e718b8e3b9
BLAKE2b-256 checksum
How to use checksums
aa4331eb16f5fe9bc4a6e78ff69ec798b0811ffa8ec742d7a488e909035b1f5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / psautohint-2.4.0-cp38-cp38-macosx_10_9_x86_64.whl

Download URL psautohint-2.4.0-cp38-cp38-macosx_10_9_x86_64.whl
Size 132.4 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
f158b524d18355077cc21d8e74599d964db607cf81f987ac543ced94e0fcaede
BLAKE2b-256 checksum
How to use checksums
564a05b415aa11f747bc9d752827c13b02f3ac94d9ccc4663c54bc7ce42eb173
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / psautohint-2.4.0-cp38-cp38-macosx_10_9_universal2.whl

Download URL psautohint-2.4.0-cp38-cp38-macosx_10_9_universal2.whl
Size 201.9 kB
Tags CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
a8654252be853dba6253fef94ccaf6e57920c2cd0123efb68f7087f3d574ec4c
BLAKE2b-256 checksum
How to use checksums
e00944a7a128e3f54bbd776d5c320dd5a7c5a4dd1ac515fe08c347718017636f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / psautohint-2.4.0-cp37-cp37m-win_amd64.whl

Download URL psautohint-2.4.0-cp37-cp37m-win_amd64.whl
Size 135.9 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
82d83c3a47ad10e9f9ac8d192625fcbfebad233d4420341d08ac5905f3c584c7
BLAKE2b-256 checksum
How to use checksums
ac75d1294c0075b96f5fd9ea41c1f6c5f1c973fca0cbdcd0fb7fa77d0dacf7a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / psautohint-2.4.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL psautohint-2.4.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 144.6 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
9d3da45677a848cdf496318b749fc89def6f886e3d2c7b17025555edf4670289
BLAKE2b-256 checksum
How to use checksums
62adbb0092c767796a31323823486a5645b88a4e49362f0d1b5144c0b8bb976e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / psautohint-2.4.0-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL psautohint-2.4.0-cp37-cp37m-macosx_10_9_x86_64.whl
Size 132.3 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
00dbee2a9b685424327d8687687ac9e52c0125e1cd3ef17264d979e232682a56
BLAKE2b-256 checksum
How to use checksums
dd7f8ebce23dbf45db182f6452357b135739e98a67321a8fa4d2f5dc655055a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release history Release notifications | RSS feed

This release

2.4.0 This release

16 release files

2.3.1

13 release files

2.3.0

13 release files

2.2.0

13 release files

2.1.1

10 release files

2.1.0

10 release files

2.0.1

10 release files

2.0.0

7 release files

1.9.3

10 release files

1.9.2

10 release files

1.9.0

10 release files

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