{"id":25911426,"url":"https://github.com/copyleftdev/table_extractor_api","last_synced_at":"2025-06-30T13:38:16.222Z","repository":{"id":244548933,"uuid":"815570030","full_name":"copyleftdev/table_extractor_api","owner":"copyleftdev","description":"A FastAPI-based service for extracting tables from PDF files. The service supports extracting tables, rate limiting, and retrieving previously processed results.","archived":false,"fork":false,"pushed_at":"2024-06-18T18:32:22.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-18T23:48:34.767Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/copyleftdev.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,"publiccode":null,"codemeta":null}},"created_at":"2024-06-15T13:55:19.000Z","updated_at":"2024-06-18T18:32:24.000Z","dependencies_parsed_at":"2024-06-15T15:22:56.998Z","dependency_job_id":"ef05a70b-9297-4e4f-a1c4-dc50006e1f2a","html_url":"https://github.com/copyleftdev/table_extractor_api","commit_stats":null,"previous_names":["copyleftdev/table_extractor_api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Ftable_extractor_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Ftable_extractor_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Ftable_extractor_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Ftable_extractor_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/copyleftdev","download_url":"https://codeload.github.com/copyleftdev/table_extractor_api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241637272,"owners_count":19994946,"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":[],"created_at":"2025-03-03T09:17:30.233Z","updated_at":"2025-03-03T09:17:30.778Z","avatar_url":"https://github.com/copyleftdev.png","language":"Python","readme":"# table_extractor_api\n\n[![GitHub issues](https://img.shields.io/github/issues/copyleftdev/table_extractor_api)](https://github.com/copyleftdev/table_extractor_api/issues)\n[![GitHub forks](https://img.shields.io/github/forks/copyleftdev/table_extractor_api)](https://github.com/copyleftdev/table_extractor_api/network)\n[![GitHub stars](https://img.shields.io/github/stars/copyleftdev/table_extractor_api)](https://github.com/copyleftdev/table_extractor_api/stargazers)\n[![GitHub license](https://img.shields.io/github/license/copyleftdev/table_extractor_api)](https://github.com/copyleftdev/table_extractor_api/blob/main/LICENSE)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/copyleftdev/table_extractor_api/ci.yml)](https://github.com/copyleftdev/table_extractor_api/actions)\n![Python](https://img.shields.io/badge/python-3.12-blue)\n![FastAPI](https://img.shields.io/badge/fastapi-0.95.2-green)\n![Docker](https://img.shields.io/badge/docker-20.10.7-blue)\n![Redis](https://img.shields.io/badge/redis-6.2.6-red)\n\n## Table Extractor API\n\nA FastAPI-based service for extracting tables from PDF files. The service supports extracting tables, rate limiting, and retrieving previously processed results.\n\n## Features\n\n- Extract tables from PDF files.\n- Rate limiting to prevent abuse.\n- Retrieve previously processed results.\n- Support for uploading multiple files with pagination (TODO).\n- OAuth2 authentication (TODO).\n\n## Getting Started\n\n### Prerequisites\n\n- Docker\n- Docker Compose\n\n### Installation\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/copyleftdev/table_extractor_api.git\n    cd table_extractor_api\n    ```\n\n2. Build and start the Docker containers:\n    ```bash\n    docker-compose up --build\n    ```\n\n### API Endpoints\n\n#### Extract Tables from PDF\n\n```bash\ncurl -X 'POST' \\\n  'http://localhost:8000/extract_tables' \\\n  -H 'accept: application/json' \\\n  -H 'Content-Type: multipart/form-data' \\\n  -F 'file=@/path/to/your/file.pdf'\n```\n\n#### Retrieve Extraction Result by ID\n\n```bash\ncurl -X 'GET' \\\n  'http://localhost:8000/result/{result_id}' \\\n  -H 'accept: application/json'\n```\n\n### Development\n\n1. Install dependencies:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n2. Run the development server:\n    ```bash\n    uvicorn app.api:app --reload\n    ```\n\n\n## Technology Stack\n\n![Python](https://img.shields.io/badge/python-3.12-blue)\n![FastAPI](https://img.shields.io/badge/fastapi-0.95.2-green)\n![Docker](https://img.shields.io/badge/docker-20.10.7-blue)\n![Redis](https://img.shields.io/badge/redis-6.2.6-red)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopyleftdev%2Ftable_extractor_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcopyleftdev%2Ftable_extractor_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopyleftdev%2Ftable_extractor_api/lists"}