Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

PSAutoHint

A standalone version of AFDKO’s autohinter.

NOTE: as of August 2019, only Python 3.6 or later is supported.

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:

tox

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.

Metadata

Release files for psautohint 2.4.0a1

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.0a1
File Size Uploaded
psautohint-2.4.0a1.tar.gz 186.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for psautohint 2.4.0a1
File
psautohint-2.4.0a1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
psautohint-2.4.0a1-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.0a1-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details
psautohint-2.4.0a1-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details
psautohint-2.4.0a1-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
psautohint-2.4.0a1-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.0a1-cp38-cp38-macosx_11_0_arm64.whl CPython 3.8 CPython 3.8 macOS 11.0+ ARM64 Details
psautohint-2.4.0a1-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
psautohint-2.4.0a1-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
psautohint-2.4.0a1-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.0a1-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details

Total release size: 1.8 MB

Release files / psautohint-2.4.0a1.tar.gz

Download URL psautohint-2.4.0a1.tar.gz
Size 186.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4f8069add186740ebaec06c78550f4483ad0f55bfa9ae47297dd4a88391b3647
BLAKE2b-256 checksum
How to use checksums
954d1545e84b5db9239a88159272ad1d37306b2c30a4c07707c4e685c59ab1e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL psautohint-2.4.0a1-cp39-cp39-win_amd64.whl
Size 160.7 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
5c4245b501547c6627e06f3eacfaab0698b941c4bfaa88cc811d7f88e4b2dd04
BLAKE2b-256 checksum
How to use checksums
11c7c6ed9f31e0fec676a45fd3a37dc833f9a336258968c5d4fddf3b0fe9815d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL psautohint-2.4.0a1-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
71e28378444c91b39b98ac3c96e6847c15a5a13bda0ae290f4adfd2e9157487d
BLAKE2b-256 checksum
How to use checksums
8967e7e4961a98e036ddd8b77873c5f0f6aa2685503aa6cef3c2de02e36a25ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / psautohint-2.4.0a1-cp39-cp39-macosx_11_0_arm64.whl

Download URL psautohint-2.4.0a1-cp39-cp39-macosx_11_0_arm64.whl
Size 126.2 kB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4e976bb6e6c75d43292c789d7a0734593ae3b22d379fb8d223089d27150fc157
BLAKE2b-256 checksum
How to use checksums
1b60ca410c4c34f63be62a531fcdfc0d370c05ef2498c4e10e6d49620b1040e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL psautohint-2.4.0a1-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
97f8b495f87cef661a10d09b582cef6758f6684a6b92809c3b770e60e148214e
BLAKE2b-256 checksum
How to use checksums
1813314ee580bf96666a1eb1c063363dc5ceb607e075e40b067056b4ebb46ad1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL psautohint-2.4.0a1-cp38-cp38-win_amd64.whl
Size 160.7 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
0f259280f2fe1bfdc2fae559e44c2b7d8c3926ac889456c83593042f0b731e0c
BLAKE2b-256 checksum
How to use checksums
67d754bc9a4c1994bb31c5517dcb63e0d11d241ee1e0dda4be9f703aceaff7cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL psautohint-2.4.0a1-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
042d59092347aa0b08fc35cd6083ce9b2b99e99239edf3d61d0d7a784940bf23
BLAKE2b-256 checksum
How to use checksums
5987bd5601e23cb5f7fe739488252e92816bdb69dcc1386cedc4ec7a2fd1c6b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / psautohint-2.4.0a1-cp38-cp38-macosx_11_0_arm64.whl

Download URL psautohint-2.4.0a1-cp38-cp38-macosx_11_0_arm64.whl
Size 126.2 kB
Tags CPython 3.8 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b79328f23d46cbb61673749cc33fc8625c6861d5a3afa77e852ccca3bd4ef25b
BLAKE2b-256 checksum
How to use checksums
19f66869255be8a5f95dcf172ea32f999d600da7465b250da50ed18599452a5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL psautohint-2.4.0a1-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
6500d7f3e97df67dce099b98faeec9c5461995d5456ec0ca263ec8f468ec0e4e
BLAKE2b-256 checksum
How to use checksums
cb3c4f550029491ed293c727f61cddde28b94a358084fc5fb76b92656689bd0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL psautohint-2.4.0a1-cp37-cp37m-win_amd64.whl
Size 160.7 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
58e2ce50468e17a5dee9b28fa799cd873285b20abd71915f0d737e4cad50647b
BLAKE2b-256 checksum
How to use checksums
35e0549089706b2572c75d18904d9f590a9a33b402f46d917d1421f47c49618e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL psautohint-2.4.0a1-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
573058132e3a0c9f0c7a7e7a6dac11296deb34117fb8a23555824830e85a56be
BLAKE2b-256 checksum
How to use checksums
071bb913e49f0da275ed05d0094e42941af243920071e5db65528d43b683f392
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL psautohint-2.4.0a1-cp37-cp37m-macosx_10_9_x86_64.whl
Size 132.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
02d63a153bd9cb8dd20ff588af16354d6980ddf8a91b99255324ded880a4f8aa
BLAKE2b-256 checksum
How to use checksums
f88c4409ad6599a0a18797ce7aaa655d69a69a571e046916399a8ff9b13b4e81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release history Release notifications | RSS feed

This release

2.4.0a1 This release

12 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