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.

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.3.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.3.0
File Size Uploaded
psautohint-2.3.0.zip 233.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for psautohint 2.3.0
File
psautohint-2.3.0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
psautohint-2.3.0-cp39-cp39-manylinux1_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.5+ x86-64 Details
psautohint-2.3.0-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details
psautohint-2.3.0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
psautohint-2.3.0-cp38-cp38-manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details
psautohint-2.3.0-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
psautohint-2.3.0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
psautohint-2.3.0-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
psautohint-2.3.0-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details
psautohint-2.3.0-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
psautohint-2.3.0-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
psautohint-2.3.0-cp36-cp36m-macosx_10_9_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64 Details

Total release size: 2.0 MB

Release files / psautohint-2.3.0.zip

Download URL psautohint-2.3.0.zip
Size 233.4 kB
Tags Source
SHA-256 checksum
How to use checksums
78a45b13a475fd83e99fd637bd908d91679c5fd765993cdb6cff1f48d93c3029
BLAKE2b-256 checksum
How to use checksums
4143598368bc85ddd39253728291a1353b940337532eb7eee8a0fbcef9b4267d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.9

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

Download URL psautohint-2.3.0-cp39-cp39-win_amd64.whl
Size 160.2 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
adf1afad8a87be9a8dcfaa230ac3eb29dae43fa43a5dbd92e5017ce0ac3b2a46
BLAKE2b-256 checksum
How to use checksums
0c081944d82920976686fd976662d4a917cbb02f1bb5cd1767813d68638890d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.9

Release files / psautohint-2.3.0-cp39-cp39-manylinux1_x86_64.whl

Download URL psautohint-2.3.0-cp39-cp39-manylinux1_x86_64.whl
Size 144.2 kB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
41d04213af10207f70dcfb3dc7c5f42afe18855a4d6b630eb4583e7f1a54e18b
BLAKE2b-256 checksum
How to use checksums
e37bc1428b9b4f8b4222aced635e305fa68ccdf17b0b0887962f238c2046a7d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.9

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

Download URL psautohint-2.3.0-cp39-cp39-macosx_10_9_x86_64.whl
Size 132.3 kB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
833234609261279e43b977cb297e133686e3dfbfef83fa6332aaaa8cc9a8ddc0
BLAKE2b-256 checksum
How to use checksums
cf1d4edb03aa733afba7410a6d44b48a2fe1345f4d99d6a75107ecc93394bd1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.9

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

Download URL psautohint-2.3.0-cp38-cp38-win_amd64.whl
Size 160.2 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
e7338b36ed5edf7dfc8c2ed1efabbb2dde19a8410f76e5826501f81c959b177a
BLAKE2b-256 checksum
How to use checksums
4b1b58def77833e6ce1cea43f6bafb005e650fb127e368846450a297fd90a6e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.9

Release files / psautohint-2.3.0-cp38-cp38-manylinux1_x86_64.whl

Download URL psautohint-2.3.0-cp38-cp38-manylinux1_x86_64.whl
Size 144.2 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
4bb8ef134aea7318d7cf54766b7e2b49242f89f7fbcf3353688ec82f1cfe3659
BLAKE2b-256 checksum
How to use checksums
dcb8bcd3336a123ae2612df6c97af8147f17ad31cc8c1e594197249d284bc3c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.9

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

Download URL psautohint-2.3.0-cp38-cp38-macosx_10_9_x86_64.whl
Size 132.3 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
e07a8b3ecdf24ab185f907c551de5e64913bcaec841697be05b5c3675d0c6919
BLAKE2b-256 checksum
How to use checksums
449520d409c474572c3dbc76a66a32726de33591d8e38b5a78251dc3cfa162b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.9

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

Download URL psautohint-2.3.0-cp37-cp37m-win_amd64.whl
Size 160.2 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
377a3929e462e43187ad42ececc905d303f6d961d51f8ccb6600f16387118530
BLAKE2b-256 checksum
How to use checksums
5b04305c18a1d6ea4f1b6be56f9306a52a3f69efce33869ca0a01f76162cfb46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.9

Release files / psautohint-2.3.0-cp37-cp37m-manylinux1_x86_64.whl

Download URL psautohint-2.3.0-cp37-cp37m-manylinux1_x86_64.whl
Size 144.2 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
66237b6d91a9b28569d17aac3e3477231520a72fde8a181338f6ce5a5a734b3d
BLAKE2b-256 checksum
How to use checksums
e067d2b475f66fdb0a998e8bc35592523e843555ddd9eb3a74f5ff847f8e1928
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.9

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

Download URL psautohint-2.3.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
a7cead529feb923dde2f6d78a55cfc094507b582ac7a3357c91d6b034105f4c8
BLAKE2b-256 checksum
How to use checksums
95970f36091b86c7f872a4a36095655f6dcd4ed04e59aa4455c941d0c55eceb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.9

Release files / psautohint-2.3.0-cp36-cp36m-win_amd64.whl

Download URL psautohint-2.3.0-cp36-cp36m-win_amd64.whl
Size 160.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
af9c6c8a16c80c2e1f621d927125508f71bd2fa8875569e15b45982bda202d6c
BLAKE2b-256 checksum
How to use checksums
60989e149783ca950d0b398c1427a3c6bcfe4c1e3cd5a7ec561dc71e905abc11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.9

Release files / psautohint-2.3.0-cp36-cp36m-manylinux1_x86_64.whl

Download URL psautohint-2.3.0-cp36-cp36m-manylinux1_x86_64.whl
Size 144.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
f702525519f4caa494d5ed00bd9d809d0324883f505e46ed901be8fa65ebde27
BLAKE2b-256 checksum
How to use checksums
a08095563b65dc5703e9a65793e0a8e5b4476d94354fddedd052f0b30600dcfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.9

Release files / psautohint-2.3.0-cp36-cp36m-macosx_10_9_x86_64.whl

Download URL psautohint-2.3.0-cp36-cp36m-macosx_10_9_x86_64.whl
Size 132.4 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
af02fd9d677e331daa843a0017447f8a55e5a90f3a49fa27217717be9f080a26
BLAKE2b-256 checksum
How to use checksums
f5140b5e48bf1c9f61f2c5d1448630ebe4197cf0a6215d38ddb19ecba59e34ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.9

Release history Release notifications | RSS feed

2.3.1

13 release files

This release

2.3.0 This release

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