{"id":25959468,"url":"https://github.com/vbalalian/roman_coins_data_pipeline","last_synced_at":"2026-04-09T18:47:01.896Z","repository":{"id":205406539,"uuid":"713698546","full_name":"vbalalian/roman_coins_data_pipeline","owner":"vbalalian","description":"Work-in-progress, learning-focused, end-to-end ELT data pipeline project.","archived":false,"fork":false,"pushed_at":"2024-03-05T02:55:11.000Z","size":3846,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-03-05T22:45:49.665Z","etag":null,"topics":["airbyte","api","beautifulsoup","cicd","coins","dagster","data-engineering","data-pipeline","docker","docker-compose","duckdb","elt","fastapi","minio","postgresql","python","rest-api","sql","web-scraping","webscraping"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vbalalian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-11-03T03:54:56.000Z","updated_at":"2024-03-05T02:55:35.000Z","dependencies_parsed_at":"2023-11-28T23:31:22.025Z","dependency_job_id":"4fe014ae-72bb-4a1d-ba1c-3565daa85188","html_url":"https://github.com/vbalalian/roman_coins_data_pipeline","commit_stats":null,"previous_names":["vbalalian/romancoins","vbalalian/roman_coins_data_pipeline"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbalalian%2Froman_coins_data_pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbalalian%2Froman_coins_data_pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbalalian%2Froman_coins_data_pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbalalian%2Froman_coins_data_pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vbalalian","download_url":"https://codeload.github.com/vbalalian/roman_coins_data_pipeline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241903129,"owners_count":20039885,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["airbyte","api","beautifulsoup","cicd","coins","dagster","data-engineering","data-pipeline","docker","docker-compose","duckdb","elt","fastapi","minio","postgresql","python","rest-api","sql","web-scraping","webscraping"],"created_at":"2025-03-04T18:37:42.860Z","updated_at":"2026-04-09T18:46:56.841Z","avatar_url":"https://github.com/vbalalian.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![roman_counting_coins](https://github.com/vbalalian/RomanCoins/assets/120220346/d52d3ba8-1f29-488a-82ec-9de71460daaa)\r\n\r\n# Roman Coins\r\n## End-to-end ELT pipeline project\r\n[![Continuous Integration](https://github.com/vbalalian/RomanCoins/actions/workflows/ci.yml/badge.svg)](https://github.com/vbalalian/RomanCoins/actions/workflows/ci.yml)\r\n\r\nExtracting, Loading, and Transforming data on Roman Coins gathered from wildwinds.com\r\n\r\n**Tools:** Python, PostgreSQL, Docker, FastAPI, Airbyte, MinIO, Dagster, DuckDB, dbt\r\n\r\n### [Web Scraper](web_scraping/web_scraper.py)\r\n\r\nScrapes data on coins from the Roman Empire from wildwinds.com, and loads the data into a postgres server. Due to the required 30-second delay between page requests, scraping takes several hours to complete; the data is loaded into the server as it arrives.\r\n\r\n### [API](api/main.py)\r\n\r\nServes data from the roman coins dataset, and allows data addition and manipulation via POST, PUT, and PATCH endpoints. Data is continuously added during web scraping. \r\n\r\n### [Airbyte](extract-load-transform/airbyte-api-minio-connection/airbyte_connection_config.py)\r\n\r\n[Custom airbyte connector](extract-load-transform/custom-airbyte-connector/source_roman_coin_api/source.py) streams incremental data from the API to a standalone MinIO bucket.\r\n\r\n### [MinIO](https://min.io)\r\n\r\nResilient storage for the incoming data stream. Data is replicated [\"at least once\"](https://docs.airbyte.com/using-airbyte/core-concepts/sync-modes/incremental-append-deduped#inclusive-cursors) by Airbyte, so some duplicated data is acceptable at this stage. Deduplication will be easily handled by dbt at the next stage of the pipeline.\r\n\r\n### [Dagster](orchestration/orchestration)\r\n\r\n[Sensors](extract-load-transform/orchestration/orchestration/sensors/__init__.py) trigger Airbyte syncs and DuckDB loads on a minute-by-minute basis.\r\n\r\n### [DuckDB](https://duckdb.org/)\r\n\r\nLocal data warehouse.\r\n\r\n### [dbt](https://docs.getdbt.com/docs/introduction)\r\n\r\nTransforms data within the data warehouse.\r\n\r\n## Requirements:\r\n\r\n[Docker](https://docs.docker.com/engine/install/)\\\r\n[Docker Compose](https://docs.docker.com/compose/install/)\\\r\n[Airbyte](https://docs.airbyte.com/deploying-airbyte/local-deployment)\r\n\r\n## To Run:\r\n\r\n**Step 1:** Ensure Docker and Airbyte are both up and running.\r\n\r\n**Step 2: (Optional)** Set preferred credentials/variables in project .env file\r\n\r\n**Step 3:** Run the following terminal commands:\r\n```\r\ngit clone https://github.com/vbalalian/roman_coins_data_pipeline.git\r\ncd roman_coins_data_pipeline\r\ndocker compose up\r\n```\r\nThis will run the web scraper, the API, MinIO, and [Dagster](https://dagster.io); then build the custom Airbyte connector, configure the API-Airbyte-Minio connection, and trigger Airbyte syncs and DuckDB load jobs automatically using sensors.\r\n\r\n- View the web_scraper container logs in Docker to follow the progress of the Web Scraping\r\n\r\n- Access the API directly at http://localhost:8010, or interact with the different endpoints at http://localhost:8010/docs\r\n\r\n- Access the Airbyte UI at http://localhost:8000\r\n\r\n- Access the MinIO Console at http://localhost:9090\r\n\r\n- Access the Dagster UI at http://localhost:3000\r\n\r\n- At the moment, duckdb access is limited to docker exec commands on one of the dagster services with access to the duckdb volume.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbalalian%2Froman_coins_data_pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvbalalian%2Froman_coins_data_pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbalalian%2Froman_coins_data_pipeline/lists"}