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

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.1
File Size Uploaded
psautohint-2.1.1.zip 233.9 kB Details

Built distributions (wheels)

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

Download URL psautohint-2.1.1.zip
Size 233.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c41253b7a5566d052e92c90ecce86b719342fef4697498b8e64d2b90e1feb89c
BLAKE2b-256 checksum
How to use checksums
a1658041d280a1c41c9eed7c11ea187ed9d3e7b6068e83d5296dcd4f4adf1323
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.3

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

Download URL psautohint-2.1.1-cp38-cp38-win_amd64.whl
Size 236.4 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
c3a039c718d41539359ff9aecf26a4f3d4d3b99079124dad32d34a9df9758ee5
BLAKE2b-256 checksum
How to use checksums
079171b580f86a405305eb71257a6dee6ae362409c18c006db80684f629ef58b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.0

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

Download URL psautohint-2.1.1-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
9148559da881baf366a050a129a16a2a4c1ee55e7b3894a915cc1857e1a095f0
BLAKE2b-256 checksum
How to use checksums
b66df55187ffeda50d4e3556201c89376d0f9eec51c90734736e0047dc501174
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.3

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

Download URL psautohint-2.1.1-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
33fe79d89fd367fd53114d3c4dc5cc8f3ec0df29b6f7946c8bb75d42eefaf132
BLAKE2b-256 checksum
How to use checksums
f31ee6d488ecf97b53832b564c9ce3686d2aff9f73506463e789811879a85313
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.1

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

Download URL psautohint-2.1.1-cp37-cp37m-win_amd64.whl
Size 236.3 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
5c8edf94be4b6ec867627b6535d9cd89bfcc7abfdd4e1110ae0ffb0022676096
BLAKE2b-256 checksum
How to use checksums
9a518f6d106a4225e1477d1687348211d13f01790625a27986440b33860fe2a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.5

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

Download URL psautohint-2.1.1-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
da96c8f06c8093d174c0f79e944ff9748c228dd59acfa9164f1b22d1021eebc9
BLAKE2b-256 checksum
How to use checksums
bb2f3bf74a0f41fa46858564cbe4984575e62e8ff8f6a23528ae7b62658ac6bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.3

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

Download URL psautohint-2.1.1-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
b0f12f41f5e0710390f943b9e3fe51d8ea28ad4ec9443acd2242d1da0c5f0898
BLAKE2b-256 checksum
How to use checksums
21abe5064845fd10d278673e578aa09d91065660005c8711a58aafaa03f93283
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.6

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

Download URL psautohint-2.1.1-cp36-cp36m-win_amd64.whl
Size 236.3 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
1351be721f9865c00db3649a0bcbfde510427568ae0f17431ec41d5da02ee496
BLAKE2b-256 checksum
How to use checksums
e4437e8af4ad3e19fd1ede0d8a362f9bd796f9af9715edfdb8f4154bec0c5ed3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.8

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

Download URL psautohint-2.1.1-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
929f0d31d6e9e41a9406809987786b3b78b72f14af32ff78f8469fd422f561c0
BLAKE2b-256 checksum
How to use checksums
aebc50749db73cdb80564c57fccc55538162f318613446a4a74bc83cef2aeb9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.3

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

Download URL psautohint-2.1.1-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
29cb39fb374b56964437827086f1e4d78d15dcbfdf286aba74a3178eb0c9a2ab
BLAKE2b-256 checksum
How to use checksums
e20586aac15197537935b6dd050f463ba7ec2bcdf34f885260aed7326e500586
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.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.1 This release

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