CsvHelper

帮助读写 CSV 文件的库。「Library to help reading and writing CSV files」

  • Owner: JoshClose/CsvHelper
  • Platform: Windows
  • License:: Other
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

CsvHelper

一个用于读写 CSV 文件的库。速度极快,灵活,使用方便。支持自定义类对象的读写。

安装

包管理控制台

PM> Install-Package CsvHelper

.NET CLI Console

> dotnet add package CsvHelper

文档资料

http://joshclose.github.io/CsvHelper/

构建文档

  1. 安装 node.js
  2. 进入 CsvHelper/docs-src文件夹。
  3. 运行 npm start 来启动一个本地测试站点。进行任何需要的修改。
  4. 运行 npm run build 来构建输出到 CsvHelper/docs 的文档文件。

许可证

双重许可

微软公共许可证(MS-PL)

http://www.opensource.org/licenses/MS-PL

Apache许可,2.0版本

http://opensource.org/licenses/Apache-2.0

贡献

要不要出力?很好!这里有几个准则。这里有几个准则:

  1. 如果你想做一个功能,先发一个关于功能的问题。有些功能是故意不做的,有些功能可能已经在做了,或者我可能有一些我认为应该怎么做的建议。如果把时间花在一些不会用到的代码上,我会觉得很可惜。
  2. 如果你想做一个bug修复,把它也贴出来也许不是一个坏主意。我以前也有过同一个bug被多人同时修复的情况。
  3. 所有的代码都应该有一个单元测试。如果你做了一个功能,围绕这个功能应该有重要的测试。如果你做了一个bug修复,应该有一个针对这个bug的测试,这样就不会再发生了。
  4. 拉取请求应该只有一次提交。如果你有多个提交,在请求拉取之前,把它们压缩成一个提交。
  5. 尽量遵循已经存在的代码风格。如果你有ReSharper,会有一个dotsettings文件,它会自动为你格式化。

致谢

贡献者

这个项目的存在要感谢所有做出贡献的人。[贡献]。

支持者

感谢所有的支持者!祈祷【成为支持者】。

赞助商

通过成为赞助商来支持这个项目。您的商标将在这里显示,并附有您的网站链接。[成为赞助商]


Overview

Name With OwnerJoshClose/CsvHelper
Primary LanguageC#
Program languageC# (Language Count: 6)
PlatformWindows
License:Other
Release Count225
Last Release Name32.0.0 (Posted on )
First Release Name0.3 (Posted on )
Created At2009-12-30 04:27:46
Pushed At2024-04-26 18:23:54
Last Commit At2024-04-26 13:23:50
Stargazers Count4.5k
Watchers Count132
Fork Count1k
Commits Count1.5k
Has Issues Enabled
Issues Count1726
Issue Open Count280
Pull Requests Count140
Pull Requests Open Count10
Pull Requests Close Count144
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

CsvHelper

Join the chat at https://gitter.im/CsvHelper/Lobby
Backers on Open Collective
Sponsors on Open Collective

A library for reading and writing CSV files. Extremely fast, flexible, and easy to use. Supports reading and writing of custom class objects.

Install

Package Manager Console

PM> Install-Package CsvHelper

.NET CLI Console

> dotnet add package CsvHelper

Documentation

http://joshclose.github.io/CsvHelper/

Building the Documentation

  1. Install node.js.
  2. Go into the CsvHelper/docs-src folder.
  3. Run npm start to start a local test site. Make any changes needed.
  4. Run npm run build to build the documentation files that are output to CsvHelper/docs.

License

Dual licensed

Microsoft Public License (MS-PL)

http://www.opensource.org/licenses/MS-PL

Apache License, Version 2.0

http://opensource.org/licenses/Apache-2.0

Contributing

Want to contribute? Great! Here are a few guidelines.

  1. If you want to do a feature, post an issue about the feature first. Some features are intentionally left out, some features may already be in the works, or I may have some advice on how I think it should be done. I would feel bad if time was spent on some code that won't be used.
  2. If you want to do a bug fix, it might not be a bad idea to post about it too. I've had the same bug fixed by multiple people at the same time before.
  3. All code should have a unit test. If you make a feature, there should be significant tests around the feature. If you do a bug fix, there should be a test specific to that bug so it doesn't happen again.
  4. Pull requests should have a single commit. If you have multiple commits, squash them into a single commit before requesting a pull.
  5. Try and follow the code styling already in place. If you have ReSharper there is a dotsettings file included and things should automatically be formatted for you.

Credits

Contributors

This project exists thanks to all the people who contribute. [Contribute].

Backers

Thank you to all our backers! ? [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

To the top