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.16.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.16.0
File Size Uploaded Provenance
annoworkcli-3.16.0.tar.gz 265.5 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 407.4 kB

Release files / annoworkcli-3.16.0.tar.gz

Download URL annoworkcli-3.16.0.tar.gz
Size 265.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8d05f1e899afa0566f9e3214910401ab1d64d51a63868768d510743df1f1c5af
BLAKE2b-256 checksum
How to use checksums
c03a3a4c39ee84404f66d54fce4fc1550ad02a8548387e1631dc538c6e630752
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.16.0-py3-none-any.whl

Download URL annoworkcli-3.16.0-py3-none-any.whl
Size 141.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36c7efc82d3a7d8c2a53b0cee46052b89779e3f085518d436406ea4e92a1d610
BLAKE2b-256 checksum
How to use checksums
63061452687273701f5827a941df0d13c3fe99ba863f7ec79c4c9217a92bcb22
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.16.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.16.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