Convert eijiro text data into sqlite3
Project description
eijiro-to-sqlite
- 英辞郎 -> sqlite3
- Sample data: 0 JPY
- 英辞郎 Ver.144.8: 495 JPY
Screenshot
Install
pip install e2s
Run
wget 'https://www.eijiro.jp/eijiro-sample-1448.zip' # sample data
unzip eijiro-sample-1448.zip
e2s -i EIJIRO-SAMPLE-1448.TXT # `eijiro.db` will be created
Help
$ e2s -h
usage: e2s [-h] [-i TXT] [-o DB] [-j JOINER] [-O] [-V]
Convert eijiro(英辞郎) text data into sqlite3
optional arguments:
-h, --help show this help message and exit
-i TXT, --input TXT Source file (default: EIJIRO-1448.TXT)
-o DB, --out DB Output DB file (default: eijiro.db)
-j JOINER, --joiner JOINER Joiner for descriptions (default: ^^^)
-O, --overwrite Overwrite db (default: False)
-V, --version show program's version number and exit
Schema
CREATE TABLE word (
id integer primary key,
word text,
meaning text,
descriptions text
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
e2s-0.5.tar.gz
(4.2 kB
view details)
Built Distribution
e2s-0.5-py3-none-any.whl
(4.8 kB
view details)
File details
Details for the file e2s-0.5.tar.gz
.
File metadata
- Download URL: e2s-0.5.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 877e01f56ccdad8b71a5ffb4db9f3a8edf24c5599bab9433ae43b86b5456524f |
|
MD5 | 48f7e14801ad94e47c6b8a8d8c13a6e2 |
|
BLAKE2b-256 | 71e80be002719f044ac98335eff7c7c19a11400dda7bf3e6beb2ea1660af1c04 |
File details
Details for the file e2s-0.5-py3-none-any.whl
.
File metadata
- Download URL: e2s-0.5-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90fddac3e22c76e2ca6079ebb011c4879eddcf65c9e35e1e1f279fe8ba5f4623 |
|
MD5 | 147bc580cf412dc0803ee0a447ba5c54 |
|
BLAKE2b-256 | 79aef24fd5863c928858b2887a42f56ab310551874eee63e26cb5db812a68d3b |