{"id":24828200,"url":"https://github.com/aqib-git/htmltable2csv","last_synced_at":"2025-06-12T15:04:06.616Z","repository":{"id":57437658,"uuid":"253057759","full_name":"aqib-git/htmltable2csv","owner":"aqib-git","description":"Transform HTML tables in a Web Page to CSV files.","archived":false,"fork":false,"pushed_at":"2020-04-12T15:09:46.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T04:11:16.557Z","etag":null,"topics":["csv","csv-export","export","html","html-tables","htmltable","package","python","python3","table"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/aqib-git.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":"2020-04-04T17:23:58.000Z","updated_at":"2022-02-12T00:40:59.000Z","dependencies_parsed_at":"2022-09-15T11:20:21.769Z","dependency_job_id":null,"html_url":"https://github.com/aqib-git/htmltable2csv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aqib-git%2Fhtmltable2csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aqib-git%2Fhtmltable2csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aqib-git%2Fhtmltable2csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aqib-git%2Fhtmltable2csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aqib-git","download_url":"https://codeload.github.com/aqib-git/htmltable2csv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245568923,"owners_count":20636864,"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":["csv","csv-export","export","html","html-tables","htmltable","package","python","python3","table"],"created_at":"2025-01-30T22:51:44.991Z","updated_at":"2025-03-26T01:20:56.873Z","avatar_url":"https://github.com/aqib-git.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## HTMLTable2CSV\n\nHTMLTable2CSV is a package for transforming HTML tables in a WebPage to CSV files.\n\n### Install\n\n```\npip install htmltable2csv\n```\n\n### Usage\n\n#### 1. Using as a package inside a project.\n\na) Fetch HTML content from a Web Page URL.\n\n```\nfrom htmltable2csv.htmltable2csv import Table2CSV\n\nTable2CSV('http://example.com/page.html', '/path/to/destination')\n```\n\nIt will parse all the HTML tables in http://example.com/page.html and store theme in specified destination folder.\n\n\nb) Read HTML content from a html file in the specified path.\n\n```\nfrom htmltable2csv.htmltable2csv import Table2CSV\n\nTable2CSV('/home/aqib/source.html', '/path/to/destination')\n```\n\nIt will parse all the HTML tables in */home/aqib/source.html* file and store theme in specified destination folder.\n\n\n#### 2. Using as a utility from command line.\n\na) Fetch HTML content from a Web Page URL.\n\n```\npython3 -m  htmltable2csv.htmltable2csv 'http://example.com/page.html' '/path/to/destination'\n\n```\n\nb) Read HTML content from a html file in the specified path.\n\n```\npython3 -m  htmltable2csv.htmltable2csv '/path/to/source.html' '/path/to/destination'\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faqib-git%2Fhtmltable2csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faqib-git%2Fhtmltable2csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faqib-git%2Fhtmltable2csv/lists"}