Skip to main content

Convert eijiro text data into sqlite3

Project description

eijiro-to-sqlite

PyPI Release Package CI

Screenshot

img

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.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

e2s-1.0.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file e2s-1.0.0.tar.gz.

File metadata

  • Download URL: e2s-1.0.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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

Hashes for e2s-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1040f22e734b30e54f3a95c33d215b476e65a8904e88ff44c29968c959401d95
MD5 683fae0d7d6258d88081f7670f97cc3d
BLAKE2b-256 5bbedc59afdfa3c6460e28d00b9f406897a84705bda3962459d7acb1840acba0

See more details on using hashes here.

File details

Details for the file e2s-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: e2s-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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

Hashes for e2s-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd48b444426d1ebda4fc9943f237ef42ead1de9d94ec69e69d4c9ccebc965845
MD5 9801902d730bfe3d917b0943ffdc269a
BLAKE2b-256 9ef0e1ab5f4fe80c5eb33bbc2597a2505634bd8e29fd6abc224cad949c44af9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page