ufoLib2
ufoLib2 is a UFO font processing library.
Decision gist · record as of 2026-08-14
Yes. ufoLib2 is actively maintained, has no known vulnerabilities, installs with minimal friction, and fills a clear niche for developers who need fast, lightweight UFO processing without the overhead of heavier font libraries. The Apache 2.0 license is permissive and suitable for both open-source and commercial work. Install it if you're automating font tasks or building font tools.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Low friction: pure Python wheel with only two lightweight runtime dependencies (attrs and fonttools).
- Active maintenance with recent commits; last release 400 days ago suggests stable, mature code rather than rapid iteration.
License · maintenance · safety
Apache 2.0 (permissive) — Apache 2.0 is permissive and business-friendly; you can use, modify, and distribute ufoLib2 in commercial projects with minimal restrictions, provided you include a copy of the license.
last release 2025-07-10 (400 days) · last repo commit 2026-08-10 · 32 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 87,521 downloads/mo, #13,792 on PyPI
Alternatives
Verify before relying
pip install ufoLib2
from ufoLib2 import Font
font = Font.open('path/to/font.ufo')
for glyph in font:
print(glyph.name)- Whether ufoLib2 handles all UFO 3 spec features or only a subset of the data model.
- Performance characteristics for very large UFO files or batch operations on hundreds of fonts.
- API compatibility scope with defcon—which methods are guaranteed to work identically.
What it is and what it does
ufoLib2 is a thin, fast library for working with Unified Font Object (UFO) files programmatically. It provides a straightforward Python interface to read, inspect, and modify UFO data without the overhead of notifications, layout engines, or other support classes found in heavier font libraries. It builds on fontTools and aims to be API-compatible with defcon where practical, making it suitable for developers who need to automate font processing tasks, batch-edit glyphs, or integrate UFO handling into larger font tools.
The library is designed for speed and simplicity: it strips away features you may not need in order to keep the core lean and predictable. If you're writing scripts to transform fonts, extract glyph data, or build font-processing pipelines, ufoLib2 offers a direct path to the UFO data model without unnecessary complexity.
Use it for
- Batch-process hundreds of UFO files to extract glyph metrics or modify outlines programmatically.
- Automate font design workflows by reading and updating UFO metadata, kerning, or feature code.
- Build font validation or analysis tools that need fast, lightweight access to UFO structure.
- Integrate UFO file handling into larger font build pipelines or CI/CD systems.
- Script-driven font transformations (scaling, renaming glyphs, updating Unicode mappings).
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
ufoLib2 is actively maintained, has no known vulnerabilities, installs with minimal friction, and fills a clear niche for developers who need fast, lightweight UFO processing without the overhead of heavier font libraries. The Apache 2.0 license is permissive and suitable for both open-source and commercial work. Install it if you're automating font tasks or building font tools.
Install
ufolib2 on PyPI
Before you install
Low friction: pure Python wheel with only two lightweight runtime dependencies (attrs and fonttools). Active maintenance with recent commits; last release 400 days ago suggests stable, mature code rather than rapid iteration.
Requires Python 3.9 or later.
License in practice
Apache 2.0 is permissive and business-friendly; you can use, modify, and distribute ufoLib2 in commercial projects with minimal restrictions, provided you include a copy of the license.
Quickstart
pip install ufoLib2
from ufoLib2 import Font
font = Font.open('path/to/font.ufo')
for glyph in font:
print(glyph.name)
Verify before relying
- Whether ufoLib2 handles all UFO 3 spec features or only a subset of the data model.
- Performance characteristics for very large UFO files or batch operations on hundreds of fonts.
- API compatibility scope with defcon—which methods are guaranteed to work identically.
Package facts
| License | Apache 2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesattrsfonttools |
| Maintenance | Actively maintained 400 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 87,521 / month, #13,792 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: End Users/DesktopLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Text Processing :: Fonts |
Evidence: ufolib2-0.18.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “UFO font file processing”
- ufoLib2ufoLib2 provides a lightweight, programmatic interface to read and…
- glyphsLibConverts Glyphs source files (.glyphs) to UFO and Designspace…
- cu2quConverts cubic Bézier curves to quadratic curves in font objects…
Give your agent the search over MCP, or paste the wish link into any chat.
More Text Processing packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.
Install it if you need to parse text or define grammars programmatically.
fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.
Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.
Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.
RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.
Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.
tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.
Install it if your project requires CSS tokenization or syntax manipulation.
See also defcon · ufo2ft · glyphsLib · cu2qu · pymupdf-fonts · cffsubr · unPDF · fontbakery · weblate-fonts