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.7.tar.gz (14.6 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.7-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: astrolab_cli-1.0.7.tar.gz
  • Upload date:
  • Size: 14.6 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.7.tar.gz
Algorithm Hash digest
SHA256 53dd4b87641c6df9acad971e4e1a755ab22bf6de25f560fb41611683042d0014
MD5 000d8462eeaee45de03ea041842d2b4b
BLAKE2b-256 6bd39290ce32f6f73e3096cbf9f29e8474cc887616ef87f3e17cf7c2363e1568

See more details on using hashes here.

Provenance

The following attestation bundles were made for astrolab_cli-1.0.7.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.7-py3-none-any.whl.

File metadata

  • Download URL: astrolab_cli-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 15.7 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ff8f6e8500a06420bb41d0f38acb3c348c4359563bf89ffb9f12f81fa3a001cb
MD5 3960947b42ad28563c89b3b309ea9b3a
BLAKE2b-256 738d9d03e6e1579d5b4fb4a19bf654099a76c418b629d85d23ac6950e08eccdb

See more details on using hashes here.

Provenance

The following attestation bundles were made for astrolab_cli-1.0.7-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