Utilities · zero-dependency · MIT

larzneows

A real client for NASA's live Near-Earth-Object tracking feed.

feed() and lookup() call NASA's actual NeoWs endpoint at api.nasa.gov and return real tracked-asteroid diameter, velocity and miss-distance figures for a given date - not a fixture, the same live data NASA itself serves. Works out of the box against the public DEMO_KEY (rate-limited but real, no signup); pass your own key for production use.

larzscript pkg install neows
View on GitHub →Learn the stack

What you get

Try it

import "neows" as neows
import "time" as time

let today = time.today()
let objects = neows.feed(today, today)
print(today, "-", len(objects), "tracked close approaches")
for o in objects {
  print(o["name"], "-", round(o["velocity_km_s"], 2), "km/s,", int(o["miss_distance_km"]), "km miss distance, hazardous:", o["hazardous"])
}
Output
2026-08-02 - 3 tracked close approaches
(2015 ME131) - 19.55 km/s, 37601766 km miss distance, hazardous: true
(2019 QK7) - 8.26 km/s, 12290017 km miss distance, hazardous: false
(2020 RX8) - 19.55 km/s, 37691801 km miss distance, hazardous: true

Why it's in the Larz Stack

larzneows is a real Larzscript package (larzscript pkg install neows) - money-native, zero dependencies, the same language as the rest of the estate, not a separate Python runtime. It composes with the rest of the Larz Stack and the Larz framework.