Skip to main content

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.2.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.2.0
File Size Uploaded
psautohint-2.2.0.zip 233.3 kB Details

Built distributions (wheels)

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

Release files / psautohint-2.2.0.zip

Download URL psautohint-2.2.0.zip
Size 233.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4e3c6e62c8c890492987b69904d06cc313b79aa99104d35b60cbed60fbbc8485
BLAKE2b-256 checksum
How to use checksums
c402619a83fba0db10443c9cd68ed6ce6de38fef12d55d7f8e2a0c148ea775c8
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.1 CPython/3.7.9

Release files / psautohint-2.2.0-cp39-cp39-win_amd64.whl

Download URL psautohint-2.2.0-cp39-cp39-win_amd64.whl
Size 160.3 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
cab772e05f0095358efd2be99ba8054a9646cf28f2067514cc381fa79ed59e51
BLAKE2b-256 checksum
How to use checksums
e724e369bafe3b654bd8863c2763f2d9395df9f9c0ace2c34280900013cdd1d3
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.1 CPython/3.7.9

Release files / psautohint-2.2.0-cp39-cp39-manylinux1_x86_64.whl

Download URL psautohint-2.2.0-cp39-cp39-manylinux1_x86_64.whl
Size 144.2 kB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
3f98ae4c78504fce967ddabe96ce87f8653255b73d548f2508e0105a05b90110
BLAKE2b-256 checksum
How to use checksums
f2cb7e7d5d33a1daee18199edd46d61e3d3334e71c7592d23e727caa5eee7769
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.1 CPython/3.7.9

Release files / psautohint-2.2.0-cp39-cp39-macosx_10_9_x86_64.whl

Download URL psautohint-2.2.0-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
80008a96991b9a7b0fdd22b66212b317712173aa1b760943439a9ea5e3f68af4
BLAKE2b-256 checksum
How to use checksums
f191936ad56c1bc1f3995d885f343bf3ed793534786c0e558685ecc8f0df8e68
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.1 CPython/3.7.9

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

Download URL psautohint-2.2.0-cp38-cp38-win_amd64.whl
Size 160.3 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
583f8e7e367f35d237165da62ae49e838b164c09c85a472352185e7cc5d62c3c
BLAKE2b-256 checksum
How to use checksums
5defd820ccc1111a1d93ee67a09fafb4169a2329e338a01a4c7f4a71cc65aa1f
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.1 CPython/3.7.9

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

Download URL psautohint-2.2.0-cp38-cp38-manylinux1_x86_64.whl
Size 144.2 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
a2c8d0bee2a85d6d9f17efba57dcbcc9415e6e435dc3f21c847fb5216ec26c89
BLAKE2b-256 checksum
How to use checksums
714743b6db14eec96aed8622c6f6ec0635ebed6b679833c02a1cd81fcec82001
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.1 CPython/3.7.9

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

Download URL psautohint-2.2.0-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
52937905b2f9aa2b53e943aae249fb51319cc59b6c43e5cd5a8f18fd3810072b
BLAKE2b-256 checksum
How to use checksums
e7fd73a3a5c58ce829e79583999e0c676c3c97fa45932abd5f7041aa5437a830
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.1 CPython/3.7.9

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

Download URL psautohint-2.2.0-cp37-cp37m-win_amd64.whl
Size 160.2 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
50887c63648abd0d44777ffc3a3f178262f9a654ea114b2f3704f3da75e743d8
BLAKE2b-256 checksum
How to use checksums
3e066af465ed9561569a7e0cdde9259bc0c7ffcf5b0b715689f07a52687c7b4c
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.1 CPython/3.7.9

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

Download URL psautohint-2.2.0-cp37-cp37m-manylinux1_x86_64.whl
Size 144.2 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
1f6568f53d1a1288ef1f007edb0e4a8641c1d3cdd8ed065cd39c817e94595ee4
BLAKE2b-256 checksum
How to use checksums
54c8f5db910b28d1ddc4bf1cd0934022d8d3fc6c697c77dda178b3b380b39ac1
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.1 CPython/3.7.9

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

Download URL psautohint-2.2.0-cp37-cp37m-macosx_10_9_x86_64.whl
Size 132.3 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
5b73a214fa0fc2ee079b9a1b59d7dfed611bc73409508fbb7d4b07ed8dcb7f4b
BLAKE2b-256 checksum
How to use checksums
ad551d2aa258152828c037167dd60312e15fcbc7386ec637ad3905bf291a4e44
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.1 CPython/3.7.9

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

Download URL psautohint-2.2.0-cp36-cp36m-win_amd64.whl
Size 160.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
cdf8cbdc507367e9e9596b5c7f81af39b596ff2fdd02d9a035b3731ede0edd9c
BLAKE2b-256 checksum
How to use checksums
a33491e39c8f450fd30f9ebecefb7e1464fe8263d2bfc4fa93bb3ec395aaefcd
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.1 CPython/3.7.9

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

Download URL psautohint-2.2.0-cp36-cp36m-manylinux1_x86_64.whl
Size 144.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
c25f8caf43d5a31e628844c1a3045f55311c3a2ee5e146d1bde99013c5b34170
BLAKE2b-256 checksum
How to use checksums
5fe9933ab904db5389588e8a52f7c796f8f6e971fe3a98c0ec0490ce680b6b73
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.1 CPython/3.7.9

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

Download URL psautohint-2.2.0-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
8846d7f4ebae7e302343ffc28ee721e63630f9ac4eef08cb1fe8fa7c6a1aadcf
BLAKE2b-256 checksum
How to use checksums
233e5b8881f5a3946e77b14307e26f85cb626c08ae63b473b05422e970da4e64
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.1 CPython/3.7.9

Release history Release notifications | RSS feed

2.3.1

13 release files

2.3.0

13 release files

This release

2.2.0 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