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.4.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.4-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: astrolab_cli-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 857f902127627d791499931601079acc991cb8ab5e13085d8b868650473cba73
MD5 d7b7f564bd00c27c40f9b5fd99a45000
BLAKE2b-256 5ddc1d1940f82fe4da931f59fc38a3861cb2c6fccb932c716e119bb5e06aac0f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: astrolab_cli-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c9526336acd19be2c741a03cfffa9105f2d4a2c75a305ebd65349b145cbc5c14
MD5 786b3cb6a1946c8eaa9e078efefe0b35
BLAKE2b-256 281c6dcd6b2c859d925f05ce475ed76a7176b35752912c49dac00e47713de661

See more details on using hashes here.

Provenance

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