{"id":18446739,"url":"https://github.com/cristalhq/dsvreader","last_synced_at":"2025-04-08T00:31:57.178Z","repository":{"id":57497516,"uuid":"194429584","full_name":"cristalhq/dsvreader","owner":"cristalhq","description":"Fast reader for delimiter-separated data","archived":false,"fork":false,"pushed_at":"2024-03-08T10:29:19.000Z","size":59,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T23:17:11.591Z","etag":null,"topics":["csv","csv-reader","dependency-free","dsv","dsv-reader","go","golang","tsv","tsv-reader"],"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/cristalhq.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}},"created_at":"2019-06-29T17:03:20.000Z","updated_at":"2022-01-31T06:03:38.000Z","dependencies_parsed_at":"2023-12-17T11:32:02.149Z","dependency_job_id":"cab74edd-fbd6-4393-bc39-eacb94207f66","html_url":"https://github.com/cristalhq/dsvreader","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristalhq%2Fdsvreader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristalhq%2Fdsvreader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristalhq%2Fdsvreader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristalhq%2Fdsvreader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cristalhq","download_url":"https://codeload.github.com/cristalhq/dsvreader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247755407,"owners_count":20990617,"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-reader","dependency-free","dsv","dsv-reader","go","golang","tsv","tsv-reader"],"created_at":"2024-11-06T07:10:28.371Z","updated_at":"2025-04-08T00:31:56.823Z","avatar_url":"https://github.com/cristalhq.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dsvreader\n\n[![build-img]][build-url]\n[![pkg-img]][pkg-url]\n[![version-img]][version-url]\n\nFast reader for delimiter-separated data in Go.\n\n## Features\n\n* Supports CSV, TSV, PSV.\n* Supports user defined delimiter.\n* Dependency-free.\n* Optimized for speed.\n* Based on [Aliaksandr Valialkin's TSVReader](https://github.com/valyala/tsvreader)\n\nSee [docs][pkg-url].\n\n## Install\n\nGo version 1.17+\n\n```\ngo get github.com/cristalhq/dsvreader\n```\n\n## Example\n\n```go\nbs := bytes.NewBufferString(\n`foo\\t42\\n\nbar\\t123\\n`)\n\nr := dsvreader.NewTSV(bs)\nfor r.Next() {\n    col1 := r.String()\n    col2 := r.Int()\n    fmt.Printf(\"col1=%s, col2=%d\\n\", col1, col2)\n}\n\nif err := r.Error(); err != nil {\n    panic(\"unexpected error: %s\", err)\n}\n```\n\nSee examples: [example_test.go](example_test.go).\n\n## License\n\n[MIT License](LICENSE).\n\n[build-img]: https://github.com/cristalhq/dsvreader/workflows/build/badge.svg\n[build-url]: https://github.com/cristalhq/dsvreader/actions\n[pkg-img]: https://pkg.go.dev/badge/cristalhq/dsvreader\n[pkg-url]: https://pkg.go.dev/github.com/cristalhq/dsvreader\n[version-img]: https://img.shields.io/github/v/release/cristalhq/dsvreader\n[version-url]: https://github.com/cristalhq/dsvreader/releases\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcristalhq%2Fdsvreader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcristalhq%2Fdsvreader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcristalhq%2Fdsvreader/lists"}