{"id":15934517,"url":"https://github.com/carlijoy/csv_merge","last_synced_at":"2025-04-03T15:16:24.520Z","repository":{"id":56310476,"uuid":"225197672","full_name":"CarliJoy/csv_merge","owner":"CarliJoy","description":"Merging Files containing the same header - like CSV files","archived":false,"fork":false,"pushed_at":"2020-11-15T13:28:23.000Z","size":17,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T19:57:35.802Z","etag":null,"topics":["csv","merge","python3"],"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/CarliJoy.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-12-01T17:07:19.000Z","updated_at":"2020-05-27T09:22:50.000Z","dependencies_parsed_at":"2022-08-15T16:30:49.657Z","dependency_job_id":null,"html_url":"https://github.com/CarliJoy/csv_merge","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/CarliJoy%2Fcsv_merge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarliJoy%2Fcsv_merge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarliJoy%2Fcsv_merge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarliJoy%2Fcsv_merge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CarliJoy","download_url":"https://codeload.github.com/CarliJoy/csv_merge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247024152,"owners_count":20870940,"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","merge","python3"],"created_at":"2024-10-07T03:03:36.887Z","updated_at":"2025-04-03T15:16:24.498Z","avatar_url":"https://github.com/CarliJoy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CSV Combine\n\nScript to combine multiple files matching glob in a folder to one single big file.\nThe common head will be determined automatically based on the number of identical lines of \nthe first two files.\n\nLatest version is available in [GitHub](https://github.com/CarliJoy/csv_merge).\n\nThe default script uses binary mode to write files - so no encoding problems should occur.\n\nThe header will be always taken from the first file.\n\nMismatches in headers will be logged.\n\nUsage:\n`./csv_combine target.csv source1.csv othersources/*.csv`\n\nIt is possible to add a verbose parameter as well as --fix-header-lines parameter.\nThe --fix-header-lines will force the number of header lines instead of determine it with the first two files.\n\n```\n$ python csv_combine.py --help\nusage: csv_combine.py [-h] [-n FIX_HEADER_LINES] [-v]\n                      target_file [source [source ...]]\n\nCombine different csv files but keep the header The header will be determined\nautomatically be comparing the numberof identical lines of the first two\nfiles. Mismatches of headers will be logged.\n\npositional arguments:\n  target_file           Path to combination file\n  source                Source files - unix globbing supported (= * and ?\n                        allowed)\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -n FIX_HEADER_LINES, --fix-header-lines FIX_HEADER_LINES\n                        Set the number of of head lines instead of determining\n                        it by comparingthe first two files.\n  -v, --verbose         increase output verbosity\n\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlijoy%2Fcsv_merge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlijoy%2Fcsv_merge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlijoy%2Fcsv_merge/lists"}