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.

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:

pytest

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.4.0b0

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.4.0b0
File Size Uploaded
psautohint-2.4.0b0.tar.gz 185.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for psautohint 2.4.0b0
File
psautohint-2.4.0b0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
psautohint-2.4.0b0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.12+ x86-64 Details
psautohint-2.4.0b0-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details
psautohint-2.4.0b0-cp310-cp310-macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) Details
psautohint-2.4.0b0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
psautohint-2.4.0b0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.5+ x86-64 Details
psautohint-2.4.0b0-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details
psautohint-2.4.0b0-cp39-cp39-macosx_10_9_universal2.whl CPython 3.9 CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) Details
psautohint-2.4.0b0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
psautohint-2.4.0b0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details
psautohint-2.4.0b0-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
psautohint-2.4.0b0-cp38-cp38-macosx_10_9_universal2.whl CPython 3.8 CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64) Details
psautohint-2.4.0b0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
psautohint-2.4.0b0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
psautohint-2.4.0b0-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details

Total release size: 2.4 MB

Release files / psautohint-2.4.0b0.tar.gz

Download URL psautohint-2.4.0b0.tar.gz
Size 185.5 kB
Tags Source
SHA-256 checksum
How to use checksums
113afc6a57955ad2e2a98eec10c56763dbdeee30dc4ae6cda0bae3ba6fea45dd
BLAKE2b-256 checksum
How to use checksums
502d7915b2f33a90b3042eb66559a51c034b89e509b96d31b06ed694f5c90efe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / psautohint-2.4.0b0-cp310-cp310-win_amd64.whl

Download URL psautohint-2.4.0b0-cp310-cp310-win_amd64.whl
Size 136.0 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
a969d900ffd5cd0ed533e586f37c38de5d02cb13362c5507e957f0b26fa455cf
BLAKE2b-256 checksum
How to use checksums
f786c665ac72ae4621dbccf832d814b1564b621c1983a2ef8d48fcaed9670db0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / psautohint-2.4.0b0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL psautohint-2.4.0b0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 144.3 kB
Tags CPython 3.10 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
cb87375efb2b8bb2e7ebe6b86120405312ab7f89a39d000f14d2b82893daffb6
BLAKE2b-256 checksum
How to use checksums
0815e231ff136245f07edf3762e43901c328e4a4300a70b57cf1e4cd65af44c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / psautohint-2.4.0b0-cp310-cp310-macosx_10_9_x86_64.whl

Download URL psautohint-2.4.0b0-cp310-cp310-macosx_10_9_x86_64.whl
Size 132.4 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
425db603333761bf262c68f63f63c95ef9e881f736abaa7fed708e468483b0fd
BLAKE2b-256 checksum
How to use checksums
eb4766e911e8245bd5ba422ecbfd712dc79955f0de65b2435ba1fa40d7f20d3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / psautohint-2.4.0b0-cp310-cp310-macosx_10_9_universal2.whl

Download URL psautohint-2.4.0b0-cp310-cp310-macosx_10_9_universal2.whl
Size 202.0 kB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
03f06b6c60d40129ac4fda90c29d0ff4a6e755202bc2877955d9368dc3d42661
BLAKE2b-256 checksum
How to use checksums
54e9a019ebab4bf9f6079d29e1062a4859a1cee963805d2e1b2c7dbd858d8440
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / psautohint-2.4.0b0-cp39-cp39-win_amd64.whl

Download URL psautohint-2.4.0b0-cp39-cp39-win_amd64.whl
Size 136.0 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
0fcdc56ce760dd88b8f1e9f3b771661a8180244c7fb52bcc6c7893821f581e2a
BLAKE2b-256 checksum
How to use checksums
cd350c8117105e32f8b8e7ac9ed1e2852d5e49c93ac022b006b7843c7322dc65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / psautohint-2.4.0b0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL psautohint-2.4.0b0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 144.7 kB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
2f02caa5b62ff083bcb07e73c9723cb5e6317dd2585451369bcdf6be6420b271
BLAKE2b-256 checksum
How to use checksums
d48b32d618e80bbbf81cf3fd92d1519323838ebc3f78b0bf758ec9944cac5642
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / psautohint-2.4.0b0-cp39-cp39-macosx_10_9_x86_64.whl

