{"id":13801576,"url":"https://github.com/tpunder/fm-flatfile","last_synced_at":"2025-05-07T08:33:39.803Z","repository":{"id":16335465,"uuid":"19085135","full_name":"tpunder/fm-flatfile","owner":"tpunder","description":"Scala Library for Reading Flat File Data (CSV/TSV/XLS/XLSX)","archived":false,"fork":false,"pushed_at":"2023-07-13T23:54:52.000Z","size":148,"stargazers_count":11,"open_issues_count":3,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-10T19:50:01.341Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tpunder.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}},"created_at":"2014-04-23T20:49:52.000Z","updated_at":"2024-09-27T15:43:03.000Z","dependencies_parsed_at":"2024-01-05T21:57:27.818Z","dependency_job_id":null,"html_url":"https://github.com/tpunder/fm-flatfile","commit_stats":null,"previous_names":["tpunder/fm-flatfile","frugalmechanic/fm-flatfile"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpunder%2Ffm-flatfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpunder%2Ffm-flatfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpunder%2Ffm-flatfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpunder%2Ffm-flatfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpunder","download_url":"https://codeload.github.com/tpunder/fm-flatfile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252843170,"owners_count":21812825,"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":[],"created_at":"2024-08-04T00:01:24.570Z","updated_at":"2025-05-07T08:33:39.777Z","avatar_url":"https://github.com/tpunder.png","language":"Scala","readme":"Frugal Mechanic Flat File Reader\n================================\n\n[![Build Status](https://travis-ci.org/frugalmechanic/fm-flatfile.svg?branch=master)](https://travis-ci.org/frugalmechanic/fm-flatfile)\n\nThis is our TSV/CSV/Flat/Excel File Reader\n\nBasic Usage for Reading\n-----------------------\n\n```scala\nimport fm.flatfile.{FlatFileReader, FlatFileRow}\n\n// FlatFileReader implements LazySeq[FlatFileRow]\nFlatFileReader(\"/path/to/input.tsv\").foreach { row: FlatFileRow =\u003e\n  println(\"Column 1: \"+row(\"Column 1\"))\n  println(\"Column 2: \"+row(\"Column 2\"))\n}\n\n```\n\nBasic Usage for Writing\n-----------------------\n\n```scala\nimport fm.common.FileOutputStreamResource\nimport fm.flatfile.{FlatFileWriter, FlatFileWriterOptions}\nimport java.io.File\n\n// FlatFileReader implements LazySeq[FlatFileRow]\nFlatFileWriter(FileOutputStreamResource(new File(\"/path/to/output.tsv\")), FlatFileWriterOptions.CSV) { out: FlatFileWriter =\u003e\n  out.write(\"Column 1\" -\u003e \"Row 1 Col 1 Value\", \"Column 2\" -\u003e \"Row 1 Col 2 Value\")\n  out.write(\"Column 1\" -\u003e \"Row 2 Col 1 Value\", \"Column 2\" -\u003e \"Row 2 Col 2 Value\")\n  out.write(\"Column 1\" -\u003e \"Row 3 Col 1 Value\", \"Column 2\" -\u003e \"Row 3 Col 2 Value\")\n  out.write(\"Column 1\" -\u003e \"Row 4 Col 1 Value\", \"Column 2\" -\u003e \"Row 4 Col 2 Value\")\n}\n\n```\n\nAuthors\n-------\n\nTim Underwood (\u003ca href=\"https://github.com/tpunder\" rel=\"author\"\u003eGitHub\u003c/a\u003e, \u003ca href=\"https://www.linkedin.com/in/tpunder\" rel=\"author\"\u003eLinkedIn\u003c/a\u003e, \u003ca href=\"https://twitter.com/tpunder\" rel=\"author\"\u003eTwitter\u003c/a\u003e, \u003ca href=\"https://plus.google.com/+TimUnderwood0\" rel=\"author\"\u003eGoogle Plus\u003c/a\u003e)\n\nEric Peters (\u003ca href=\"https://github.com/er1c\" rel=\"author\"\u003eGitHub\u003c/a\u003e, \u003ca href=\"https://www.linkedin.com/in/egpeters\" rel=\"author\"\u003eLinkedIn\u003c/a\u003e, \u003ca href=\"https://twitter.com/EricPeters\" rel=\"author\"\u003eTwitter\u003c/a\u003e, \u003ca href=\"https://plus.google.com/101943871346184224220\" rel=\"author\"\u003eGoogle Plus\u003c/a\u003e)\n\nCopyright\n---------\n\nCopyright [Frugal Mechanic](http://frugalmechanic.com)\n\nLicense\n-------\n\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)\n","funding_links":[],"categories":["Table of Contents"],"sub_categories":["CSV"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpunder%2Ffm-flatfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpunder%2Ffm-flatfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpunder%2Ffm-flatfile/lists"}