Skip to content

This project fetches Near-Earth Object (NEO) data from NASA's API and stores it into a PostgreSQL database. It includes scripts for fetching data, inserting/updating the database, validating data consistency, and logging pipeline activities.

Notifications You must be signed in to change notification settings

SHARATH00/NASA_NeoWs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEO Data Pipeline

Overview

This project fetches Near-Earth Object (NEO) data from NASA's API and stores it into a PostgreSQL database.

Structure

  • config.py: API keys and database credentials.
  • fetch_data.py: Fetches data from NASA API.
  • database.py: Inserts/updates data into the database.
  • data_checks.py: Validates data consistency.
  • logger.py: Logs pipeline activities.
  • main.py: Orchestrates the entire pipeline.

Requirements

  • Python 3.x
  • PostgreSQL
  • Required Python libraries: requests, pg8000, logging

How to Run

  1. Update config.py with your API key and database credentials.
  2. Set up the database using provided schema.
  3. Run the pipeline:
    python main.py

About

This project fetches Near-Earth Object (NEO) data from NASA's API and stores it into a PostgreSQL database. It includes scripts for fetching data, inserting/updating the database, validating data consistency, and logging pipeline activities.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages