Skip to main content

TableLinker: CSV data processing library (light version)

Project description

tablelinker-light

Python 3.7 Python 3.8 Python 3.9 Python 3.10 Python 3.11 Python 3.12

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tablelinker_light-1.0.0.post2.tar.gz (74.9 kB view hashes)

Uploaded Source

Built Distribution

tablelinker_light-1.0.0.post2-py3-none-any.whl (103.0 kB view hashes)

Uploaded Python 3

Supported by

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