Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Test and Build 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.3a1

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.3a1
File Size Uploaded
psautohint-2.1.3a1.zip 234.7 kB Details

Built distributions (wheels)

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

Release files / psautohint-2.1.3a1.zip

Download URL psautohint-2.1.3a1.zip
Size 234.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1744a79460e9773f67142f122d28afaa2943da9ac6fa353c390162b910c62922
BLAKE2b-256 checksum
How to use checksums
781aa46667838b934b38300e991d29f490ecd3af8eef98799c8b46ffc8286375
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

Release files / psautohint-2.1.3a1-cp39-cp39-win_amd64.whl

Download URL psautohint-2.1.3a1-cp39-cp39-win_amd64.whl
Size 160.3 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
7d39c137c1d4c80ebf9a27a36fb72d5d673f2e2103977061c3818f1af1821539
BLAKE2b-256 checksum
How to use checksums
85ac389b2e1be034f40c14684c36daae944984f43a2f83e831a38ae96df10f13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

Release files / psautohint-2.1.3a1-cp39-cp39-manylinux1_x86_64.whl

Download URL psautohint-2.1.3a1-cp39-cp39-manylinux1_x86_64.whl
Size 144.3 kB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
3f8adff504f8c56f553cf4f04e9633f66feb8c8559f5149cacb61a65f89aebb3
BLAKE2b-256 checksum
How to use checksums
14dcb5c22a9200d36d46dd2e37d2e6503d1443da3a1a2841a0cc08cb6e60fcf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

Release files / psautohint-2.1.3a1-cp39-cp39-macosx_10_9_x86_64.whl

Download URL psautohint-2.1.3a1-cp39-cp39-macosx_10_9_x86_64.whl
Size 132.4 kB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
fd61b7afbaaa22cf8bf8572b480c3ce45194628863326761516b50dc99fb355f
BLAKE2b-256 checksum
How to use checksums
2d146445079c06cb8b90ebb091331c1aeda2ca07938821ab554122ceef65133a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

Release files / psautohint-2.1.3a1-cp38-cp38-win_amd64.whl

Download URL psautohint-2.1.3a1-cp38-cp38-win_amd64.whl
Size 160.3 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
bb0e92621212af4fb5e77134b8ecc0ebbc4bdeb364fc16815a701a982821c254
BLAKE2b-256 checksum
How to use checksums
fc1b11b53202d07ffe4de0f1722a651fb70b9bf9851afa0c74b4dafa009d2562
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

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

Download URL psautohint-2.1.3a1-cp38-cp38-manylinux1_x86_64.whl
Size 144.3 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
e880c412e376922963943190c027ea0dd439232b8af7cc710202e39943ab87ea
BLAKE2b-256 checksum
How to use checksums
11a64c7eaa7acfb2a3cb76295175cd3e55d5c73721194c55399d65d1f359510a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

Release files / psautohint-2.1.3a1-cp38-cp38-macosx_10_9_x86_64.whl

Download URL psautohint-2.1.3a1-cp38-cp38-macosx_10_9_x86_64.whl
Size 132.4 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
adc03ea0933562660de6e2e03b6e67b44bf929584aabdecee1a650863ca922ad
BLAKE2b-256 checksum
How to use checksums
260a0ef98b553ad75f13cef63f9e53f6f56a574c1e87fcad0c3af81c128ff821
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

Release files / psautohint-2.1.3a1-cp37-cp37m-win_amd64.whl

Download URL psautohint-2.1.3a1-cp37-cp37m-win_amd64.whl
Size 160.3 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
28a23615f6529387c766e8ee471cf1c7ea043ddb18ea51458ee4c031f761d330
BLAKE2b-256 checksum
How to use checksums
f4a5bc84e698aba85dc316199433c57e3e77b24415649eaaadf9bea388e434f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

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

Download URL psautohint-2.1.3a1-cp37-cp37m-manylinux1_x86_64.whl
Size 144.3 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
d865dd29fd522ffa12c3aa4f66425ef6f821195a744f8b360bd72f84ed1f901a
BLAKE2b-256 checksum
How to use checksums
d2be4b3cb2bcd08cfcf83d04e519113f0f65dc771555f069ed4039b66a3e7af7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

Release files / psautohint-2.1.3a1-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL psautohint-2.1.3a1-cp37-cp37m-macosx_10_9_x86_64.whl
Size 132.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
12ce90c59e676852faee3b71ef28e4ee7d7344bf5f525a1cee157825c0049278
BLAKE2b-256 checksum
How to use checksums
97adeadb74e02b093675c9d3f1145408cec32892cc06dee1fb90d27d2a323077
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

Release files / psautohint-2.1.3a1-cp36-cp36m-win_amd64.whl

Download URL psautohint-2.1.3a1-cp36-cp36m-win_amd64.whl
Size 160.3 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
1413072daa66dde9da33ccc4ca8914b07d594da2b9cab1334ae521073a8a3ba5
BLAKE2b-256 checksum
How to use checksums
87acb524cc37c9fce27bc8da17c76f6acc5ebf3fcc7348bdf1299c0240d8a164
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

Release files / psautohint-2.1.3a1-cp36-cp36m-manylinux1_x86_64.whl

Download URL psautohint-2.1.3a1-cp36-cp36m-manylinux1_x86_64.whl
Size 144.3 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
3e630eacac1a8f8d4a87724e6b83bb6ce33af9cf01c360afdf20236f6e291a4b
BLAKE2b-256 checksum
How to use checksums
805af415689f8c02ce1e9ea3132ee8af6e84554fbf2a2bd121e82eda97b20511
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

Release files / psautohint-2.1.3a1-cp36-cp36m-macosx_10_9_x86_64.whl

Download URL psautohint-2.1.3a1-cp36-cp36m-macosx_10_9_x86_64.whl
Size 132.4 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
c5c849fdfb886a26a911f2aee59a9e2b1542cdaeb8f6f13f6bd4ca7a26f20399
BLAKE2b-256 checksum
How to use checksums
69dc435d048c94879476455ec9cedda446b40448f42a938f78e12d659ff8d6f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

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.3a1 This release

13 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