$npx skillfedfor your agent

mojimoji

A fast converter between Japanese hankaku and zenkaku characters

With conditionsPyPI LinguisticReleased Jan 2024375.1K downloads / mopermissive licensePlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — mojimoji-0.0.13-cp310-cp310-macosx_10_9_x86_64.whl · mojimoji-0.0.13-cp310-cp310-macosx_11_0_arm64.whl · mojimoji-0.0.13-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
v0.0.13 · released 2024-01-12 · Python >=3.7

Yes, if you need to convert between Japanese character widths. The package is stable, dependency-free, and widely used. The dormant maintenance is not a blocker for a mature, single-purpose tool with no external dependencies. Install it if Japanese text normalization is part of your workflow; skip it if you don't work with Japanese text.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7 or later; installation relies on pre-built wheels for common platforms.
  • Medium install friction due to compiled wheels; pre-built binaries available for Python 3.7–3.12 on macOS, Linux, and Windows, so installation should succeed without compilation on most platforms.
  • Maintenance is dormant—last release was 2024-01-12, though the repository remains active and the package is stable.

License · maintenance · safety

permissive license (permissive) — Licensed under Apache License (permissive), so you can use, modify, and distribute the package freely with minimal restrictions.

last release 2024-01-12 (945 days) · last repo commit 2024-01-12 · 152 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 375,150 downloads/mo, #7,141 on PyPI

Verify before relying

pip install mojimoji

import mojimoji
print(mojimoji.zen_to_han('アイウabc012'))
# Output: アイウabc012
print(mojimoji.han_to_zen('アイウabc012'))
# Output: アイウabc012
  • Whether the package handles combining characters or other Unicode edge cases in Japanese text.
  • Performance characteristics on very large text volumes or streaming scenarios.
  • Whether dormant maintenance affects long-term compatibility with future Python versions beyond 3.12.
  • Current adoption and usage patterns in production systems.
Same gist for agents: .md · .json

What it is and what it does

mojimoji is a Cython-based library for converting Japanese text between hankaku (half-width) and zenkaku (full-width) character forms. It provides two main functions: zen_to_han() converts full-width characters to half-width, and han_to_zen() does the reverse. Both functions accept optional flags to control whether kana, digits, and ASCII characters are converted, allowing fine-grained control over which character classes are affected.

The package is designed for speed and has no runtime dependencies, installing via pre-built wheels for Python 3.7–3.12 on major platforms. Maintenance is dormant (last release 2024-01-12), but the codebase is stable and the repository remains accessible.

Use it for

  • Normalize Japanese user input in web forms or data pipelines to a consistent character width.
  • Prepare Japanese text for search indexing or matching where width variations should be treated as equivalent.
  • Convert legacy half-width Japanese data to full-width for display or compatibility with modern systems.
  • Process Japanese text in NLP or text analysis workflows where character width normalization is a preprocessing step.
  • Handle Japanese text in databases or APIs where width consistency is required for data integrity.

Worth the install?

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

With conditions

Yes, if you need to convert between Japanese character widths.

The package is stable, dependency-free, and widely used. The dormant maintenance is not a blocker for a mature, single-purpose tool with no external dependencies. Install it if Japanese text normalization is part of your workflow; skip it if you don't work with Japanese text.

Install

mojimoji on PyPI

Before you install

Medium install friction due to compiled wheels; pre-built binaries available for Python 3.7–3.12 on macOS, Linux, and Windows, so installation should succeed without compilation on most platforms. Maintenance is dormant—last release was 2024-01-12, though the repository remains active and the package is stable.

Requires Python 3.7 or later; installation relies on pre-built wheels for common platforms.

License in practice

Licensed under Apache License (permissive), so you can use, modify, and distribute the package freely with minimal restrictions.

Quickstart

pip install mojimoji

import mojimoji
print(mojimoji.zen_to_han('アイウabc012'))
# Output: アイウabc012
print(mojimoji.han_to_zen('アイウabc012'))
# Output: アイウabc012