Download URL psautohint-2.4.0b0-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
15b7bd2b54665fe0a61eab49ebdfe1d2c1c53e5c6fa3695703953f8160569f98
BLAKE2b-256 checksum
How to use checksums
874a3a79685ceab6872c48d27b6d2de1bc1ea26a556a02b0898c4d52bfb7886e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / psautohint-2.4.0b0-cp39-cp39-macosx_10_9_universal2.whl

Download URL psautohint-2.4.0b0-cp39-cp39-macosx_10_9_universal2.whl
Size 201.9 kB
Tags CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
31ac782b80a1f5ce707129eb8f8d0acf4aeaa4cce53634c6a22cc2a062a0c388
BLAKE2b-256 checksum
How to use checksums
31e57264e675a05a6805246258b2e66151b13ecea38942ec33511540a71bcc8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / psautohint-2.4.0b0-cp38-cp38-win_amd64.whl

Download URL psautohint-2.4.0b0-cp38-cp38-win_amd64.whl
Size 136.0 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
25aac4ba9e9ce1f5ce23faedebeb83e781c8ff98079a83d6c51f481d025152e6
BLAKE2b-256 checksum
How to use checksums
1441696755e05293142e416c1234390d0fdc1a32ad5c1748a15c4c31a17dfe5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / psautohint-2.4.0b0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL psautohint-2.4.0b0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 144.7 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
d15b1d54f38918b2a88529ad6e3e2bb25a9fcd449b12293af3893f1ff0e5b66f
BLAKE2b-256 checksum
How to use checksums
8633b1016587db83b2a4c7e406bfad6fb95635dd67a21dc1709f47b7245920af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / psautohint-2.4.0b0-cp38-cp38-macosx_10_9_x86_64.whl

Download URL psautohint-2.4.0b0-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
7efed68ba874999da79927ebc19e18e28811f88e3f0aaeef481b1f162626cd89
BLAKE2b-256 checksum
How to use checksums
14f011da0abba21e4ec111427169a414e306317e3acd133771d3e3de12c8bf8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / psautohint-2.4.0b0-cp38-cp38-macosx_10_9_universal2.whl

Download URL psautohint-2.4.0b0-cp38-cp38-macosx_10_9_universal2.whl
Size 201.9 kB
Tags CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
ab966d89a8e4347db18b1e24756e22c11369c0ddbdf2f0a107a306e157ef71b0
BLAKE2b-256 checksum
How to use checksums
f61f206d58c0b14dd78a0667f6f73efd32ec85e46f3a08fe342b0c73b8f7c91d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / psautohint-2.4.0b0-cp37-cp37m-win_amd64.whl

Download URL psautohint-2.4.0b0-cp37-cp37m-win_amd64.whl
Size 135.9 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
7f6ddfb26a2d0aec5fedc66694bad0b2bdbe85ec30a8b2d973dfe1773dfa8def
BLAKE2b-256 checksum
How to use checksums
17ea3a3869fa489c69d96e03cc20b45d08deac2f1f85de3fb809fb593ae2a3de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / psautohint-2.4.0b0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL psautohint-2.4.0b0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 144.7 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
82d32d4db74e4c5ac15d3dd36e7f3f9ac6713b3039417baab71219908ee6d3de
BLAKE2b-256 checksum
How to use checksums
6790017f4764621a0cb334d6115aa4d359e315d54a1a3d47badc28ce3400cef4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / psautohint-2.4.0b0-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL psautohint-2.4.0b0-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
36b670ca24d1499f5fb1187c63974d4599b9c3098dd2cc3b47b9109e4e3b2b54
BLAKE2b-256 checksum
How to use checksums
15ca60bdc03421cba49917792b7a17ce875b25777a9b19e6f23c850bef6fa47f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release history Release notifications | RSS feed

This release

2.4.0b0 This release

16 release files

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

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