{"id":16132872,"url":"https://github.com/dashroshan/data-extractor","last_synced_at":"2025-04-06T15:16:10.991Z","repository":{"id":176096769,"uuid":"654981980","full_name":"dashroshan/data-extractor","owner":"dashroshan","description":"Extract and download key-value pairs, tables, and paragraphs from your scanned pdf, jpg, and png documents as CSV files.","archived":false,"fork":false,"pushed_at":"2023-06-17T14:39:33.000Z","size":515,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T21:17:32.763Z","etag":null,"topics":["document-extraction","form-analysis","key-value-pairs","ocr-python","table-extraction"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dashroshan.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":"2023-06-17T14:16:45.000Z","updated_at":"2024-09-24T04:24:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"63e87b62-a7eb-41c7-9962-1a989318bcac","html_url":"https://github.com/dashroshan/data-extractor","commit_stats":null,"previous_names":["roshan1337d/data-extractor","dashroshan/data-extractor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashroshan%2Fdata-extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashroshan%2Fdata-extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashroshan%2Fdata-extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashroshan%2Fdata-extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dashroshan","download_url":"https://codeload.github.com/dashroshan/data-extractor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247500476,"owners_count":20948880,"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":["document-extraction","form-analysis","key-value-pairs","ocr-python","table-extraction"],"created_at":"2024-10-09T22:34:59.168Z","updated_at":"2025-04-06T15:16:10.957Z","avatar_url":"https://github.com/dashroshan.png","language":"JavaScript","readme":"# Data Extractor\n\nExtract and download key-value pairs, tables, and paragraphs from your scanned pdf, jpg, and png documents as CSV files.\n\n## Tech stack\n\n| Technology                 | Used for                      |\n| -------------------------- | ----------------------------- |\n| Flask                      | Backend                       |\n| React + Tailwind + DaisyUI | Frontend                      |\n| Azure FormRecognizer       | Extracting data from document |\n| Azure BlobStorage          | Storing uploaded documents    |\n\n## Usage (as a webapp)\n\n1. Run `npm i` in frontend folder followed by `npm run build`\n2. Run `pip install -r requirements.txt` in root folder\n3. Create a `.env` file with the below content:\n\nCreate a Azure FormRecognizer service and copy the `Endpoint` and `KEY1` from `Keys and Endpoint`. These will be the ENDPOINT and KEY respectively. Next create an azure storage account, and create a container in it. Go to `Shared access tokens` and click `Generate SAS token and URL`. Copy the `Blod SAS URL`. The part to the left of `?` goes in `BLOB_ENDPOINT` and the part to the right goes in `BLOB_QUERY`\n\n```\nENDPOINT = \"https://xyz.cognitiveservices.azure.com\"\nKEY = \"12345something\"\nBLOB_ENDPOINT = \"https://xyz.blob.core.windows.net/containerName/\"\nBLOB_QUERY = \"?xyz=xyz\u0026xyz=xyz...\"\n```\n\n4. Run with `py main.py`\n\n## Usage (as a script)\n\nRun `py extract.py -i \"input/file/path.pdf\" -o \"output/file/path.csv\"`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashroshan%2Fdata-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashroshan%2Fdata-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashroshan%2Fdata-extractor/lists"}