Skip to main content

annowork-cli

AnnoworkのCLIです。

CodeQL PyPI version Python Versions Documentation Status

Requirements

  • Python 3.12+

Install

$ pip install annoworkcli

Usage

認証情報の設定

.netrc

$HOME/.netrcファイルに以下を記載する。

machine annowork.com
login annowork_user_id
password annowork_password

環境変数

  • 環境変数ANNOWORK_USER_ID , ANNOWORK_PASSWORD
  • 環境変数ANNOWORK_WORKSPACE_ID
    • --workspace_id が必須のコマンドで未指定時に使用されます。

annoworkcli annofabコマンドを利用する場合

Annofab WebAPIにアクセスする操作では、Annofabの認証情報が必要です。 list_assigned_hours と、--actual_file を指定した reshape_working_hours ではAnnofabの認証は不要です。

  • 環境変数ANNOFAB_USER_ID , ANNOFAB_PASSWORDまたはANNOFAB_PAT

コマンドの使い方

# CSV出力
$ annoworkcli actual_working_time list_daily --workspace_id foo \
 --start_date 2022-05-01 --end_date 2022-05-10 --output out.csv

$ cat out.csv
date,parent_job_id,parent_job_name,job_id,job_name,workspace_member_id,user_id,username,actual_working_hours,notes
2022-05-02,parent_job,PLANET,5c39a2e8-90dd-4f20-b0a6-39d7f5129e3d,MOON,52ff73fb-c1d6-4ad6-a185-64386ee7169f,alice,Alice,11.233333333333334,
2022-05-02,parent_job,PLANET,0fd0eff3-1945-4d7d-ae3a-9ff866fc8394,MARS,c66acd58-c893-4908-bdcc-1414978bf06b,bob,Bob,8.0,

# workspace_idを環境変数で省略する
$ export ANNOWORK_WORKSPACE_ID=foo
$ annoworkcli actual_working_time list_daily \
 --start_date 2022-05-01 --end_date 2022-05-10 --output out.csv

開発者向けの情報

https://github.com/kurusugawa-computer/annowork-cli/blob/main/README_for_developer.md

Metadata

Release files for annoworkcli 3.17.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 annoworkcli 3.17.0
File Size Uploaded Provenance
annoworkcli-3.17.0.tar.gz 284.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for annoworkcli 3.17.0
File Interpreter ABI Platform
annoworkcli-3.17.0-py3-none-any.whl Python 3 none any Details

Total release size: 435.9 kB

Release files / annoworkcli-3.17.0.tar.gz

Download URL annoworkcli-3.17.0.tar.gz
Size 284.8 kB
Tags Source
SHA-256 checksum
How to use checksums
45828054567f726ceba4a59e0cb69872e629637e7e448d1033518be185cbb821
BLAKE2b-256 checksum
How to use checksums
939d08f9ea1f0ea7946a017e86af33c9bc4bd4487f4baf8b5a893d26f7559d1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","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 / annoworkcli-3.17.0-py3-none-any.whl

Download URL annoworkcli-3.17.0-py3-none-any.whl
Size 151.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8248adcb9f41ba940562e21ac7cca8c291fb26a2dc45a280d3574b3123f7335
BLAKE2b-256 checksum
How to use checksums
f680d7ba1c9e5f992e929656c5afb2c8bb7a8591ebd51d35e2a326a21836b919
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","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 annoworkcli 3.17.0

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.

Release history Release notifications | RSS feed

This release

3.17.0 This release

2 release files No provenance

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