{"id":37069718,"url":"https://github.com/philgooch/pdftable","last_synced_at":"2026-01-14T08:01:36.307Z","repository":{"id":57463311,"uuid":"108897614","full_name":"philgooch/pdftable","owner":"philgooch","description":"A fork of Kyle Cronan's Python 2.5 pdftable library, now updated for Python 3","archived":false,"fork":true,"pushed_at":"2017-11-04T16:07:36.000Z","size":39,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-10-20T12:44:44.788Z","etag":null,"topics":["csv","pdf","python","python3-library","table-extraction","textmining"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jeremyjbowers/pdftable","license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philgooch.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":"2017-10-30T19:19:41.000Z","updated_at":"2018-06-14T17:44:48.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/philgooch/pdftable","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/philgooch/pdftable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philgooch%2Fpdftable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philgooch%2Fpdftable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philgooch%2Fpdftable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philgooch%2Fpdftable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philgooch","download_url":"https://codeload.github.com/philgooch/pdftable/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philgooch%2Fpdftable/sbom","scorecard":{"id":731208,"data":{"date":"2025-08-11","repo":{"name":"github.com/philgooch/pdftable","commit":"f8f7243b30012513deb3ed20111e2d17db1ee46a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/4 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":"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":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"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":"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":"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":"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"}},{"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: 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 'develop'"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T14:28:43.322Z","repository_id":57463311,"created_at":"2025-08-22T14:28:43.322Z","updated_at":"2025-08-22T14:28:43.322Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["csv","pdf","python","python3-library","table-extraction","textmining"],"created_at":"2026-01-14T08:01:35.549Z","updated_at":"2026-01-14T08:01:36.299Z","avatar_url":"https://github.com/philgooch.png","language":"Python","readme":"# PDF Tablr\n\nVersion: 0.1.0  [![Build Status](https://travis-ci.org/philgooch/pdftable.svg)](https://travis-ci.org/philgooch/pdftable/)\n\n\nThis is a Python 3 module and command line utility that analyzes XML output from the\nprogram `pdftohtml` in order to extract tables from PDF files and output the data as CSV.\n\nFor example:\n\n    pdftohtml -xml -stdout file.pdf | pdftable -f file%d.csv\n\nSee also `pdftable -h` and http://sourceforge.net/projects/pdftable\n\nOriginal author: (c) 2009 Kyle Cronan \u003ckyle@pbx.org\u003e\n\nThis Python 3 implementation: (c) 2017 Phil Gooch\n\nAs per Kyle's code, this version is licensed under GPLv3. See LICENSE file.\n\n# Installation\n\nInstall `pdftohtml` via `poppler-utils` (Linux) or `poppler` (Mac OSX)\n\nThen install the module\n\n    python setup.py install\n    \nor\n\n    pip install pdftablr\n\n    \n## Command line usage\n\nExtract each table into a separate CSV file:\n\n    pdftohtml -xml -stdout file.pdf | pdftable -f file%d.csv\n    \nExtract all tabular data into a single CSV file:\n\n    pdftohtml -xml -stdout file.pdf | pdftable -f file.csv\n    \n## Module usage\n    \n    from pdftablr.table_extractor import Extractor\n\n    # XML file created from pdftohtml\n    input_path = '/path/to/file.xml'\n    \n    # Output CSV file\n    output_path = '/path/to/output.csv'\n    \n    with open(output_path, 'w') as output_file:\n        table_extractor = Extractor(output_file=output_file)\n    \n        with open(input_path) as f:\n            table_extractor.read_file(f)\n        \n        tables = table_extractor.extract()\n        for table in tables:\n            table.output(writer=None)\n\n            \n# TODO\n- Investigate why Table.columns is sometimes initialised with empty columns\n- Refactor all the file handling\n- Execute pdftohtml within the code to allow PDF input\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilgooch%2Fpdftable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilgooch%2Fpdftable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilgooch%2Fpdftable/lists"}