Skip to main content

AstroLab: A Space-themed study CLI tool using real NASA data and Google Gemini AI.

Project description

AstroLab

This isn't a "polished corporate" project. I built this because I’m a Computer Engineering freshman with a 10km commute. Most of this code was written on a crowded bus, holding a handrail with one hand and typing on my phone with the other.

I used Firebase Studio (web-based) and the Unexpected Keyboard app to get actual Ctrl, Tab, and Arrow keys on Android. If the code looks structured, it’s because I spent hours auditing what the AI suggested, fixing broken ANSI escape sequences, and fighting JSON mocks when my API quota ran out.

Why I built this

I needed a way to study Astronomy and Physics during the gaps between classes or on the bus.

  • NASA APOD: Something new to learn every day.
  • CLI First: No heavy web pages. Just the terminal.
  • Spaced Repetition: Flashcards that actually work for my routine.

Tech Stack

  • Python + Rich: For the terminal interface (which is a pain to keep aligned).
  • Gemini 3 Flash: For generating the quizzes and flashcards.
  • NASA API: For real-world space data.
  • Smart Demo Mode: I pre-cached data in demo_cache.json because I know what it's like to have no signal or no API credits.

Installation

pip install astrolab-cli

Run it:

astrolab

Current State

It works. It’s modular. It’s what I use to study. If you find a bug, it’s probably because the bus hit a pothole while I was committing the code.

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

astrolab_cli-1.0.6.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

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

astrolab_cli-1.0.6-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file astrolab_cli-1.0.6.tar.gz.

File metadata

  • Download URL: astrolab_cli-1.0.6.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for astrolab_cli-1.0.6.tar.gz
Algorithm Hash digest
SHA256 8fc698137941473c4ff1dbec1925d5b319456b65980ea7e503e104061890cbc2
MD5 f85218246a9ee5cf4620ed7b655935e2
BLAKE2b-256 9cc4e3f7d4d1fecb4782df808237b5bd261eb74d36f2685d1c69749b853fffed

See more details on using hashes here.

Provenance

The following attestation bundles were made for astrolab_cli-1.0.6.tar.gz:

Publisher: ci.yml on EngThi/AstroLab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file astrolab_cli-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: astrolab_cli-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for astrolab_cli-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 48da5602cdad4a984657f289a9f3458f266bbc8723bde7f0a04f785ffeee18d6
MD5 59291fe28b3e4d4fb468e2d1c8467a52
BLAKE2b-256 081985b2ffd2389b3095dcfa111d4be988eebd8fa4490b8f50666afb10eff75e

See more details on using hashes here.

Provenance

The following attestation bundles were made for astrolab_cli-1.0.6-py3-none-any.whl:

Publisher: ci.yml on EngThi/AstroLab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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