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

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

Built distributions (wheels)

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

Download URL psautohint-2.1.0.zip
Size 233.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8ea8d643136a3a27df03ed0ff1eb937f35ae099e4621c537470b76aa131248fd
BLAKE2b-256 checksum
How to use checksums
c7ef9d750366d912b6ad5701b023e6591bc30d8b9870c5f594cebca53d73819f
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/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.3

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

Download URL psautohint-2.1.0-cp38-cp38-win_amd64.whl
Size 236.5 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
40114925dbbfb1ae4d3c99a1ad367d78917d019e1a344d4e7653c2b9e305f909
BLAKE2b-256 checksum
How to use checksums
64a8a65e578616d3ab65ba5df4290c56fcb72b97e3bcaae3361251cf387d79cc
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.46.1 CPython/3.8.0

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

Download URL psautohint-2.1.0-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
993219de275bdc1f3e29def944319f90373d28e26755510a878e6bf5121ad8f3
BLAKE2b-256 checksum
How to use checksums
d51808838a18028f6151d4cc3d424e753f044be52a8a623716c3fc141ff730a0
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/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.3

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

Download URL psautohint-2.1.0-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
1bc503ab28d8e95ab6fe002381214b0803d540dd7d2c94135c07e2bbf6d52ed9
BLAKE2b-256 checksum
How to use checksums
64e2e411a9074290204b5edc8bad7b644aa16fb13b9093c253b776ee3b2712b4
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/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.1

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

Download URL psautohint-2.1.0-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
655eedb4eb8bbdd30194de1c51fe581e413745a9fd664140926767a1d760647f
BLAKE2b-256 checksum
How to use checksums
e36d2169ea67d7dc14e1c8939dff7c3edb9e164de14309dabb92f9a3363fd7b8
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.46.1 CPython/3.7.5

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

Download URL psautohint-2.1.0-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
961eb4bcde9d3a0f6f5fb1880d9f7146b1d58c233f9f525cbc5c9eff5f165520
BLAKE2b-256 checksum
How to use checksums
f38706fed29dca5c9c2df031e94a728908fcd48520496d04bc0d2759f9171c99
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/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.3

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

Download URL psautohint-2.1.0-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
c5c4722214452efa4f26ad103295617fc14e32dca5b7ceb74fb8889f194374d8
BLAKE2b-256 checksum
How to use checksums
7b662aa6e173e7bce524b9f2a998480e2ef3b6b013c2e52a8be57fc8d7dc13ae
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/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

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

Download URL psautohint-2.1.0-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
3bcdf6f4e1ac2fac800c5d9271f3a18d482f7087f0951ff23fca36f6eecc4ccc
BLAKE2b-256 checksum
How to use checksums
988e3e63f1c8abdd0a1f31c9361d3e55e0f2583607f12091535cbeffdba6c449
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.46.1 CPython/3.6.8

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

Download URL psautohint-2.1.0-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
3958775623cac0b933d84edd7e9015966ec6a64ae6235d93f264b4db64fe5f48
BLAKE2b-256 checksum
How to use checksums
92ff075a44527808bf15e46f8beb552d25bdd7c62ff72a5f4eb3a9268d061dff
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/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.3

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

Download URL psautohint-2.1.0-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
fdde2fc5e829e2c5436da57e9811bda3a55a3962b1e034ded7a9df91b6a61660
BLAKE2b-256 checksum
How to use checksums
02de8a9b72393ed522526309208d75df8a28a4eba8afa8edb8193a74196de0f2
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/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

This release

2.1.0 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