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

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

Built distributions (wheels)

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

Download URL psautohint-2.1.2a1.zip
Size 234.9 kB
Tags Source
SHA-256 checksum
How to use checksums
74b1ef46d212bf5e0bb436b0dfb19d9ca38a1e70f8f58ec092c31ca747335ca5
BLAKE2b-256 checksum
How to use checksums
b81c92aa59234819d56f91fdc11fea84f8dfe7d20dc6f233f8430174d7353f96
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.2a1-cp38-cp38-win_amd64.whl

Download URL psautohint-2.1.2a1-cp38-cp38-win_amd64.whl
Size 236.4 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
e06bc8f330a9b2427f66227e054481acf772e92fc75a12957682efa6bf5c7f6b
BLAKE2b-256 checksum
How to use checksums
4b69f914d748621357b40a6d18e32049a93e861d17a4abb7609b150f51838c7a
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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

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

Download URL psautohint-2.1.2a1-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
9199f18ea3b8f620df4162ab12a8accbaeb76926bc6ef3361ad54d7a532d94b1
BLAKE2b-256 checksum
How to use checksums
4e6cda731021e25b92d2a39a2546531a891e6581db684a057502680b6d8a4419
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.2a1-cp38-cp38-macosx_10_9_x86_64.whl

Download URL psautohint-2.1.2a1-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
e8b64e58bdfbdf3be245aa4847116973db416501df8e13bc8cedc1d0b55a8b92
BLAKE2b-256 checksum
How to use checksums
f4ec32b0b94ff4c772296cf21bf07e46df7d2ccbaab4ffd539c172a8549f32c2
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.2a1-cp37-cp37m-win_amd64.whl

Download URL psautohint-2.1.2a1-cp37-cp37m-win_amd64.whl
Size 236.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
6dfddfa849f4c81633a41e553bdd156093800272e46906484554d8bfac5dc8fb
BLAKE2b-256 checksum
How to use checksums
fe6ffe2fd90e93dd22a683e338c12c33120ba12aebd49f4f99401bdd98ebc7f4
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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.5

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

Download URL psautohint-2.1.2a1-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
651dce8e13fff7bc3e44f4b9914ffe180e8639d1a9926e9398bd1da5234b6033
BLAKE2b-256 checksum
How to use checksums
67cac1c50155cd71af3ddfec09d734bf5b6ffca9ed7bd9b1652e2955a17a7975
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.2a1-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL psautohint-2.1.2a1-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
3e511e82e1fce82ae87b28fa4fe0b473cbec7e7d790a15a96157a8adbf0f7c34
BLAKE2b-256 checksum
How to use checksums
2b4ffb05c887cb0a0988dbe200fd36a56372dde8bebd6b216d46f4d57c0d52b5
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.2a1-cp36-cp36m-win_amd64.whl

Download URL psautohint-2.1.2a1-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
ae4dfae7a614de94e7c2e9ec7f8d03a416264cb68dd88c27af3282d0a196afb0
BLAKE2b-256 checksum
How to use checksums
302bebf85741be8472cd27c53404f21f6bc3a9250710787e8dc05c64bf374bf5
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.2a1-cp36-cp36m-manylinux1_x86_64.whl

Download URL psautohint-2.1.2a1-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
d935d645b22a7f5d4d077dcefc2fd237f6c3da7c5c8687b909c04de4e90970b3
BLAKE2b-256 checksum
How to use checksums
b79df204b02e82e494cb1c7e77a7576819fcc58208320c3d6537eba9e13b255e
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.2a1-cp36-cp36m-macosx_10_9_x86_64.whl

Download URL psautohint-2.1.2a1-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
d4403fe4ed95524e037bb889358e6935d2d143ebd6bd79744a4a825d3f451ccb
BLAKE2b-256 checksum
How to use checksums
d8a9d7b6d63487c438b17f5c2bfef484274f99787663f3a350ef97b2d51b2797
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.2a1 This release

10 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