jittok
jittok is a Swiss Army Knife-like toolbox for data processing.
Installation
pip install jittok
Features
jptext - Japanese text related functions
text normalization
>>> from jittok import jptext
>>> jptext.normalization("ゼンカクカナ")
'ゼンカクカナ'
parsing Japanese numeric string
>>> from jittok import jptext
>>> jptext.to_numeric("一二,三四五億2百十万987")
1234502100987
jpdatetime - Japanese datetime related functions
parsing Japanese "wareki" string
>>> from jittok import jpdatetime
>>> jpdatetime.strptime("令和元年10月3日", "%Y年%m月%d日")
datetime.datetime(2019, 10, 3, 0, 0)
>>> jpdatetime.strptime("昭和64年1月1日", "%Y年%m月%d日")
datetime.datetime(1989, 1, 1, 0, 0)
It parses "明治", "大正", "昭和", "平成", "令和" and does not support consistency check:
>>> from jittok import jpdatetime
>>> jpdatetime.strptime("大正90年10月3日", "%Y年%m月%d日")
datetime.datetime(2001, 10, 3, 0, 0)
Metadata
Release files for jittok 0.0.6
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 |
|---|---|---|---|---|
| jittok-0.0.6.tar.gz | 8.4 kB | Without provenance | Details for jittok-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jittok-0.0.6-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for jittok-0.0.6-py2.py3-none-any.whl |
Total release size: 19.8 kB
Release files / jittok-0.0.6.tar.gz
| Download URL | jittok-0.0.6.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e8281de4aaf07a68e3ec01802ecf05b127d4e989965d7c07de0ef1b6bcc73a3
|
|
BLAKE2b-256 checksum How to use checksums |
d3c379a6463182534efd8fe9987e0d050219223d745a26fd8f45b17428f73896
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Release files / jittok-0.0.6-py2.py3-none-any.whl
| Download URL | jittok-0.0.6-py2.py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
bacddd554dbc5f5aa180bf06023d8808c97938b10aacde686961c8c5e57cc40a
|
|
BLAKE2b-256 checksum How to use checksums |
c86eaba00bd99559188224403de52f60f5ca2f0fd07f3593d5ddc5d73d9a998c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Security for jittok 0.0.6
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.