Skip to main content

AnnoworkのCLI(Command Line Interface)

Project description

annowork-cli

AnnoworkのCLIです。

CodeQL PyPI version Python Versions Documentation Status

Requirements

  • Python3.10+

Install

$ pip install annoworkcli

Usage

認証情報の設定

.netrc

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

machine annowork.com
login annowork_user_id
password annowork_password

環境変数

  • 環境変数ANNOWORK_USER_ID , ANNOWORK_PASSWORD

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

annoworkcli annofabコマンドはannofabのwebapiにアクセスするため、annofabのwebapiの認証情報を指定する必要があります。

  • 環境変数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,job_id,job_name,workspace_member_id,user_id,username,actual_working_hours,notes
2022-05-02,5c39a2e8-90dd-4f20-b0a6-39d7f5129e3d,MOON,52ff73fb-c1d6-4ad6-a185-64386ee7169f,alice,Alice,11.233333333333334,
2022-05-02,5c39a2e8-90dd-4f20-b0a6-39d7f5129e3d,MARS,c66acd58-c893-4908-bdcc-1414978bf06b,bob,Bob,8.0,

開発者向けの情報

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

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

annoworkcli-3.13.0.tar.gz (226.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

annoworkcli-3.13.0-py3-none-any.whl (117.3 kB view details)

Uploaded Python 3

File details

Details for the file annoworkcli-3.13.0.tar.gz.

File metadata

  • Download URL: annoworkcli-3.13.0.tar.gz
  • Upload date:
  • Size: 226.6 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for annoworkcli-3.13.0.tar.gz
Algorithm Hash digest
SHA256 41c85c1e8f232b3244c46afa4a482bddd95267564341e774627937da76a6bccd
MD5 121c27999c1ceb59c835577deec8605c
BLAKE2b-256 b75c0362b9abca61e9b79e75eaa60ed5ee9eec84feaa667e8a91b644bd73a4b9

See more details on using hashes here.

File details

Details for the file annoworkcli-3.13.0-py3-none-any.whl.

File metadata

  • Download URL: annoworkcli-3.13.0-py3-none-any.whl
  • Upload date:
  • Size: 117.3 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for annoworkcli-3.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1f7ebbdf4006b21c0fa0a0446eef8eed7bc366dde910a2e00d469af5759fe3e
MD5 8298ff11feb326dc7113034ebd3e93f3
BLAKE2b-256 dce6ee5c520ec7253a46bf322e8ee376690543551c9b26d97f847bbc88dfc714

See more details on using hashes here.

Supported by

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