Astro Tasks
Pre-flight checklist for developers. One command to check GitHub status, coding stats, and local repo health before starting work.
Features
- GitHub notifications + open PRs via
ghCLI - 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+
ghCLI authenticated (gh auth status)- WakaTime API key in
~/.wakatime.cfg(api_urloptional — defaults tohttps://wakatime.com/api/v1)
Configuration
Out of the box astro-tasks tracks a built-in repo list. To make it yours,
create ~/.config/astro-tasks/config.json:
{
"github_user": "octocat",
"machine_name": "My-Mac",
"repos": [
{"name": "demo", "dir": "~/code/demo"}
]
}
All fields are optional — anything missing falls back to the built-ins. Environment variables override everything:
| Variable | Overrides |
|---|---|
ASTRO_GITHUB_USER |
github_user |
ASTRO_MACHINE_NAME |
machine_name |
Run astro config to see which sources are active.
License
MIT
Metadata
Release files for astro-tasks 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| astro_tasks-0.2.3.tar.gz | 12.0 kB | Without provenance | Details for astro_tasks-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| astro_tasks-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for astro_tasks-0.2.3-py3-none-any.whl |
Total release size: 22.8 kB
Release files / astro_tasks-0.2.3.tar.gz
| Download URL | astro_tasks-0.2.3.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bcd7184d7b157d68aa6ec792a45798370268b96a7821da02286e50a9aef93102
|
|
BLAKE2b-256 checksum How to use checksums |
fa6166823e2004221d5392879531cbfdf2778cbac9457d6eb37266b89f22c3bf
|
| 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.3-py3-none-any.whl
| Download URL | astro_tasks-0.2.3-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf8a74795c3be9db7d67853c4d0a3278e960aa80e3c22955d193de67eba90751
|
|
BLAKE2b-256 checksum How to use checksums |
40f6fbfee005a778bff8ff5b7a0d80ec09c521b8c75e02519d70d0ce6eab428f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for astro-tasks 0.2.3
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.