{"id":29723405,"url":"https://github.com/poypoyan/funcsv2db","last_synced_at":"2025-07-24T18:33:46.761Z","repository":{"id":305383617,"uuid":"1022742740","full_name":"poypoyan/funcsv2db","owner":"poypoyan","description":"A CSV processor to insert to database for use in Funcwords project.","archived":false,"fork":false,"pushed_at":"2025-07-19T18:26:27.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-19T21:45:37.564Z","etag":null,"topics":["csv","csv-converter"],"latest_commit_sha":null,"homepage":"","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/poypoyan.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-19T18:17:25.000Z","updated_at":"2025-07-19T18:29:25.000Z","dependencies_parsed_at":"2025-07-19T21:45:40.225Z","dependency_job_id":"3c73b53f-e360-4b7b-8100-d30ed978833e","html_url":"https://github.com/poypoyan/funcsv2db","commit_stats":null,"previous_names":["poypoyan/funcsv2db"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/poypoyan/funcsv2db","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poypoyan%2Ffuncsv2db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poypoyan%2Ffuncsv2db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poypoyan%2Ffuncsv2db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poypoyan%2Ffuncsv2db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poypoyan","download_url":"https://codeload.github.com/poypoyan/funcsv2db/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poypoyan%2Ffuncsv2db/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266886671,"owners_count":24001060,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","csv-converter"],"created_at":"2025-07-24T18:32:08.674Z","updated_at":"2025-07-24T18:33:46.752Z","avatar_url":"https://github.com/poypoyan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# funcsv2db\nA CSV processor to insert to database for use in Funcwords project.\n\nJust run `sample.py` for example output and read the code for usage. The output to stdout is just a \"do\" block with (unsafe) insert queries inside.\n\n## Use Case\n\nSince this is used for a specific project, the way CSVs are processed is specific, too. Consider the following CSV of a grammar table:\n\n![Pangasinan Personal Pronouns](doc/personal-pronoun-table.png)\n\nLet's call the cells inside the blue, red, and green boxes *entries*, *headers in column* (`h_in_c` in code), and *headers in row* (`h_in_r` in code), respectively. This program can be used iff the headers correspond to prior data (i.e., prior records from other table/s), thus aside from the insertion of entries in a specific table (let's call it the *main* table), there will also be insertion to junction table/s connecting the other table/s to the main.\n\n## Assumptions\n- Primary key fields for all tables have the same name (`id` by default). It is possible to override this in your custom `main_query` and `junc_query` functions.\n- The empty cells in headers means *ditto* (i.e., same as the previous non-empty cell).\n- *Same Value in Same Row is Same Data* (SVSRSD). For example, the \"siák\" entry below \"Nominative\" and the one below \"Possessive\" will be one inserted data to main table.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoypoyan%2Ffuncsv2db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoypoyan%2Ffuncsv2db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoypoyan%2Ffuncsv2db/lists"}