Skip to main content

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

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

Built distributions (wheels)

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

Total release size: 4.5 MB

Release files / psautohint-2.1.2.zip

Download URL psautohint-2.1.2.zip
Size 239.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fb5761ad7e3fa6adf0266ea8b50de6afd04e95fdef32fa4e70a318889e3bbf44
BLAKE2b-256 checksum
How to use checksums
b637d10ae4fd2252162de1b4b4e098aaebc432fab2392d01fc81adf8ff90a2fd
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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

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

Download URL psautohint-2.1.2-cp39-cp39-win_amd64.whl
Size 265.4 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
ea867f7ddc83102e670e87b39527ccc658eafa56f4293bc1f92f04470a6247ae
BLAKE2b-256 checksum
How to use checksums
b11f422cdc9b15063de6d736821bfd9c0dc92ffe668074d21a4897b7afd5457c
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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

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

Download URL psautohint-2.1.2-cp39-cp39-manylinux1_x86_64.whl
Size 591.1 kB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
85e44706b20fe7b185d28cff5c961b087e620a9431f38151617fbc7cd37166ca
BLAKE2b-256 checksum
How to use checksums
518424db0c2c48d7eddfd653c99d8f58a56c42bff88be9468960a4b2ef92bc15
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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

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

Download URL psautohint-2.1.2-cp39-cp39-macosx_10_9_x86_64.whl
Size 221.1 kB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
56b541d935cdb247c2467293bdfb1e79ceb38f07ef5f37f10f2bfba771c238c3
BLAKE2b-256 checksum
How to use checksums
f103bbf20f3926ae9e2d79e8aa53b545285bb5320917f7ddd83dc466535d3a32
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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

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

Download URL psautohint-2.1.2-cp38-cp38-win_amd64.whl
Size 265.4 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
6ebd39e22be5569cd6ebd91b3c2f24dcd8b5e867a152857f1b49d0fb07585ddc
BLAKE2b-256 checksum
How to use checksums
bb3e029404b9b3fff47f9325821ebfc736d47ac63da33a0ab3e46251f7a1d81f
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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

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

Download URL psautohint-2.1.2-cp38-cp38-manylinux1_x86_64.whl
Size 591.4 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
602fc73bc92022aa3d7f0e365d4c205c23894a6567e25248ac0ba5bacaecc5ac
BLAKE2b-256 checksum
How to use checksums
513569d530d45a7e75e6ce84949ccebfc9f435c7df7de78992b9787b33e7d319
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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

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

Download URL psautohint-2.1.2-cp38-cp38-macosx_10_9_x86_64.whl
Size 221.1 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
fc61c9ea67d71a8d9b584a7b3e46be1b16b19991ee50876bcb8f952853668efc
BLAKE2b-256 checksum
How to use checksums
a96f19be9f90e95ab72e11234ae2dedd71f7ef3721083921edbe53e021502b1c
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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

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

Download URL psautohint-2.1.2-cp37-cp37m-win_amd64.whl
Size 265.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
ce85b0686634267cdc34a11bcbda4ee797d3f5a06eca35fdadbfce137514e8f3
BLAKE2b-256 checksum
How to use checksums
a38ff132234b458785a72c47df7c4454674ee62cb6447efc6d745d7f3a22f2c0
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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

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

Download URL psautohint-2.1.2-cp37-cp37m-manylinux1_x86_64.whl
Size 590.9 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
e5538005ae3d24eacf6585a8bb300c68325fa31d00a99f49bd8d55e68efe5177
BLAKE2b-256 checksum
How to use checksums
29a2e0960c8502346f107637e5f70ed3aa22a3131e338aaa74172249542575ff
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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

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

Download URL psautohint-2.1.2-cp37-cp37m-macosx_10_9_x86_64.whl
Size 221.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
99410d048fda2dea66ed8d2dc08710dfa9a67716a5f25db841ebebdd6a420f11
BLAKE2b-256 checksum
How to use checksums
e721d7fcf26120dc00c263d1272d016bdc3e7eeb30f981717b80ffc583007ed8
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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

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

Download URL psautohint-2.1.2-cp36-cp36m-win_amd64.whl
Size 265.4 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
dc8dc2b7ad71991aa94a0b10ae457b806374f47ea4837f915fb7fe9e4c24ed24
BLAKE2b-256 checksum
How to use checksums
885b2a8ab35050523921295bb524bc2cd0acbcc0aaa81a313af7e5211ec4ce88
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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

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

Download URL psautohint-2.1.2-cp36-cp36m-manylinux1_x86_64.whl
Size 590.9 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
c7486f72bedc7167d27aa9ba57c6de61b1e16f4bc2639d7b29881ce90c2bbf71
BLAKE2b-256 checksum
How to use checksums
d232398d9633a3089280a764865e3d07883d9f71dcd19ffe9b54f7a240ca4119
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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

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

Download URL psautohint-2.1.2-cp36-cp36m-macosx_10_9_x86_64.whl
Size 221.1 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
1a964ab8d4e5e63d0881ceafd1e674af59245a800003f41e109d183a79a88b85
BLAKE2b-256 checksum
How to use checksums
47dbc601071023e8f6050fd621f7ef5c07457317c65f551d884bb8351c764ce4
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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

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.2 This release

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