corelibs-double-byte-format (1.0.0)
Published 2026-02-06 08:40:41 +09:00 by clemens
Installation
pip install --index-url https://git.gullevek.org/api/packages/PyPI/pypi/simple/ --extra-index-url https://pypi.org/simple corelibs-double-byte-formatAbout this package
CoreLibs Double Byte Format Library
CoreLibs Python Double Byte Format
This is part of the Python CoreLibs
Overview
Format double byte strings so that the length is equal to single byte strings, to correct format string lengths
Install
uv add --index opj-pypi=https://git.egplusww.jp/api/packages/PyPI/pypi/simple/ corelibs-double-byte-format
Usage
See <DOCUMENTATION.md>
Development
See <DEVELOPMENT.md> for detailed development information
UV setup
uv must be installed
Python venv setup
After clone, run the command below to install all dependenciss
uv sync
Build and Publish
uv build
uv publish --index opj-pypi --token <gitea token>
Python tests
All python tests are the tests/ folder. They are structured by the source folder layout
run them with
uv run pytest
Get a coverate report
uv run pytest --cov=<project>
uv run pytest --cov=<project> --cov-report=term-missing
Other tests
In the test-run folder usage and run tests are located, runt them below
uv run test-run/<script>
Requirements
Requires Python: >=3.13