$npx skillfedfor your agent

pyphen

Pure Python module to hyphenate text

Worth itPyPI Text ProcessingReleased Aug 202635.5M downloads / mocopyleft licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pyphen-0.18.0-py3-none-any.whl
v0.18.0 · released 2026-08-13 · Python >=3.10

Yes. Pyphen is a lightweight, actively maintained library with no runtime dependencies, zero known vulnerabilities, and broad language support via included dictionaries. The copyleft license is straightforward if your project can accommodate GPL/LGPL/MPL terms. Install it if you need reliable hyphenation for text layout or formatting.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; CPython and PyPy are supported.
  • Low friction: pure Python wheel with no runtime dependencies.
  • Actively maintained with a release on 2026-08-13 and recent commits.

License · maintenance · safety

copyleft license (copyleft) — Copyleft license (GPL 2.0+, LGPL 2.1+, or MPL 1.1). Code contributions are automatically licensed under these terms. Dictionaries bundled with the package carry their own GPL/LGPL/MPL licensing from LibreOffice.

last release 2026-08-13 (1 days) · last repo commit 2026-08-13 · 230 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 35,518,377 downloads/mo, #745 on PyPI

Verify before relying

pip install pyphen

from pyphen import Pyphen
dicta = Pyphen(lang='en_US')
print(dicta.inserted('hyphenation'))
  • Whether included dictionaries cover all languages needed for your use case
  • Performance characteristics when hyphenating large volumes of text
Same gist for agents: .md · .json

What it is and what it does

Pyphen is a pure Python hyphenation library that uses Hunspell dictionaries to break words at syllable boundaries for text layout and formatting. It includes dictionaries for multiple languages sourced from LibreOffice and requires no external compiled dependencies—just Python 3.10 or later.

The package is actively maintained by Kozea and Courtbouillon, with professional support available. It works on both CPython and PyPy. The code and bundled dictionaries are distributed under copyleft licenses (GPL 2.0+, LGPL 2.1+, or MPL 1.1), which means any derivative work must comply with those terms.

Use it for

  • Justify text in document generation or typesetting systems by inserting hyphens at valid word breaks
  • Format text for fixed-width displays or constrained layouts where word wrapping alone is insufficient
  • Prepare multilingual content for publishing workflows that require proper hyphenation
  • Build text processing pipelines that need language-aware syllable breaking without external system libraries

Worth the install?

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

Worth it

Yes.

Pyphen is a lightweight, actively maintained library with no runtime dependencies, zero known vulnerabilities, and broad language support via included dictionaries. The copyleft license is straightforward if your project can accommodate GPL/LGPL/MPL terms. Install it if you need reliable hyphenation for text layout or formatting.

Install

pyphen on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Actively maintained with a release on 2026-08-13 and recent commits. Requires Python 3.10 or later.

Requires Python 3.10 or later; CPython and PyPy are supported.

License in practice

Copyleft license (GPL 2.0+, LGPL 2.1+, or MPL 1.1). Code contributions are automatically licensed under these terms. Dictionaries bundled with the package carry their own GPL/LGPL/MPL licensing from LibreOffice.

Quickstart

pip install pyphen

from pyphen import Pyphen
dicta = Pyphen(lang='en_US')
print(dicta.inserted('hyphenation'))

Verify before relying

  • Whether included dictionaries cover all languages needed for your use case
  • Performance characteristics when hyphenating large volumes of text

Package facts

Licensecopyleft license copyleft
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 1 days since the last release
Last repo commit
First released
Downloads35,518,377 / month, #745 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 :: GNU General Public License v2 or later (GPLv2+)License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)Programming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Text ProcessingTopic :: Text Processing :: Linguistic

Evidence: pyphen-0.18.0-py3-none-any.whl

Tags

Capabilities
text hyphenationword breakinghunspell hyphenationmultilingual text formattingsyllable breaking pythontext layout hyphenationline breaking algorithm
Topics
text-processingmultilingualtypography
PyPI keywords
hyphenation

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 › “text hyphenation”

  • pyphenPyphen hyphenates text in multiple languages using Hunspell…
  • textstatTextstat calculates readability and complexity metrics from text…
  • dnstwistGenerates domain name permutations to detect typosquatting, phishing,…

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

More Text Processing packages

regex Worth it
PyPI · Python Modules · released Jul 2026

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.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyparsing Worth it
PyPI · Text Processing · released Jan 2026

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.

MITpure Python · 3.9+
412.7Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

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.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
RapidFuzz Worth it
PyPI · Text Processing · released Apr 2026

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.

MITcompiled wheel · 3.10+
184.2Mdownloads / mo
tinycss2 Worth it
PyPI · Text Processing · released Nov 2025

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.

BSD-3-Clausepure Python · 3.10+
113.2Mdownloads / mo

See also pyspelling · PyStemmer · antiword · pydyf · jieba · uniseg · jamo · pyspellchecker · weasyprint