8000 GitHub - saccini/data-downloader: Downloads and extracts CSV files data from URLs.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

saccini/data-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Divvy Trip Data Downloader

This project downloads and extracts Divvy trip data CSV files using Python. It's fully containerized using Docker for consistent, reproducible execution.


🚀 How to Run (Using Docker)

1. Clone the Repository

If you haven’t already:

git clone https://github.com/saccini/data-downloader.git

2. Build and Run the Project

Use Docker Compose:

docker-compose up --build

This will:

  • Build the Docker image
  • Run main.py inside the container
  • Download and extract CSVs into downloads/ folder

3. Output

Extracted .csv files will appear in the downloads/ folder (ignored by Git).

🐳 Project Structure

data-downloader/
├── main.py              # Main Python script
├── requirements.txt     # Python dependencies
├── Dockerfile           # Docker build instructions
├── docker-compose.yml   # Docker Compose setup
├── .gitignore           # Excludes downloads and more
├── .dockerignore        # Optimizes Docker build
├── downloads/           # Downloaded CSVs (auto-generated)
└── README.md            # You're here!

📦 Dependencies

All Python dependencies are listed in requirements.txt. These are installed inside the Docker container automatically.

🧼 Clean Up

To stop the container:

docker-compose down

To delete downloaded files (optional):

rm -rf downloads/

💡 Notes

Invalid or broken URLs are handled gracefully with error messages. Make sure Docker and Docker Compose are installed on your system.

About

Downloads and extracts CSV files data from URLs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0