Registry / serialization / uc-micro-py

uc-micro-py

JSON →
library2.0.0pypypiunverified

uc-micro-py is a Python port of uc.micro, providing a micro subset of Unicode data files. This library is specifically designed to meet the needs of `linkify-it-py` projects. As of version 2.0.0, released in February 2026, it is actively maintained, though its release cadence appears to be infrequent, driven by updates to Unicode data or `linkify-it-py` requirements.

pip install uc-micro-py
INSTALL
IMPORT
SIG · UC-MICRO-PY
U
uc-micro-py
serializationpythonv2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

uc-micro-py is designed as an internal dependency, primarily for `linkify-it-py`. There is no direct, user-facing API for this library beyond importing it to confirm its presence. This quickstart demonstrates a basic import and version check.

import uc_micro_py print(f"uc-micro-py version: {uc_micro_py.__version__}") # Note: This library primarily serves as an internal dependency for linkify-it-py # and does not expose a public API for direct feature usage.
Debug
Known issues
breakingVersion 2.0.0 of `uc-micro-py` raised the minimum required Python version to 3.10. Projects on older Python versions (e.g., Python 3.9 and below) will encounter compatibility issues.
fix
Upgrade your Python environment to version 3.10 or newer to use uc-micro-py v2.0.0 and subsequent releases.
affects: >=2.0.0
gotchaThis package is explicitly stated to contain content 'ONLY for linkify-it-py projects needs.' It is not intended for standalone use or to expose a public API for direct application-level functionality beyond providing Unicode data to its primary consumer.
fix
Do not attempt to use `uc-micro-py` directly for general Unicode parsing or linking. If you need linkification, use `linkify-it-py` which correctly leverages this library internally.
affects: All versions
gotchaThe project has an infrequent release cadence (e.g., a two-year gap between v1.0.3 and v2.0.0). While `v2.0.0` is recent, users should not expect frequent updates or rapid feature additions beyond maintaining Unicode data compatibility for `linkify-it-py`.
fix
Factor in the infrequent update schedule when planning dependencies. This library is stable for its intended purpose but may not see active development of new, independent features.
affects: All versions
breakingThe package `uc-micro-py` was not found in the Python environment. This typically means it was not installed via pip or is not available in the Python path.
fix
Ensure `uc-micro-py` is correctly installed in your environment using `pip install uc-micro-py`.
affects: All versions
breakingThe `uc-micro-py` package was not found in the Python environment, leading to a `ModuleNotFoundError`. This typically means the package was not installed or is not accessible in the current Python path.
fix
Ensure `uc-micro-py` is installed in the environment where the script is being run, for example, by adding `pip install uc-micro-py` to your setup process. Verify that the correct Python environment is activated.
affects: All versions
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'uc_micro'
The `uc-micro-py` package has not been installed in the current Python environment.
fix
pip install uc-micro-py
ModuleNotFoundError: No module named 'uc-micro-py'
The user attempted to import the package using its PyPI distribution name (`uc-micro-py`) instead of its actual Python module name (`uc_micro`).
fix
from uc_micro import get_categories
AttributeError: module 'uc_micro' has no attribute 'get_category'
The user attempted to access a non-existent attribute or function; the correct function name to retrieve categories is `get_categories` (plural).
fix
from uc_micro import get_categories

# Call the function
categories = get_categories()
Upgrade
Version history
2.0.0latest on PyPI · released Mar 1, 2026
Audit
Dependencies
PythonrequiredRequired for execution.
Agent activity
19 hits · last 30 days
node
17
OpenAI (training)
1
Resources
uc-micro-py — pip install uc-micro-py · libregistry