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.0.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.0.1a0
File Size Uploaded
psautohint-2.0.1a0.zip 233.2 kB Details

Built distributions (wheels)

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

Download URL psautohint-2.0.1a0.zip
Size 233.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a5dd237606eb0febd21c48dde8c935efd4bda6431fafeb94402805c6aae02e94
BLAKE2b-256 checksum
How to use checksums
d5d3047fb0a4fbc7f842bb26aabd1d9ac88abef3992b2a9616bf325c865f94d0
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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.3

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

Download URL psautohint-2.0.1a0-cp38-cp38-win_amd64.whl
Size 236.5 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
77e412f5200f20505add69047a72fce32c246071692d794f5cbb1d0ed5201192
BLAKE2b-256 checksum
How to use checksums
a7268033fb22b4959668c71d987d3d93dc8bfca0c90a3e224318b8f53ea46ac8
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.43.0 CPython/3.8.0

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

Download URL psautohint-2.0.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
6d01853b0e866d3b2ac6fea553f45826597dd8b841f90ebb5fc6dd4883bb5ffe
BLAKE2b-256 checksum
How to use checksums
7275a387d730cb200158401de5f5492ad9301a12c433fdad473c2ed3f6041ef3
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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.3

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

Download URL psautohint-2.0.1a0-cp38-cp38-macosx_10_9_x86_64.whl
Size 223.5 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
6d833746f50afe7ebe72f7a8b8b0a2cd6c1481726097be6148a1a8a2048739a0
BLAKE2b-256 checksum
How to use checksums
c81d5ef2dca9fd4913539b380e46fb1601837b6ac91b4305f92b9631061ed391
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/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

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

Download URL psautohint-2.0.1a0-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
25be00cb0f7bfb408a208c5b96385f25a66a05cfdf62919182d8ee5a540c77ec
BLAKE2b-256 checksum
How to use checksums
17eb4f0d62282465069201516349609aff07abc8df99d8f673527aaf23cf146e
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.43.0 CPython/3.7.5

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

Download URL psautohint-2.0.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
5c1372c5093e9af03ec0850d4855bc689631e5fbcc02bf07c0e2f1011a0e2fd6
BLAKE2b-256 checksum
How to use checksums
5e44684115203a6dd53c48c71437225811eaa79fbe83aafdf8bb5099025453dc
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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.3

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

Download URL psautohint-2.0.1a0-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
446a60c2c61fae6b7cda28829ff6eef2c90a82d894f804d1881d63f614f1bfe4
BLAKE2b-256 checksum
How to use checksums
611e738c4566e8479c48b7ac6b564e633275e15492c3e6d3a2529a4fb82cff3c
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/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

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

Download URL psautohint-2.0.1a0-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
e5ae7983013db1f0b201eecefc5420d96626c3a4627289c192f1b1e07a415f54
BLAKE2b-256 checksum
How to use checksums
336834742c4f34d2cac0f5d330be254ad75c33366b892162d67174c2e5bb0562
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.43.0 CPython/3.6.8

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

Download URL psautohint-2.0.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
8b59fca77758187dcbb904318bb0ed6b0b04a0adc834bef7d89cb204b11cb9ff
BLAKE2b-256 checksum
How to use checksums
0b55249b2592e1ff1512b211ee359ecd40516eb5ba2f4680946b05bdaa16130f
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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.3

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

Download URL psautohint-2.0.1a0-cp36-cp36m-macosx_10_9_x86_64.whl
Size 223.3 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
7b889832bd12de618fa4030071463f4331dc8595977a9f0dd8871d0d819cf38e
BLAKE2b-256 checksum
How to use checksums
88f6f5912ded06feff87c81d67fc3d56cdda521782afaacc9d7d9c1268d04980
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/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.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

2.1.1

10 release files

2.1.0

10 release files

2.0.1

10 release files

This release

2.0.1a0 This release

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