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

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.0a0
File Size Uploaded
psautohint-2.1.0a0.zip 234.3 kB Details

Built distributions (wheels)

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

Download URL psautohint-2.1.0a0.zip
Size 234.3 kB
Tags Source
SHA-256 checksum
How to use checksums
023d5ea0e90cb441059430f2ee00af7f7e7d8a782e3ea5d25a5f657c4a469724
BLAKE2b-256 checksum
How to use checksums
02738543fb8ac456d7096b85cc129bea3444685750ee3b6bae667af8525ded70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.3

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

Download URL psautohint-2.1.0a0-cp38-cp38-win_amd64.whl
Size 236.5 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
c55b4c2b633eba8ba46a63c35ae48728d617b9b9f4be2d3a16bc4560927f63d9
BLAKE2b-256 checksum
How to use checksums
257b38c41182110d428cc1a6de720f5889a8491ce9ddcfc8ecdfc5bf5e6ad534
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0

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

Download URL psautohint-2.1.0a0-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
cdf0ec8889c60a527d1bb71509afbe10f8876dc43603256a3531e6f24ccbab29
BLAKE2b-256 checksum
How to use checksums
145fac50f3ba3981bc582aeee62f83502346a7ec4b0d9bc661941351179d998f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.3

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

Download URL psautohint-2.1.0a0-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
875c68d48050c0c91ae8a6e327768073ddcc4a9054c5581c7eb4f4393669c4b6
BLAKE2b-256 checksum
How to use checksums
dc5819fda79999972b4867fb625b0bcc1e19da983489b5fbcf51daa791859863
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.1

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

Download URL psautohint-2.1.0a0-cp37-cp37m-win_amd64.whl
Size 236.5 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
05d417c59260deb7b7d5d6434fcd3cb17390c08b96cb93ab584ab41d78faf81a
BLAKE2b-256 checksum
How to use checksums
0bd767f26167a956ae456c1667b1af079b618d9c3de2245d7d0c69334d9d71e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.5

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

Download URL psautohint-2.1.0a0-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
6cb0477f703ba8d89438c179941b8aafd650bb353465e4de24daada32e875e85
BLAKE2b-256 checksum
How to use checksums
857d52502bfaab4a68f051ef76c6d4515c5c971431510d284cb6d9bfaab4285e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.3

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

Download URL psautohint-2.1.0a0-cp37-cp37m-macosx_10_9_x86_64.whl
Size 223.5 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
f17536d2dafab3e0e009cb7dfa6b9af001d2bf2a1291296f7b82f1ae88f04a2d
BLAKE2b-256 checksum
How to use checksums
e87db37750f222184b6185c659f6068d543e00cd1a924db0d011cf44d490d1cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

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

Download URL psautohint-2.1.0a0-cp36-cp36m-win_amd64.whl
Size 236.5 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
f7457ff60cb52c30d947a5287a2a5ae47a97a862c7055b2801d9ad58f26d6ba2
BLAKE2b-256 checksum
How to use checksums
32f89951465eaf8df203a5aa72c01adca9141268ee0b57ef1d4986b42c320cf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.8

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

Download URL psautohint-2.1.0a0-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
ced68d73672a1328a3f825451c60340b7840cb66c7dad1e492fcba922c705ad2
BLAKE2b-256 checksum
How to use checksums
f433c52e943aff3adf8bfecf3c74202727e2590678b296716f8619bcbc727f18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.3

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

Download URL psautohint-2.1.0a0-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
5a215cf4a2804ebd3e7c7da98cadb0223ca6b53f0dcb6adc5893c834fad36853
BLAKE2b-256 checksum
How to use checksums
41a3c19a8d1ac359ae548b754db4698f1e597c8bbccfbe6b55eea5ac260beea2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 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

2.1.0

10 release files

This release

2.1.0a0 This release

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