{"id":18664648,"url":"https://github.com/scionoftech/textgetter","last_synced_at":"2026-01-27T10:01:35.951Z","repository":{"id":57474665,"uuid":"203410136","full_name":"scionoftech/textgetter","owner":"scionoftech","description":"A python package for extracting text from PDF/TIF/JPG/PNG files","archived":false,"fork":false,"pushed_at":"2019-08-20T16:11:27.000Z","size":10411,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T07:54:17.787Z","etag":null,"topics":["pdf","poppler","tesseract-ocr","txt-extract"],"latest_commit_sha":null,"homepage":null,"language":"Roff","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scionoftech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-20T16:05:53.000Z","updated_at":"2019-08-20T16:09:06.000Z","dependencies_parsed_at":"2022-09-10T02:21:50.857Z","dependency_job_id":null,"html_url":"https://github.com/scionoftech/textgetter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/scionoftech/textgetter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scionoftech%2Ftextgetter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scionoftech%2Ftextgetter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scionoftech%2Ftextgetter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scionoftech%2Ftextgetter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scionoftech","download_url":"https://codeload.github.com/scionoftech/textgetter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scionoftech%2Ftextgetter/sbom","scorecard":{"id":804850,"data":{"date":"2025-08-11","repo":{"name":"github.com/scionoftech/textgetter","commit":"b105efe8e4d3e250e26634a765f985d35740854e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/2 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":0,"reason":"binaries present in source code","details":["Warn: binary detected: textgetter/poppler/bin/freetype6.dll:1","Warn: binary detected: textgetter/poppler/bin/jpeg62.dll:1","Warn: binary detected: textgetter/poppler/bin/libcairo-2.dll:1","Warn: binary detected: textgetter/poppler/bin/libexpat-1.dll:1","Warn: binary detected: textgetter/poppler/bin/libfontconfig-1.dll:1","Warn: binary detected: textgetter/poppler/bin/libgcc_s_dw2-1.dll:1","Warn: binary detected: textgetter/poppler/bin/libpixman-1-0.dll:1","Warn: binary detected: textgetter/poppler/bin/libpng16-16.dll:1","Warn: binary detected: textgetter/poppler/bin/libpoppler-79.dll:1","Warn: binary detected: textgetter/poppler/bin/libpoppler-cpp-0.dll:1","Warn: binary detected: textgetter/poppler/bin/libstdc++-6.dll:1","Warn: binary detected: textgetter/poppler/bin/libtiff3.dll:1","Warn: binary detected: textgetter/poppler/bin/pdfdetach.exe:1","Warn: binary detected: textgetter/poppler/bin/pdffonts.exe:1","Warn: binary detected: textgetter/poppler/bin/pdfimages.exe:1","Warn: binary detected: textgetter/poppler/bin/pdfinfo.exe:1","Warn: binary detected: textgetter/poppler/bin/pdfseparate.exe:1","Warn: binary detected: textgetter/poppler/bin/pdftocairo.exe:1","Warn: binary detected: textgetter/poppler/bin/pdftohtml.exe:1","Warn: binary detected: textgetter/poppler/bin/pdftoppm.exe:1","Warn: binary detected: textgetter/poppler/bin/pdftops.exe:1","Warn: binary detected: textgetter/poppler/bin/pdftotext.exe:1","Warn: binary detected: textgetter/poppler/bin/pdfunite.exe:1","Warn: binary detected: textgetter/poppler/bin/zlib1.dll:1","Warn: binary detected: textgetter/poppler/lib/libpoppler-cpp.dll.a:1","Warn: binary detected: textgetter/poppler/lib/libpoppler.dll.a:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}}]},"last_synced_at":"2025-08-23T11:29:28.640Z","repository_id":57474665,"created_at":"2025-08-23T11:29:28.640Z","updated_at":"2025-08-23T11:29:28.640Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28811495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["pdf","poppler","tesseract-ocr","txt-extract"],"created_at":"2024-11-07T08:24:23.802Z","updated_at":"2026-01-27T10:01:35.913Z","avatar_url":"https://github.com/scionoftech.png","language":"Roff","funding_links":[],"categories":[],"sub_categories":[],"readme":"# textgetter \n\n[textgetter v0.0.1](https://pypi.org/project/textgetter/)\n\nThis python package can be used for extracting text from PDF/TIF,jpg and png files.\n\n\n## How to use\n\n### get output as txt files \n\n```python\n\nfrom textgetter.gettxt import img_txt_extract\nfrom textgetter.gettxt import tif_txt_extract\nfrom textgetter.gettxt import pdf_txt_extract\n\nif __name__ == \"__main__\":\n    \n    # use img_txt_extract for extracting text from images like jpg,png etc\n    img_txt_extract('/home/user/test', '/home/user/output', ['jpeg','png'],ocr_path='C:\\\\Program Files (x86)\\\\Tesseract-OCR\\\\tesseract.exe',\n                    verbose=True)\n    # use tif_txt_extract for extracting text from tif files\n    tif_txt_extract('/home/user/test', '/home/user/output', verbose=True)\n    # use pdf_txt_extract for extracting text from pdf files\n    pdf_txt_extract('/home/user/test', '/home/user/output', verbose=True)\n\n```\n\n### get output as docx files \n\n```python\n\nfrom textgetter.getdocx import img_txt_extract\nfrom textgetter.getdocx import tif_txt_extract\nfrom textgetter.getdocx import pdf_txt_extract\n\nif __name__ == \"__main__\":\n\n    # use img_txt_extract for extracting text from images like jpg,png etc\n    img_txt_extract('/home/user/test', '/home/user/output', ['jpeg','png'], verbose=True)\n    # use tif_txt_extract for extracting text from tif files\n    tif_txt_extract('/home/user/test', '/home/user/output', ocr_path='C:\\\\Program Files (x86)\\\\Tesseract-OCR\\\\tesseract.exe',\n                    verbose=True)\n    # use pdf_txt_extract for extracting text from pdf files\n    pdf_txt_extract('/home/user/test', '/home/user/output', verbose=True)\n\n\n```\n### get output as csv files \n\n```python\n\nfrom textgetter.getcsv import img_txt_extract\nfrom textgetter.getcsv import tif_txt_extract\nfrom textgetter.getcsv import pdf_txt_extract\n\nif __name__ == \"__main__\":\n\n   # use img_txt_extract for extracting text from images like jpg,png etc\n    img_txt_extract('/home/user/test', '/home/user/output', ['jpeg','png'], verbose=True)\n    # use tif_txt_extract for extracting text from tif files\n    tif_txt_extract('/home/user/test', '/home/user/output', verbose=True)\n    # use pdf_txt_extract for extracting text from pdf files\n    pdf_txt_extract('/home/user/test', '/home/user/output', ocr_path='C:\\\\Program Files (x86)\\\\Tesseract-OCR\\\\tesseract.exe',\n                    verbose=True)\n\n\n```\n### get output as excel files \n\n```python\n\nfrom textgetter.getexcel import img_txt_extract\nfrom textgetter.getexcel import tif_txt_extract\nfrom textgetter.getexcel import pdf_txt_extract\n\nif __name__ == \"__main__\":\n\n    # use img_txt_extract for extracting text from images like jpg,png etc\n    img_txt_extract('/home/user/test', '/home/user/output', ['jpeg','png'], verbose=True)\n    # use tif_txt_extract for extracting text from tif files\n    tif_txt_extract('/home/user/test', '/home/user/output', verbose=True)\n    # use pdf_txt_extract for extracting text from pdf files\n    pdf_txt_extract('/home/user/test', '/home/user/output', verbose=True)\n\n\n```\n\n## Arguments \n\n#### img_txt_extract\n\n* input_files_path - folder path for input files e.g., '/home/user/test'\n* output_files_path - folder path for output files e.g., '/home/user/output'\n* file_extensions - list of file extensions from input folder e.g., ['jpeg','png']\n* ocr_path - path of tesseract ocr (Windows only) defualte.g., 'C:\\\\Program Files (x86)\\\\Tesseract-OCR\\\\tesseract.exe' , if linux ignore this argument\n* verbose - for printing logs e.g., True/False\\\n\n#### tif_txt_extract and pdf_txt_extract\n\n* input_files_path - folder path for input files e.g., '/home/user/test'\n* output_files_path - folder path for output files e.g., '/home/user/output'\n* ocr_path - path of tesseract ocr (Windows only) e.g., 'C:\\\\Program Files (x86)\\\\Tesseract-OCR\\\\tesseract.exe', if linux ignore this argument\n* verbose - for printing logs e.g., True/False\n\n\n## Requirements\n\nThis package uses poppler for reading pdf files, for windows platform poppler is included in the package but for linux we have to install it manually.\n\n### How to install poppler\n\nWe can download poppler from [poppler](https://poppler.freedesktop.org/) \n\nOR\n\nWe can install poppler using below command \n\n```\nsudo apt-get install python-poppler\n```\n### How to install tesseract ocr\n\nThis package uses tesseract for extracting text from files, we have to install it manually for both windows and linux platforms.\n\nUse this [link](https://digi.bib.uni-mannheim.de/tesseract/) to install tesseract ocr for Windows OS\n\nUse below command for Linux OS\n\n```\nsudo apt install tesseract-ocr\nsudo apt install libtesseract-dev\n```\n\n### Installation\n\n```shell\n$ pip install textgetter\n```\n\n### License\n\n  [MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscionoftech%2Ftextgetter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscionoftech%2Ftextgetter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscionoftech%2Ftextgetter/lists"}