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

Built distributions (wheels)

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

Download URL psautohint-2.0.1.zip
Size 232.9 kB
Tags Source
SHA-256 checksum
How to use checksums
43a12f3d49fc2c1d44fbd8bad64ca3391e3e44f377ce918a583dc99dbda475b5
BLAKE2b-256 checksum
How to use checksums
32a8e4c1e38f8e82f0db68123f3ac01e2bec6ef60586dd543df7030d0299892f
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.1-cp38-cp38-win_amd64.whl

Download URL psautohint-2.0.1-cp38-cp38-win_amd64.whl
Size 236.5 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
1bc03524fe0c34b5af3f02424eee4e93db9e11a34a65f0aec97559ed2125fce7
BLAKE2b-256 checksum
How to use checksums
d6895b192ca21ab8d261a535707edb15d35b17e59d47cad4cce6ac6c5f115f43
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.1-cp38-cp38-manylinux1_x86_64.whl

Download URL psautohint-2.0.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
088670874ace1e555fc621a4a6f6a16f0f6a5484149273eab1bbce53fbe043e7
BLAKE2b-256 checksum
How to use checksums
c2025945a9594670ba7429de36670d7dff41471282288de0a50cf0c9b1e65f06
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.1-cp38-cp38-macosx_10_9_x86_64.whl

Download URL psautohint-2.0.1-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
8eab09bc2194f0ae45e6ed5c23ccd7728e5f8f628a4bed03a0268bdf93e2d871
BLAKE2b-256 checksum
How to use checksums
43953381163f1342518bd307a2c90825e1e03cd48239a74853c61bd335e1bdea
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.1-cp37-cp37m-win_amd64.whl

Download URL psautohint-2.0.1-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
fd5338525ca89292a4081d1448b46c9383b82a8ea1481f97e3e69f4f1725d277
BLAKE2b-256 checksum
How to use checksums
5fa28d3b54fa3a04f03a30c824d0357887a3daf75313d8bfdd60138bc291d6fc
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.1-cp37-cp37m-manylinux1_x86_64.whl

Download URL psautohint-2.0.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
668aad604a33343a27c77f94b9e7645b2ebf225fba2d6e90e791469676436b5e
BLAKE2b-256 checksum
How to use checksums
24da4c7d0ea31c512464a0f1dddaf31d32a5881edae9963d8929a9c44a2811e3
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.1-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL psautohint-2.0.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
848a6c8a358b787de62f1963a165c07a7d3ea1d6b073a10444dc3268c189c11a
BLAKE2b-256 checksum
How to use checksums
c33b1c70dd116d1197bb3d4c9c1820b7ec8c5c9feb5c2f7d9c19e94c68dda2f8
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.1-cp36-cp36m-win_amd64.whl

Download URL psautohint-2.0.1-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
ce6c3ad2ec84682c1b7eec8b103c5ca3e5d626012cdee773b85c52ac5e79df34
BLAKE2b-256 checksum
How to use checksums
21b545102faa26cd64332c6a9c65d1d31b7040f2561ca93ab5622acca9102802
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.1-cp36-cp36m-manylinux1_x86_64.whl

Download URL psautohint-2.0.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
11445a3f9d4e581ec05ecab764298b381f30d0b23642eb136a7acbac93619456
BLAKE2b-256 checksum
How to use checksums
9ef9bea3c74809ab14059ae6e885b3e3caec03439410dfea918305c56a50a9bf
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.1-cp36-cp36m-macosx_10_9_x86_64.whl

Download URL psautohint-2.0.1-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
23f25075740b5feef62e63795f7013f78b664cd074b3fe3e5591df587b523dad
BLAKE2b-256 checksum
How to use checksums
e5a9aed991a0254de63d41b944b0c59dd82267407d85222a3d41dcc3e3dcf5c1
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

This release

2.0.1 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