# Gsllchb/Handright

A lightweight Python library for simulating Chinese handwriting

Repository: https://github.com/Gsllchb/Handright
Canonical: https://ross.abutalabs.com/products/handright
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: handwriting, chinese, image, simulation, library, lightweight
Archived: true
Last push: 2024-04-06T03:02:03+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3214, "days_push": 879, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2245, forks 262 (observed 2026-08-28T04:06:30.057154+00:00)

## What it is
A lightweight Python library that simulates realistic Chinese handwriting by applying random perturbations to character positions, sizes, and strokes, producing images via Pillow. It provides a simple Template/handwrite API for generating handwritten-style text images.

## Use cases
- generate images of Chinese text that look handwritten
- create fake handwritten notes or homework images from text
- render Chinese characters with natural-looking random variation
- produce handwriting-style images for testing OCR systems
- batch-generate handwritten-style pages from long text

## When to choose
- you need programmatic, randomized Chinese handwriting image generation in Python
- you want a small, pip-installable library built on Pillow with a simple API
- you need to generate handwriting-like images for datasets or OCR testing

## When to avoid
- you need handwriting simulation for non-Chinese scripts
- you need real handwriting recognition or conversion of handwriting to text
- you need a GUI tool rather than a Python library

## Facets
- artifact type: library
- maturity: maintenance
- function: image-processing, data-generation
- domain: image-processing, developer-tools
- platform: python, cross-platform
- tags: handwriting-simulation, chinese-text, pillow, text-to-image, randomized-rendering, natural-language-processing

## Member repositories
- Gsllchb/Handright (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:30.057154+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:43:59.449655+00:00, confidence not recorded.
  - readme: https://github.com/Gsllchb/Handright (fetched 2026-08-28T04:06:30.057154+00:00, sha 1f465efe681c)
  - registry_pypi: https://pypi.org/pypi/handright/json (fetched 2026-08-29T10:24:19.586920+00:00, sha 1f1dae4379d1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
