{"id":20565360,"url":"https://github.com/gelleson/gcsv","last_synced_at":"2025-03-06T08:30:21.831Z","repository":{"id":47487313,"uuid":"182086929","full_name":"gelleson/gcsv","owner":"gelleson","description":"CSV generator based on YAML","archived":false,"fork":false,"pushed_at":"2021-08-29T20:56:30.000Z","size":124,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T19:48:44.918Z","etag":null,"topics":["csv","generator","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/gelleson.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-04-18T12:49:51.000Z","updated_at":"2023-01-13T09:40:32.000Z","dependencies_parsed_at":"2022-09-03T04:51:17.084Z","dependency_job_id":null,"html_url":"https://github.com/gelleson/gcsv","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gelleson%2Fgcsv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gelleson%2Fgcsv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gelleson%2Fgcsv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gelleson%2Fgcsv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gelleson","download_url":"https://codeload.github.com/gelleson/gcsv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242175580,"owners_count":20084424,"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","generator","golang"],"created_at":"2024-11-16T04:34:37.174Z","updated_at":"2025-03-06T08:30:21.796Z","avatar_url":"https://github.com/gelleson.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GCSV\n[![Go Report Card](https://goreportcard.com/badge/github.com/gelleson/gcsv)](https://goreportcard.com/report/github.com/gelleson/gcsv)\n\n**GCSV** is a yaml based csv file generator.\n\n\n## Example \n\n```bash\ngcsv generate example.yaml\n```\n\n```yaml\n# example.yaml\ndocuments:\n  - name: example_data\n    rows: 1000\n    with_header: true\n    columns:\n      - name: id\n        type: seq\n        kwargs:\n          initial_sequence: 100\n      - name: last_name\n        type: personal\n        kwargs:\n          mode: last_name\n      - name: random_date\n        type: date\n        kwargs:\n          format: 2006-01-02 03:04:05\n          from: '2006-01-02 03:04:05'\n          to: '2012-01-02 03:04:05'\n      - name: random_int\n        type: int\n```\n\n```bash \nout:\nCSV is generated\n```\n\n|id |last_name|random_date        |random_int|\n|---|---------|-------------------|----------|\n|101|Allen    |2021-01-01 01:36:50|50        |\n|102|Burton   |2020-05-11 09:32:31|44        |\n|103|Meyer    |2020-11-23 09:10:21|56058     |\n|104|Wells    |2020-12-16 10:34:11|2         |\n|105|Ray      |2020-02-18 03:52:17|9397      |\n|106|Jones    |2020-04-24 04:55:20|9189      |\n|107|Thompson |2020-04-24 05:09:18|823       |\n|108|Cox      |2020-04-01 03:49:08|1         |\n|109|Duncan   |2020-12-20 04:46:56|918       |\n|110|Howell   |2020-07-23 07:37:29|47685     |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgelleson%2Fgcsv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgelleson%2Fgcsv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgelleson%2Fgcsv/lists"}