japanese cli&web dictionary based on jmdict/kanjidic
Project description
File : README.md
Maintainer : Felix C. Stegerman <flx@obfusk.net>
Date : 2020-07-12
Copyright : Copyright (C) 2020 Felix C. Stegerman
Version : v0.1.1
License : AGPLv3+
Description
jiten - japanese cli&web dictionary based on jmdict/kanjidic
Features
- Fine-grained search using regexes (regular expressions)
- JMDict multilingual japanese dictionary
- kanji, readings, meanings (eng, dut, ger) & more
- by frequency
- random entry
- Kanji dictionary
- readings, meanings (eng) & more
- search using SKIP codes
- by frequency/level
- Stroke order
- Web interface
- can be run on your own computer or android phone
- light/dark mode
- Command-line interface
CLI
JMDict
$ jiten -v jmdict --max 1 --word cat
$ jiten -v jmdict --max 1 --word kat --lang dut
$ jiten -v jmdict --max 1 --exact 誤魔化す
Kanji
$ jiten -v kanji --max 1 --word cat
$ jiten -v kanji --max 1 --exact cat
$ jiten -v kanji --max 1 --word 日
Web Interface
$ jiten -v serve
Help
$ jiten --help
Requirements
Python >= 3.5 + Flask + click.
Installing
Using pip
$ pip install jiten
Android
There's no app, but you can run the web interface locally (& off-line) on your android phone. First, install termux, then run:
$ apt install python
$ pip install jiten
You can then run the web interface with:
$ jiten serve
and open http://localhost:5000 in your browser.
The web interface will keep running until you close termux or reboot.
Miscellaneous
Generating the DB
$ jiten setup
Forcing HTTPS
$ export JITEN_HTTPS=force
Forcing Domain Name
$ export JITEN_DOMAIN=jiten.obfusk.dev
License
Code
© Felix C. Stegerman
JMDict & KanjiDic
© James William BREEN and The Electronic Dictionary Research and Development Group
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jiten-0.1.1.tar.gz.
File metadata
- Download URL: jiten-0.1.1.tar.gz
- Upload date:
- Size: 32.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.8.4rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98353d8749cdccc95f3d8d708edf6a8572c58f84278f7f157aa54acdeb55a62d
|
|
| MD5 |
5ee29f6400c48a3cb597956618a0f031
|
|
| BLAKE2b-256 |
0e7de6980f9e636732242cd1396f276dc537ec3da653577ef27d172d5ac4d955
|
File details
Details for the file jiten-0.1.1-py3-none-any.whl.
File metadata
- Download URL: jiten-0.1.1-py3-none-any.whl
- Upload date:
- Size: 32.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.8.4rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b0ecbacbc7295505e3789d34cd12a258dbf027700812e7a7c55a81f13a1eb54
|
|
| MD5 |
667a0a536596546b28efe44b2dd9deb2
|
|
| BLAKE2b-256 |
4cf8450a6779ab09d8ca00a30058b37c41b9a1d075dd2c4e90663149be7ab468
|