TableLinker: CSV data processing library (light version)
Project description
tablelinker-light
TableLinker をコマンドライン / プログラム組み込みで利用するための ライブラリ Tablelinker-lib の軽量版派生バージョンです。
オリジナルの Tablelinker-lib は国立情報学研究所より https://github.com/NII-CPS-Center/tablelinker-lib で公開されており、 MIT ライセンスで利用可能です。
インストール手順
Poetry を利用します。
$ poetry install --with group=dev
$ poetry shell
コマンドラインで利用する場合
tablelinker モジュールを実行すると、標準入力から受け取った CSV を コンバータで変換し、標準出力に送るパイプとして利用できます。
$ cat sample/datafiles/yanai_tourism.csv | \
python -m tablelinker sample/taskfiles/task.json
利用するコンバータと、コンバータに渡すパラメータは JSON ファイルに記述し、 パラメータで指定します。
組み込んで利用する場合
sample.py を参照してください。
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 tablelinker_light-1.0.0.post2.tar.gz.
File metadata
- Download URL: tablelinker_light-1.0.0.post2.tar.gz
- Upload date:
- Size: 74.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d50dd4a789af6856df82395da279d7d3d50270554c62827702901c419419c6f2
|
|
| MD5 |
d61903fcbc8e03c1d54ddce40e1fdd84
|
|
| BLAKE2b-256 |
261a72fe2979d7e2858ae70af642ccb6d7bfa4838c0e6c679995598bc791b3d3
|
File details
Details for the file tablelinker_light-1.0.0.post2-py3-none-any.whl.
File metadata
- Download URL: tablelinker_light-1.0.0.post2-py3-none-any.whl
- Upload date:
- Size: 103.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d02d3381720bce3b2dcc852fdae2b938d40161dfdc5abe35feea8c8cb7fd928c
|
|
| MD5 |
7d6139ed1091452df62e757055c7fccb
|
|
| BLAKE2b-256 |
5b8c0d9e98b806ae7308e2c40c9bf4c6822f2c60dfe4ff8c760efa4cfeee4bac
|