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

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

Built distributions (wheels)

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

Download URL psautohint-2.1.0b0.zip
Size 234.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4fab9189a36e8e334fa0cb7da36fc007c5a79fedaafc606e9c64a1669ee4f6bc
BLAKE2b-256 checksum
How to use checksums
fabc05a6e361b55c421d6c70b6dbbd1d5e004206f1b15a3ca633e153fb32a0f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.3

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

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

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

Download URL psautohint-2.1.0b0-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
87a81062662f913458c0c76853a86fc9d9f06178dece22f718895618186cfedb
BLAKE2b-256 checksum
How to use checksums
4c4f37fb25377bd4b825045010e07a6a4270f039802e91d8a86ea878d596cf22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.3

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

Download URL psautohint-2.1.0b0-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
47a3e990dc74272776df32d2961083f52e9480babcdd4f93ac34f2befca56474
BLAKE2b-256 checksum
How to use checksums
d6bece1ed05a5b5985356fe373cf6da2f3f96e80f014332fe96b4083d92b88e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.1

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

Download URL psautohint-2.1.0b0-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
397da79e8ea5bb175dd8631904f1892caa89fd25c0a481d8602a715adbeabfe1
BLAKE2b-256 checksum
How to use checksums
bd0d6621c07faceb1de2df75488a7e309b52df57b9ed9972258ed769365d6d72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.5

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

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

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

Download URL psautohint-2.1.0b0-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
bd5398edc4e828ea39868e33de01450e19fb265f92a2637ae9e92c052eba0fbf
BLAKE2b-256 checksum
How to use checksums
d3d1434dc5bdbc85696c74644df92d6995df5490666bd047e5310a186e6dca3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

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

Download URL psautohint-2.1.0b0-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
f588d9873c912e46e6b3a00b7d85251d93ecefc50a97dbfa5c83512ccbc3c034
BLAKE2b-256 checksum
How to use checksums
c38423c8ea20a2537409d7549091ca4876b0f20c52f2c37c5a9ff6415083d9c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.8

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

Download URL psautohint-2.1.0b0-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
4ecc46e0c28b25d6e4cfede8c5ea29325d30ab9c0ad9867f4a036f5d31d67450
BLAKE2b-256 checksum
How to use checksums
910a69d3c34e6ffb4e247abf3efc5a5a16f5f7baa535d86890c6b53ff8c292b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.3

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

Download URL psautohint-2.1.0b0-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
c5e23c2bcf5fa361ec3570e570f13750f5ae480a96e8e2a6cb44f66c230ade3e
BLAKE2b-256 checksum
How to use checksums
04251b5cd5758af8f39ac385bf1baec97dbe90cfb1974471c252719a424adff4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.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.0b0 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