Verify before relying

  • Whether the package handles combining characters or other Unicode edge cases in Japanese text.
  • Performance characteristics on very large text volumes or streaming scenarios.
  • Whether dormant maintenance affects long-term compatibility with future Python versions beyond 3.12.
  • Current adoption and usage patterns in production systems.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.7
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceDormant 945 days since the last release
Last repo commit
First released
Downloads375,150 / month, #7,141 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 :: Apache Software LicenseNatural Language :: JapaneseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: mojimoji-0.0.13-cp310-cp310-macosx_10_9_x86_64.whl; mojimoji-0.0.13-cp310-cp310-macosx_11_0_arm64.whl; mojimoji-0.0.13-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl; mojimoji-0.0.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; mojimoji-0.0.13-cp310-cp310-win32.whl; mojimoji-0.0.13-cp310-cp310-win_amd64.whl; mojimoji-0.0.13-cp311-cp311-macosx_10_9_x86_64.whl; mojimoji-0.0.13-cp311-cp311-macosx_11_0_arm64.whl; mojimoji-0.0.13-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl; mojimoji-0.0.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; mojimoji-0.0.13-cp311-cp311-win32.whl; mojimoji-0.0.13-cp311-cp311-win_amd64.whl; mojimoji-0.0.13-cp312-cp312-macosx_10_9_x86_64.whl; mojimoji-0.0.13-cp312-cp312-macosx_11_0_arm64.whl; mojimoji-0.0.13-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl; mojimoji-0.0.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; mojimoji-0.0.13-cp312-cp312-win32.whl; mojimoji-0.0.13-cp312-cp312-win_amd64.whl; mojimoji-0.0.13-cp37-cp37m-macosx_10_9_x86_64.whl; mojimoji-0.0.13-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl

Tags

Capabilities
japanese character width conversionhankaku zenkaku converterjapanese text normalizationhalf-width full-width japanesejapanese character transformationzen to han conversionjapanese text processing
Topics
japanese-textcharacter-encoding
PyPI keywords
japanese

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 › “japanese character width conversion”

  • mojimojiConverts Japanese text between hankaku (half-width) and zenkaku…
  • habachenHabachen converts between full-width and half-width characters, and…
  • jaconvjaconv converts between Japanese character types: Hiragana, Katakana,…

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

More Linguistic packages

charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
tiktoken Worth it
PyPI · Linguistic · released May 2026

tiktoken is a fast BPE tokenizer that converts text into token sequences compatible with OpenAI models, supporting multiple encoding schemes including o200k_base and model-specific encodings.

Install it if you work with OpenAI APIs or need to understand token boundaries in GPT-family models.

permissive licensecompiled wheel · 3.9+
233.0Mdownloads / mo
chardet Worth it
PyPI · Python Modules · released Aug 2026

Detects character encoding and language in byte sequences with high accuracy, supporting 99 encodings and returning confidence scores, language tags, and MIME types.

Install it if you need to detect character encoding or language in byte data; the rewrite makes it substantially faster and more accurate than its predecessors.

0BSDpure Python · 3.10+
199.0Mdownloads / mo
text-unidecode With conditions
PyPI · Python Modules · released Aug 2019

Converts Unicode text to ASCII by transliterating non-ASCII characters into their closest ASCII equivalents, with no runtime dependencies.

However, if transliteration quality or ongoing maintenance matters, consider unidecode instead despite its GPL-only license.

GPL-2.0-or-laterpure Pythonabandoned
89.0Mdownloads / mo
lark Worth it
PyPI · Python Modules · released Oct 2025

Lark is a parsing library that builds abstract syntax trees from context-free grammars, supporting multiple parsing algorithms (Earley, LALR(1), CYK) with automatic line and column tracking.

MITpure Python · 3.8+
79.7Mdownloads / mo
tree-sitter Worth it
PyPI · Linguistic · released Jun 2026

Python bindings to the tree-sitter parsing library, enabling incremental parsing and syntax tree analysis for source code.

MITcompiled wheel · 3.10+
79.0Mdownloads / mo

See also habachen · jaconv · kanjize · pykakasi · wetext · unidic · pyopenjtalk · anyascii · misaki · fugashi