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.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.0.0
File Size Uploaded
psautohint-2.0.0.zip 232.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for psautohint 2.0.0
File
psautohint-2.0.0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
psautohint-2.0.0-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
psautohint-2.0.0-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.10+ Intel (x86-64, i386), macOS 10.6+ Intel (x86-64, i386), macOS 10.9+ Intel (x86-64, i386), macOS 10.10+ x86-64, macOS 10.9+ x86-64 Details
psautohint-2.0.0-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
psautohint-2.0.0-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
psautohint-2.0.0-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64, macOS 10.6+ Intel (x86-64, i386), macOS 10.10+ Intel (x86-64, i386), macOS 10.9+ Intel (x86-64, i386), macOS 10.10+ x86-64 Details

Total release size: 1.9 MB

Release files / psautohint-2.0.0.zip

Download URL psautohint-2.0.0.zip
Size 232.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a0ce7844f6add8b2afbfb4a305072bf5dcdd85d5f0d2ad32a41f8a563b8a6d52
BLAKE2b-256 checksum
How to use checksums
7156e9ec090f3a1d645b3ae33a177685d4430b71b33e12b0c401deb4ae91e4d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.6.3

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

Download URL psautohint-2.0.0-cp37-cp37m-win_amd64.whl
Size 236.6 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
5772aca5f79b81b4c6543a16d164c35919c5c4e771d6632e717737e51b4f6b01
BLAKE2b-256 checksum
How to use checksums
9436794adb3a0596febebbc2ba4da4fcd45451f8db8de407eefb98270770181d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.7.5

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

Download URL psautohint-2.0.0-cp37-cp37m-manylinux1_x86_64.whl
Size 211.5 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
afbe0b7bf1d20d9815fb06c8bb7a8f6314b7d184911853d56b114a05400d0478
BLAKE2b-256 checksum
How to use checksums
d6762dfa702dbfda7a441a1431d6c9ec34817fc557b52699dda068ac3bbcab26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.6.3

Release files / psautohint-2.0.0-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl

Download URL psautohint-2.0.0-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Size 392.3 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.10+ Intel (x86-64, i386) macOS 10.10+ x86-64 macOS 10.6+ Intel (x86-64, i386) macOS 10.9+ Intel (x86-64, i386) macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
1341eb22d4658134e4db9d06807aecfb01435f8fa01aefaafc141ef5151689cb
BLAKE2b-256 checksum
How to use checksums
c487abdb3bf360561c2eaf8c854f8ce13fe4c4b4aa1c011ec867e29174c4b825
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.7.0

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

Download URL psautohint-2.0.0-cp36-cp36m-win_amd64.whl
Size 236.6 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
9d321c24169ee222f287fcecfeaa53a5b5ffe2b371ef946dcf8c00b0a47dd2bc
BLAKE2b-256 checksum
How to use checksums
3307e79f00e6a3a1a4f38365e8a418b0f176bb52fd89c7d6a27bd0a0ec9933a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.6.8

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

Download URL psautohint-2.0.0-cp36-cp36m-manylinux1_x86_64.whl
Size 211.5 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
31a9f4824d7c27fef027749710be7bcd497489aa9c2f2c277d20953761a1b221
BLAKE2b-256 checksum
How to use checksums
db8f96a3f30ae08df6f9fa82b943a892176c1643ebd7dab0a63f7a50d208e347
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.6.3

Release files / psautohint-2.0.0-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl

Download URL psautohint-2.0.0-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Size 392.3 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.10+ Intel (x86-64, i386) macOS 10.10+ x86-64 macOS 10.6+ Intel (x86-64, i386) macOS 10.9+ Intel (x86-64, i386) macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
55e13e1a7646412b730215f25ff19bb0a55403346077b3b2adb33f5114401d3c
BLAKE2b-256 checksum
How to use checksums
f44dbeb5c3fec4f1227c5a527ee8b8f218dbc7a8bdb5cd59c5522aaa7d61a760
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.6.6

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

2.0.1

10 release files

This release

2.0.0 This release

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