{"id":34048739,"url":"https://github.com/ivbeg/docx2csv","last_synced_at":"2026-04-07T15:32:38.811Z","repository":{"id":44998862,"uuid":"65392984","full_name":"ivbeg/docx2csv","owner":"ivbeg","description":"Extracts tables from .docx files and saves them as .csv or .xls files","archived":false,"fork":false,"pushed_at":"2023-10-11T12:07:05.000Z","size":251,"stargazers_count":65,"open_issues_count":5,"forks_count":14,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-11-03T01:19:32.249Z","etag":null,"topics":["csv","docx","extract-tables","parsing","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ivbeg.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-08-10T15:15:17.000Z","updated_at":"2025-10-30T19:50:14.000Z","dependencies_parsed_at":"2022-08-12T11:40:40.591Z","dependency_job_id":null,"html_url":"https://github.com/ivbeg/docx2csv","commit_stats":{"total_commits":24,"total_committers":5,"mean_commits":4.8,"dds":"0.33333333333333337","last_synced_commit":"8a6767b5599f6f368d46a317c24fe7234c90950b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ivbeg/docx2csv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivbeg%2Fdocx2csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivbeg%2Fdocx2csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivbeg%2Fdocx2csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivbeg%2Fdocx2csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivbeg","download_url":"https://codeload.github.com/ivbeg/docx2csv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivbeg%2Fdocx2csv/sbom","scorecard":{"id":498366,"data":{"date":"2025-08-11","repo":{"name":"github.com/ivbeg/docx2csv","commit":"f0c0231876e2ab1210865ded80e4d6105816b0a3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"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":"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":"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":"Code-Review","score":2,"reason":"Found 6/23 approved changesets -- score normalized to 2","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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" 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":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: PYSEC-2022-43012 / GHSA-r9hx-vwmv-q579"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 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-19T21:08:18.323Z","repository_id":44998862,"created_at":"2025-08-19T21:08:18.323Z","updated_at":"2025-08-19T21:08:18.323Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31518547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"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","docx","extract-tables","parsing","python"],"created_at":"2025-12-14T00:10:53.270Z","updated_at":"2026-04-07T15:32:38.805Z","avatar_url":"https://github.com/ivbeg.png","language":"Python","readme":"============\nCommand line\n============\n\nUsage: docx2csv extract [OPTIONS] FILENAME\n\n  docx to csv convertor (http://github.com/ivbeg/docx2csv)\n  Extracts tables from DOCX files as CSV or XLSX.\n\n  Use command: \"docx2csv convert \u003cfilename\u003e\" to run extraction. It will\n  create files like filename_1.csv, filename_2.csv for each table found.\n\nOptions:\n  --format TEXT         Output format: CSV, XLSX\n  --singlefile TEXT     Outputs single XLS file with multiple sheets: True or False\n  --sizefilter INTEGER  Filters table by size number of rows\n  --help                Show this message and exit.\n\nExamples\n========\ndocx2csv extract --format csv --sizefilter 3 CP_CONTRACT_160166.docx\n\nExtracts tables from file CP_CONTRACT_160166.docx with number of rows \u003e 3 and\nsaves results as CSV files.\n\n\nCode\n====\n\n\nFunction \"extract_tables\" returns list of tables from docx file and function \"extract\" extracts tables as xlsx, xls or csv file. If 'csv' file selected you need to specify single file csv or multiple files\n    \u003e\u003e\u003e from docx2csv import extract_tables, extract\n    \u003e\u003e\u003e tables = extract_tables('some_file.docx')\n\n    returns list of tables\n    \u003e\u003e\u003e extract(filename='some_file.docx', format=\"xlsx\", output='some_file.xlsx')\n    saves all tables from some_file.docx to some_file.xlsx\n\n    \u003e\u003e\u003e extract(filename='some_file.docx', format=\"csv\", singlefile=False)\n    saves all tables from some_file.docx to some_file_1.csv, some_file_2.csv and etc.\n\n\n\nRequirements\n============\n* click https://github.com/pallets/click\n* xlwt https://github.com/python-excel/xlwt\n* python-docx https://github.com/python-openxml/python-docx\n* openpyxl https://bitbucket.org/openpyxl/openpyxl/src\n\n\nAcknowledgements\n================\nThanks to Vsevolod Oparin (https://www.facebook.com/vsevolod.oparin) for optimized \"extract_table\" code\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivbeg%2Fdocx2csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivbeg%2Fdocx2csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivbeg%2Fdocx2csv/lists"}