Skip to main content

tablelinker-lib

TableLinker をコマンドライン / プログラム組み込みで利用するためのライブラリ。

インストール手順

Poetry を利用します。

$ poetry install --with group=dev
$ poetry shell

MacOS の場合、デフォルトの python バージョンが 3.11 なので pytorch がインストールできません。以下の手順が必要です。

% pyenv install 3.10
% poetry env use 3.10
% poetry shell
% poetry install --with group=dev

コマンドラインで利用する場合

tablelinker モジュールを実行すると、標準入力から受け取った CSV を コンバータで変換し、標準出力に送るパイプとして利用できます。

$ cat sample/datafiles/yanai_tourism.csv | \
  python -m tablelinker sample/taskfiles/task.json

利用するコンバータと、コンバータに渡すパラメータは JSON ファイルに記述し、 パラメータで指定します。

組み込んで利用する場合

sample.py を参照してください。

Metadata

Release files for tablelinker-lib 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tablelinker-lib 1.0.0
File Size Uploaded
tablelinker_lib-1.0.0.tar.gz 76.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tablelinker-lib 1.0.0
File Interpreter ABI Platform
tablelinker_lib-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 181.0 kB

Release files / tablelinker_lib-1.0.0.tar.gz

Download URL tablelinker_lib-1.0.0.tar.gz
Size 76.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8fb5e3be318e999ad0a46634c923fc07cd35f6474c431b3fa11f6068f67ac89c
BLAKE2b-256 checksum
How to use checksums
9b60dcd18448e6a8cbac50a440eeb43aa351e56778b1055dafb9decea2a78873
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / tablelinker_lib-1.0.0-py3-none-any.whl

Download URL tablelinker_lib-1.0.0-py3-none-any.whl
Size 104.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b67b2bfdeeaa63869d120815bdd264c3a7e3325df57738ce95efce3d1d51cb67
BLAKE2b-256 checksum
How to use checksums
39b98bd44b6d6b2509666070868a69a6c4601be62f7aac32ceb118dc6430c4cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page