Create Kanji Grids out of Text
Project description
kanjigrid
Create Kanji Grids out of Text
pip install kanjigrid
MWE
import kanjigrid
gridder = kanjigrid.Gridder("Kanji", 40, "Header", 52)
grading = kanjigrid.Jouyou()
with open("test.txt", "r", encoding="utf-8") as f:
data = f.read()
gridder.feed_text(data)
grid = gridder.make_grid(grading, outside_of_grading=True, stats=True, bar_graph=True)
grid.save("test.png")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kanjigrid-0.0.5.tar.gz
(26.1 kB
view details)
Built Distribution
kanjigrid-0.0.5-py3-none-any.whl
(25.5 kB
view details)
File details
Details for the file kanjigrid-0.0.5.tar.gz
.
File metadata
- Download URL: kanjigrid-0.0.5.tar.gz
- Upload date:
- Size: 26.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.8.3 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5ace60e6346007994a11a69dd90c4a3559c3eca27f3d2524f7ad33b1cbd1cfc |
|
MD5 | 33efc88422168b351b23a9c59c806984 |
|
BLAKE2b-256 | 24e90629d31029d4dc1163c6252b2d0cda1ee01aa7b3086bff30946f6206bd06 |
File details
Details for the file kanjigrid-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: kanjigrid-0.0.5-py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.8.3 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 833833554a2326827836a1620c199dfce857514a8ee8e831eaba23074e4e6dbc |
|
MD5 | 26a263fc10361eec235c144b0dc00e3d |
|
BLAKE2b-256 | f27f2b99678e0637526d24c636e4ec4933d0eb5992f7dd9c39b3820f27171b8b |