Skip to main content

A modern CLI for interacting with Asana

Project description

py-asana-cli

A modern command-line interface for Asana.

Install

pip install py-asana-cli

Or with uv:

uv tool install py-asana-cli

Authentication

Get a Personal Access Token from Asana Developer Console.

# Option 1: Save to config file
asana config set-token YOUR_TOKEN

# Option 2: Environment variable
export ASANA_TOKEN=YOUR_TOKEN

Quick Start

# See your user info
asana users me

# List workspaces and set default
asana workspaces list
asana workspaces select

# List projects
asana projects list

# List tasks in a project
asana tasks list -p PROJECT_GID

# Create a task
asana tasks create "My task" -p PROJECT_GID

# Complete a task
asana tasks complete TASK_GID

# JSON output for scripting
asana tasks list -p PROJECT_GID -o json

Commands

asana config      - Manage configuration (set-token, show)
asana workspaces  - List and select workspaces
asana projects    - List projects, get details
asana tasks       - Create, list, update, complete, delete tasks
asana sections    - List sections and their tasks
asana users       - Get user info

Run asana --help or asana <command> --help for details.

License

MIT

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

py_asana_cli-0.1.0.tar.gz (50.7 kB view details)

Uploaded Source

Built Distribution

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

py_asana_cli-0.1.0-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file py_asana_cli-0.1.0.tar.gz.

File metadata

  • Download URL: py_asana_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 50.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for py_asana_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 820ffe230b88a6079dfba1a32a2dab474b90199f21aecca10d508acc71218681
MD5 3808132cbab6bf726dfcffee7fb855e6
BLAKE2b-256 d453d193114627666d95dd875852ce6b730089d0091b489294e611c04fcb8370

See more details on using hashes here.

File details

Details for the file py_asana_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for py_asana_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63498daf433023743e56cc0ed15191a445047a79f5dc5f349b8268a0ff84f245
MD5 cc616a7bf20183e6b93eefc1d7781a61
BLAKE2b-256 745be513196d3f5ee11b7c7cd5450e17417ee63efa873ecbc8d0201d996a9dd9

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