{"id":13305786,"url":"https://github.com/dakside/dcsv","last_synced_at":"2025-03-10T14:31:58.861Z","repository":{"id":31235125,"uuid":"34796503","full_name":"dakside/dcsv","owner":"dakside","description":"Dakside CSV is a light weight library for CSV data manipulation.","archived":false,"fork":false,"pushed_at":"2018-09-07T07:53:38.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-02-28T16:52:59.867Z","etag":null,"topics":["csv","gpl","java","library","lightweight"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dakside.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":"2015-04-29T13:50:50.000Z","updated_at":"2018-09-07T07:53:39.000Z","dependencies_parsed_at":"2022-09-09T03:40:30.447Z","dependency_job_id":null,"html_url":"https://github.com/dakside/dcsv","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakside%2Fdcsv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakside%2Fdcsv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakside%2Fdcsv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakside%2Fdcsv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dakside","download_url":"https://codeload.github.com/dakside/dcsv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242868404,"owners_count":20198471,"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","gpl","java","library","lightweight"],"created_at":"2024-07-29T17:54:34.835Z","updated_at":"2025-03-10T14:31:58.549Z","avatar_url":"https://github.com/dakside.png","language":null,"readme":"# dcsv\nDakside CSV is a light weight library for CSV data manipulation.\n\n## Introduction\n\nDakside.CSV is a lightweight yet powerful library for process CSV file. Main features of dCSV are:\n\n1. Thread-safe of write \u0026 read CSV file from/to streams, readers, and files.\n2. Fast learning curve (CSV library is very easy to use).\n3. Small size (7KB in total)\n\n## Examples\n\nReading CSV data is very easy:\n\n``` java\nimport dakside.csv.*;\n\npublic class Example2 {\n  public static void main(String[] args) {\n    CSVFile csv = CSVFileReader.parseFile(\"/home/someone/sample.csv\");\n  }\n} \n```\n\nWriting content to CSV file:\n\n``` java\nimport dakside.csv.CSVFile;\nimport dakside.csv.CSVFileWriter;\nimport java.util.Date;\n\npublic class ExampleSimple {\n\n  public static void main(String[] args) {\n    CSVFile csvData = new CSVFile();\n    //add some data\n    csvData.newLine().add(\"Name\").add(\"Salary\").add(\"Birthday\"); //line 1\n    csvData.newLine().add(\"Boo\").add(4300).add(new Date(86, 4, 23)); //line 2\n    csvData.newLine().add(\"Joe\").add(6800.5).add(new Date(84, 9, 27)); //line 3\n\n    //Create a writer to write CSV data\n    CSVFileWriter writer = new CSVFileWriter(\"/home/someone/employees.csv\");\n\n    //Write csvData to file\n    writer.writeFile(csvData);\n\n    //Close file (auto save)\n    writer.close();\n  }\n} \n```\n\nand here is the results.\n\n```File: employees.csv\n\nName,Salary,Birthday\nBoo,4300,Fri May 23 00:00:00 SGT 1986\nJoe,6800.5,Sat Oct 27 00:00:00 SGT 1984 \n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdakside%2Fdcsv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdakside%2Fdcsv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdakside%2Fdcsv/lists"}