Skip to main content
Pre-release

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

Travis AppVeyor 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.1.1a0

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.1.1a0
File Size Uploaded
psautohint-2.1.1a0.zip 234.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for psautohint 2.1.1a0
File
psautohint-2.1.1a0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
psautohint-2.1.1a0-cp38-cp38-manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details
psautohint-2.1.1a0-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
psautohint-2.1.1a0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
psautohint-2.1.1a0-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
psautohint-2.1.1a0-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details
psautohint-2.1.1a0-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
psautohint-2.1.1a0-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
psautohint-2.1.1a0-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.2 MB

Release files / psautohint-2.1.1a0.zip

Download URL psautohint-2.1.1a0.zip
Size 234.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d7f0dbfa8a9b994a6569ef432cc51c38a106528afc605672ef13193d46beea09
BLAKE2b-256 checksum
How to use checksums
1eb78ee85ef74c65bbbd29c74f4524099e70fb75499bb39624f282f95a623329
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.3

Release files / psautohint-2.1.1a0-cp38-cp38-win_amd64.whl

Download URL psautohint-2.1.1a0-cp38-cp38-win_amd64.whl
Size 236.4 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
fc366037cb19dd9a8dabd9394d76266ed7eb8cd441146fd20cca6dcd53b1f893
BLAKE2b-256 checksum
How to use checksums
c94dc520894da7c9b493d9e2c936cfa90463530709061112b04af1b5b362fde5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

Release files / psautohint-2.1.1a0-cp38-cp38-manylinux1_x86_64.whl

Download URL psautohint-2.1.1a0-cp38-cp38-manylinux1_x86_64.whl
Size 211.4 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
9db32755e9e8d66fcac733d68460e1a975012a0352af40179240285b344fb1b5
BLAKE2b-256 checksum
How to use checksums
64e37c647584d7e1a6d318e277c7485c5287f3528e2b12d437dd5235ed809a73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.3

Release files / psautohint-2.1.1a0-cp38-cp38-macosx_10_9_x86_64.whl

Download URL psautohint-2.1.1a0-cp38-cp38-macosx_10_9_x86_64.whl
Size 223.6 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
d1e28bf8d6bfc8bd5397b8b07a3e87da8a6b9c95ca73fc7d2331872c90f3e683
BLAKE2b-256 checksum
How to use checksums
c6245c74a1a5cc00e14e0371f9b6f8062f96f9c7acae251c9e06d7b07446f294
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.1

Release files / psautohint-2.1.1a0-cp37-cp37m-win_amd64.whl

Download URL psautohint-2.1.1a0-cp37-cp37m-win_amd64.whl
Size 236.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
5bc6ffc60073f3a4bb7a407d90f291f93320ff1b06045a73c4b5f7845ab3104f
BLAKE2b-256 checksum
How to use checksums
a5007c7859a796d654fe3d45fa667f8ba01783099b605f85c1c701c828e8b9cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.5

Release files / psautohint-2.1.1a0-cp37-cp37m-manylinux1_x86_64.whl

Download URL psautohint-2.1.1a0-cp37-cp37m-manylinux1_x86_64.whl
Size 211.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
2b3bf55623c1887eaf98c3d750d37cbe2ca5c006d1fc75eef402595ce8e50363
BLAKE2b-256 checksum
How to use checksums
326547ab431224e5dfa5a3f05f8f87fb6a6da2062a527911668554e23c48e19c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.3

Release files / psautohint-2.1.1a0-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL psautohint-2.1.1a0-cp37-cp37m-macosx_10_9_x86_64.whl
Size 223.6 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
027df7947da8f1df0dfb43a9603e2d83c8d8e10e5ca2fe4bb54cf8615e48dd45
BLAKE2b-256 checksum
How to use checksums
16acb2c11148c1824dee515cdc17749410c3c3ff38d34bc731ad11a03961e015
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6

Release files / psautohint-2.1.1a0-cp36-cp36m-win_amd64.whl

Download URL psautohint-2.1.1a0-cp36-cp36m-win_amd64.whl
Size 236.4 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
b7b2e6e9769d1aba1b4e795a960ee1d16a8dde8b1b20dc8b8b18db1316e53e7e
BLAKE2b-256 checksum
How to use checksums
272ce8dd90a519529e2e88e83aa65c2112c202e15d6bc4182c8d6d47a43f2503
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8

Release files / psautohint-2.1.1a0-cp36-cp36m-manylinux1_x86_64.whl

Download URL psautohint-2.1.1a0-cp36-cp36m-manylinux1_x86_64.whl
Size 211.4 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
b1849f62e0b901f676bc03aaf3565366dc683ef502a78e9ed41f7f04e0f267d4
BLAKE2b-256 checksum
How to use checksums
7773681ed516149d55879331625fcf39e76eb24f851be6c86a329a382dfa4644
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.3

Release files / psautohint-2.1.1a0-cp36-cp36m-macosx_10_9_x86_64.whl

Download URL psautohint-2.1.1a0-cp36-cp36m-macosx_10_9_x86_64.whl
Size 223.4 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
ff28eb110fd6513ea29ff824a577cb4d27d7269ca76ea7a75d97cc0aa671f87b
BLAKE2b-256 checksum
How to use checksums
42631533febacec7a51ea075019fff9ec028387e837b59a79ccc330299a4c6a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8

Release history Release notifications | RSS feed

2.3.1

13 release files

2.3.0

13 release files

2.2.0

13 release files

2.1.1

10 release files

This release

2.1.1a0 This release

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