$npx skillfedfor your agent

defcon

A set of flexible objects for representing UFO data.

Worth itPyPI Python ModulesReleased Jul 202578.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — defcon-0.12.2-py3-none-any.whl
v0.12.2 · released 2025-07-16 · Python >=3.9 · 1 runtime deps: fonttools

Yes. Defcon is a stable, actively maintained library with low install friction and permissive licensing. It is the standard choice for UFO-based font manipulation in Python, with no known security vulnerabilities. Install it if you are building font editing tools or need programmatic access to UFO font data.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • Low install friction with a single runtime dependency (fonttools).
  • The project is actively maintained with recent commits and has been stable since its 2016 initial release.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute defcon freely provided you include the license notice.

last release 2025-07-16 (394 days) · last repo commit 2026-06-08 · 68 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 78,781 downloads/mo, #14,409 on PyPI

Verify before relying

pip install defcon

from defcon import Font

font = Font()
glyph = font.newGlyph('A')
contour = glyph.appendContour()
  • Whether optional extras (fontPens, lxml) are commonly needed for typical font editing workflows.
  • Performance characteristics when working with large font files or complex glyph data.
Same gist for agents: .md · .json

What it is and what it does

Defcon is a Python library that provides a set of UFO (Unified Font Object) based classes for representing font data in a way optimized for font editing applications. It implements the UFO3 specification and offers lightweight, fast objects for working with glyphs, contours, and other font components. Rather than trying to be a complete solution, defcon provides bare-bones base functionality so developers can build their own font editing tools on top without managing object observation or cached data themselves.

The library depends on fonttools for core font operations and is designed to integrate into larger font editing workflows. It supports optional extras like fontPens for advanced glyph operations and lxml for faster XML parsing. The project is actively maintained and has been in use since 2016, making it a stable foundation for font tool development.

Use it for

  • Building custom font editors or design tools that need to read, modify, and write UFO font files.
  • Programmatically generating or manipulating glyphs, contours, and font metadata in font design pipelines.
  • Converting between font formats or performing batch operations on font data using UFO as an intermediate representation.
  • Developing font validation or analysis tools that need structured access to UFO font components.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Defcon is a stable, actively maintained library with low install friction and permissive licensing. It is the standard choice for UFO-based font manipulation in Python, with no known security vulnerabilities. Install it if you are building font editing tools or need programmatic access to UFO font data.

Install

defcon on PyPI

Before you install

Low install friction with a single runtime dependency (fonttools). The project is actively maintained with recent commits and has been stable since its 2016 initial release.

Requires Python 3.9 or later.

License in practice

MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute defcon freely provided you include the license notice.

Quickstart

pip install defcon

from defcon import Font

font = Font()
glyph = font.newGlyph('A')
contour = glyph.appendContour()

Verify before relying

  • Whether optional extras (fontPens, lxml) are commonly needed for typical font editing workflows.
  • Performance characteristics when working with large font files or complex glyph data.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
fonttools
MaintenanceActively maintained 394 days since the last release
Last repo commit
First released
Downloads78,781 / month, #14,409 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Multimedia :: Graphics :: Editors :: Vector-BasedTopic :: Software Development :: Libraries :: Python Modules

Evidence: defcon-0.12.2-py3-none-any.whl

Tags

Capabilities
UFO font object libraryfont editing data structuresUFO3 format implementationlightweight font objectsfont glyph and contour manipulation
Topics
font-toolsufo-formattypography

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 › “font editing data structures”

  • defconDefcon provides lightweight, UFO-based objects for font editing…
  • ufoLib2ufoLib2 provides a lightweight, programmatic interface to read and…
  • glyphsLibConverts Glyphs source files (.glyphs) to UFO and Designspace…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also cu2qu · ufoLib2 · glyphsLib · ufo2ft · fonttools · esphome-glyphsets · cffsubr · fontbakery · freetype-py · pymupdf-fonts