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

Uploaded Python 3

File details

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

File metadata

  • Download URL: astrolab_cli-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 9dacc22886beaaaad58f167fe68be42cd5eea4023c6741a8727b1a4780042023
MD5 491dad7603031025d85217ae11e8d936
BLAKE2b-256 ca8813505c2aa0ede9f17e209aed8d21f3580b664f801944d4c9d381f7014273

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: astrolab_cli-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1feb4ade55cb70e4b574d1a2ff9cf9c07fd400883e68f2876c2e793fc413e8c5
MD5 83c37330e0b568afea5d439f97a0f2f4
BLAKE2b-256 8f54a0dffe7ea72dda7937e1c3b323270c6e7abe8262b5a3d8fc9208d5f93287

See more details on using hashes here.

Provenance

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