annofab-cli-llm
annofab-cliとLLMを組み合わせたツールです。
Requirements
- Python 3.12+
Install
$ pip install annofabcli-llm
Configurations
https://annofab-cli-llm.readthedocs.io/ja/latest/index.html#configurations を参照してください。
Usage
$ annofabcli-llm --help
詳細は https://annofab-cli-llm.readthedocs.io/ja/latest/command_reference/index.html を参照してください。
Python 3.15 の開発環境
依存先の fastuuid 0.14 は Python 3.15 用の wheel がないため、Rust ツールチェーンをインストールし、PyO3 の安定 ABI 互換モードでビルドします。CI の Python 3.15 ジョブでも同じ設定を利用します。
export UV_PYTHON=3.15
export PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1
uv sync --locked
make lint
uv run pytest tests/ -m "not access_webapi"
lint・整形には Ruff、型検査には mypy を利用します。make format で整形し、make lint でチェックしてください。
シークレット検査
make gitleaks で現在のブランチの Git 履歴(マージ時の変更を含む)を検査します。gitleaks をインストール済みならそのコマンドを使い、未インストールなら Docker で v8.30.1 を実行します。検出値はログでマスクします。CI でも同じ検査を実行します。
DevContainer には gitleaks v8.30.1 を同梱しています。既存のコンテナは再ビルドしてください。
コミット前の差分検査には pre-commit フックを利用できます。
uv sync --locked
uv run pre-commit install
Docker の接続先・認証設定は、通常利用している設定を引き継ぎます。設定ディレクトリを明示的に切り替える場合のみ、GITLEAKS_DOCKER_CONFIG=/tmp/gitleaks-docker-config make gitleaks のように指定してください。
Metadata
Release files for annofabcli-llm 0.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| annofabcli_llm-0.7.2.tar.gz | 284.6 kB | Without provenance | Details for annofabcli_llm-0.7.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| annofabcli_llm-0.7.2-py3-none-any.whl | Python 3 | none | any | Details for annofabcli_llm-0.7.2-py3-none-any.whl |
Total release size: 357.4 kB
Release files / annofabcli_llm-0.7.2.tar.gz
| Download URL | annofabcli_llm-0.7.2.tar.gz |
|---|---|
| Size | 284.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6170cc19f99593b6217fe4cac6acf8f5da6de15c547dfdbe809070a8b1a43609
|
|
BLAKE2b-256 checksum How to use checksums |
d53670540252e7d7340363f0da45e535a9c1c067a28927d1e362baec39d6caff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","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}
|
Release files / annofabcli_llm-0.7.2-py3-none-any.whl
| Download URL | annofabcli_llm-0.7.2-py3-none-any.whl |
|---|---|
| Size | 72.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d3d392c5d63cd304fabcffafc4e647670983817ab74851b55d7b4f2172f98ac
|
|
BLAKE2b-256 checksum How to use checksums |
c2f8d59141f6cb1ec68341988d3426dc22947a8d8faf654c6396383eee1ebcf7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","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}
|
Security for annofabcli-llm 0.7.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.