==============
kanjinetworks is an interface for the Kanji Networks database.
[](https://travis-ci.org/acoomans/kanjinetworks)
[](https://pypi.python.org/pypi/kanjinetworks)
[](https://pypi.python.org/pypi/kanjinetworks)

## Description
[Kanji Networks](http://www.kanjinetworks.com) was a website offering etymologies for kanjis. The website was closed end of August 2016, but the database was made available as a PDF.
kanjinetworks is an interface for extracting, parsing and exporting the etymologies from the PDF file in python.
The package also include the `kn_to_ja.py` script to import the Kanji Networks etymologies into a [iOS Japanese App](https://japaneseapp.com/) backup files as notes. Warning: existing notes might be lost as this script replaces them.
## Requirements
kanjinetworks is compatible with Python versions 2 and depends on PDF miner.
## Install
To install kanjinetworks, run pip:
pip install kanjinetworks
or clone this directory and run setup:
python setup.py install
## Usage
To import etymologies into a Japanese App backup files:
kn_to_ja.py PATH_TO_JAPANESE_BACKUP_FILE
To use the parser:
from kanjinetworks import get_text
from kanjinetworks import KanjiNetworksParser
text = get_text()
kanjis = KanjiNetworksParser().parse(text)
for kanji in kanjis:
print unicode(kanji)
# Credits
The Etymological Dictionary of Han/Chinese Characters is by Lawrence J. Howell / Research Collaborator Hikaru Morimoto / Kanji Networks (http://www.kanjinetworks.com).
File distributed with the permission of the author.
Metadata
Release files for kanjinetworks 0.1.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 |
|---|---|---|---|---|
| kanjinetworks-0.1.8.tar.gz | 4.9 MB | Without provenance | Details for kanjinetworks-0.1.8.tar.gz |
Release files / kanjinetworks-0.1.8.tar.gz
| Download URL | kanjinetworks-0.1.8.tar.gz |
|---|---|
| Size | 4.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5ae69e4b9b075b636e2c9b625570d28fb197e2566727bcdfa5e390851576e5f
|
|
BLAKE2b-256 checksum How to use checksums |
ddaa4dd05a1bac4aced8dd4a909ec60432855106e40116af14f0f375baf0195a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for kanjinetworks 0.1.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.