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.2a0

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.2a0
File Size Uploaded
psautohint-2.1.2a0.zip 234.9 kB Details

Built distributions (wheels)

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

Total release size: 1.8 MB

Release files / psautohint-2.1.2a0.zip

Download URL psautohint-2.1.2a0.zip
Size 234.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b720f3c3cc5303e2118adc0c59f5ba384c512f9cc3a873074517d8c466d2098f
BLAKE2b-256 checksum
How to use checksums
890872cb615d7da66815fe1b0736b64a00dafda68b4f8c5ae65b9cc52e744ab9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.3

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

Download URL psautohint-2.1.2a0-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
36a349a39dbdacbc543f312bc6665b84f92ff9fb51624a8f52b8b51bfcc3092c
BLAKE2b-256 checksum
How to use checksums
76567065833b21bc37a995afcd1814f681a379d2c1b3e4e4a2401e8e6edc653b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.3

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

Download URL psautohint-2.1.2a0-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
c369d1645aad0aec1c85b42b99ca99777fb298aae27c157fd2e09a930081326f
BLAKE2b-256 checksum
How to use checksums
76706c9f3d48b7976eb488b1c742c2d57f40285db7ee73e240e289e545d850ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.1

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

Download URL psautohint-2.1.2a0-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
7427db615a6b8202e735069bde9a7d09b8b486bd9d5f82df741802c3b097fd37
BLAKE2b-256 checksum
How to use checksums
3022e08782edb62e554d5d40590d2c33f1a1c1c18eb85f0307b6a9d2cc1173c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.3

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

Download URL psautohint-2.1.2a0-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
dcd4175cd46b543cc0b15544687fc2090e0dede05541ef2d01f9e7129709188e
BLAKE2b-256 checksum
How to use checksums
ab1807c4a1265a37ef0577f8bf5f54898ba9f6999da094bd53e10a5a5458a6f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.6

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

Download URL psautohint-2.1.2a0-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
27289d859f754379d308c7f107c177fddfc6031b722e350cebf8769eb9c3dfd3
BLAKE2b-256 checksum
How to use checksums
c14f64c099eef48b873d5e8237758842db7faeb9a94fff7c770270545f3096f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.8

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

Download URL psautohint-2.1.2a0-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
6513ee7dd6803a9c8a3f389b0d24cec46d5585036c8492c5ba89f14fdb7ff74f
BLAKE2b-256 checksum
How to use checksums
3eb6c1380fecbcc961a7e7528a64889cedf105026a5d866bf17943bb89d7de02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.3

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

Download URL psautohint-2.1.2a0-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
0b57c83cc063d7393df20b63fa47427b7e29e203d788d0031286a970a309b029
BLAKE2b-256 checksum
How to use checksums
0c27ad34ab3d5d58f5916d9c3efed17b2ef97097a1f026ac939762e3812d22d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 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

This release

2.1.2a0 This release

8 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