kyujipy
kyujipy is a Python library to convert Japanese texts from Shinjitai (新字体) to Kyūjitai, (舊字體) and vice versa.
kyujipy is based on the kyujitai.js project, originally authored by Koki Takahashi.
Installation (via Pip)
$ pip install kyujipy
Usage
In Python shell (or inside Python script):
# Import main class
>>> from kyujipy import KyujitaiConverter
# Instantiate Shinjitai <-> Kyujitai converter
>>> converter = KyujitaiConverter()
# Convert a text from Shinjitai to Kyujitai
>>> print(converter.shinjitai_to_kyujitai("新字体"))
新字體
# Convert a text from Kyujitai to Shinjitai
>>> print(converter.kyujitai_to_shinjitai("舊字體"))
旧字体
API Reference
- shinjitai_to_kyujitai(string)
Convert a text from Shinjitai (新字体) to Kyūjitai (舊字體)
- kyujitai_to_shinjitai(string)
Convert a text from Kyūjitai (舊字體) to Shinjitai (新字体)
License
kyujipy is licensed under the MIT license.
© 2017-2025 Emmanuel Ternon
Metadata
Release files for kyujipy 0.6.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kyujipy-0.6.8.tar.gz | 17.3 kB | Without provenance | Details for kyujipy-0.6.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kyujipy-0.6.8-py3-none-any.whl | Python 3 | none | any | Details for kyujipy-0.6.8-py3-none-any.whl |
Total release size: 36.7 kB
Release files / kyujipy-0.6.8.tar.gz
| Download URL | kyujipy-0.6.8.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec0b57db14a5c3a0a0bc83779b4864f42a569b03a57d9ae38fbf6face6de587a
|
|
BLAKE2b-256 checksum How to use checksums |
d8e609a59448b4f632989dbe4d5fa7eeb6d1e4413a1efd8ccceeaa9e3a339f48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.3
|
Release files / kyujipy-0.6.8-py3-none-any.whl
| Download URL | kyujipy-0.6.8-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29a65d7dbecda9a8842d141eb05090025a28f2677b51b3845fc21e579db1b6e2
|
|
BLAKE2b-256 checksum How to use checksums |
83a6c8f3cee03b9be95292f332ac7c0b571f50ad3f67a3f5f00fac0e43f4f90b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.3
|
Security for kyujipy 0.6.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.