Skip to main content

Astro Tasks

PyPI version Python Downloads License: MIT GitHub stars

Pre-flight checklist for developers. One command to check GitHub status, coding stats, and local repo health before starting work.

Astro Tasks

Features

  • GitHub notifications + open PRs via gh CLI
  • Coding stats from WakaTime (last 7 days, top projects, languages)
  • Local repo health scan (dirty branches, unpushed commits)

Quick Start

pip install astro-tasks
astro check

Commands

Command Description
astro check Full dashboard: GitHub notifications, open PRs, coding stats, repo health
astro check --json Same info as JSON (for piping into other tools)
astro scan Scan local repos for dirty branches and unpushed commits
astro log Show coding stats from WakaTime (last 7 days)
astro config Show current configuration (WakaTime, GitHub auth, tracked repos)
astro --version Print version

Example

>>> ASTRO TASKS <<<
  pre-flight checklist

  [*] GitHub Status
  ------------------------------------------
    [+] Unread notifications: 3
    [+] Open PRs: 1

  [*] Coding Stats (Last 7 Days)
  ------------------------------------------
    [+] Total time: 40 hrs 12 mins
    [+] Daily average: 10 hrs 4 mins
    [+] Active days: 4

  [*] Top Projects
  ------------------------------------------
    [+]   react-hooks: 11 hrs 39 mins
    [+]   TheCoderBros-Website: 10 hrs 23 mins

  [*] Languages
  ------------------------------------------
    [+]   TypeScript: 35 hrs 12 mins
    [+]   Python: 7 hrs 53 mins

  [*] Local Repo Scan
  ------------------------------------------
    [+] cli-tool: branch: main
    [!] 3ni8ma: branch: main | 2 unpushed

astro scan — repos only, no API calls:

  [*] Local Repo Scan
  ------------------------------------------
    [+] 3ni8ma: branch: main | dirty
    [+] cli-tool: branch: main | dirty
    [+] TheCoderBros-Website: branch: main
    [+] aarushkarak-website: branch: main
    [+] react-hooks: branch: main
    [+] tailwind-plugin: branch: main | dirty
    [+] vite-plugin: branch: main | dirty
    [+] astro-tasks: branch: main

astro check --json — same data, machine-readable (truncated):

{
  "github": {
    "unread_notifications": 3,
    "open_prs_count": 1,
    "open_prs": [
      {"number": 1, "title": "...", "headRefName": "feat", "baseRefName": "main"}
    ],
    "errors": {"notifications": null, "prs": null}
  },
  "coding_stats": {"human_readable_total": "40 hrs 12 mins"},
  "coding_stats_error": null,
  "repos": [
    {"name": "astro-tasks", "branch": "main", "unpushed": 0, "dirty": false, "error": null}
  ]
}

Requirements

  • Python 3.8+
  • gh CLI authenticated (gh auth status)
  • WakaTime config at ~/.wakatime.cfg

License

MIT

Metadata

Release files for astro-tasks 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for astro-tasks 0.2.2
File Size Uploaded
astro_tasks-0.2.2.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for astro-tasks 0.2.2
File Interpreter ABI Platform
astro_tasks-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 19.0 kB

Release files / astro_tasks-0.2.2.tar.gz

Download URL astro_tasks-0.2.2.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3a436eab713d5e70948f469f925186884b26b07f27138a6be557762f7429f96c
BLAKE2b-256 checksum
How to use checksums
6024745fdcd4664bdea7daa7d3bef7e15ef33c6fccd30020750dbbef07affff9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / astro_tasks-0.2.2-py3-none-any.whl

Download URL astro_tasks-0.2.2-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec27ccb6c71894935db45784b7e4f99fc00ab79e2bf1e49518db69307d4053d4
BLAKE2b-256 checksum
How to use checksums
3eebae121a53e127e66c968d8b035d534f3c9f89fffc365f712769e31b844327
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

0.2.3

2 release files

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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