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-1.0.1.tar.gz
(5.4 kB
view details)
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
e2s-1.0.1-py3-none-any.whl
(4.7 kB
view details)
File details
Details for the file e2s-1.0.1.tar.gz.
File metadata
- Download URL: e2s-1.0.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b017eb0e0bd264a9802b30f8ea30f21b16a79ba00798c7e337f41c73e3bb0aeb
|
|
| MD5 |
edd76db1a582f7cf33db499a9d5e18ca
|
|
| BLAKE2b-256 |
4ce4f5d7e051dab2495606886dcc766d1226e4a34452eceb832596c6b8b649ae
|
File details
Details for the file e2s-1.0.1-py3-none-any.whl.
File metadata
- Download URL: e2s-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
becb2a98608fd6d230947d1d37f008ea52217d112dde9b1f49e7b4677f087f87
|
|
| MD5 |
76313d0dcefe2019ede2d779f1ca805a
|
|
| BLAKE2b-256 |
854c06dbc0b0d0139043fe3f713b4bac2373a7b723759a8c23ba1117aede10bc
|