Giter Club home page Giter Club logo

csv's Introduction

NReco MDD Framework

NReco is an ASP.NET application framework that enables lightweight model-driven development and domain-specific modelling for real-life applications.

NReco Framework includes:

  • reusable components for building loosely-coupled web applications and suitable for generative programming
  • special XML models processor that transforms abstract domain-specific XML models into ASP.NET components and IoC-container configuration
  • ready-to-use set of domain-specific models that cover different aspects of typical ASP.NET application (UI elements like forms, lists dialogs; business-logic layer; data access and data permissions, data indexing etc)

NReco is a right choice for:

  • rapid prototyping and development of custom web-applications
  • custom enterprise/business web applications
  • software product-lines development and maintenance (projects "family")
  • SaaS-products and other scalable web-applications hosted in the cloud
## More information ## Standalone NReco Components

Copyright & License

NReco Version 1.0 (nreco1 branch) © 2008-2013 Vitalii Fedorchenko + other contributors (published under LGPL) NReco Version 2.x (master) © 2013-2015 Vitalii Fedorchenko + other contributors (LGPL)

csv's People

Contributors

kikaragyozov avatar spiritbob avatar vitaliymf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

csv's Issues

Encoding issue in readme

Example in Readme has &lt; instead of <

for (int i=0; i&lt;csvReader.FieldsCount; i++) {
for (int i=0; i<csvReader.FieldsCount; i++) {

JSON field support

File contains 3 columns:
AddressId, JsonData, UpdatedAt
1,"{"address": {"zip": null, "city": null, "state": null, "country": "USA", "street1": null, "street2": null, "street3": null}}","2021-03-31T23:36:04"
2,"{"guardian": {"name": "Abhishek", "phone": true, "address": {"zip": "6204", "city": "York", "state": "PA", "country": "USA", "street1": "62115B Greenwood Rd", "street2": null, "street3": null}, "relationship": "Son"}}","2021-03-31T23:36:04"

image

I am not able to find "UpdatedAt" field at csvReader[2]. Please add json support also. thanks

Feature for getting count of read and skipped lines.

Introduce 2 new properties - SkippedLines and ReadLines or similarly named that gets the point across.

  • SkippedLines - returns the number of skipped lines of the file.
  • ReadLines - returns the number of read lines of the file.

I'll attempt to tackle this now as I'm in need of it. Let me know if this is something you'd like to see implemented in the library!

Custom quote

Why there is no possibility to accept a different quote?

Something like this
var csvReader = new CsvReader(stream, delimiter, quote); (eventually also comment char....)

This lib is very fast but also incomplete with only delimiter. I hope you add this feature.

Add API for ReadOnlySpan for efficient values handling

In .NET Core 2.1 and upcoming netstandard 2.1 ReadOnlySpan can be used for zero-allocation handling of string values - without need to create 'string' object from the buffer.

To support this it is enough to add ProcessValueInBuffer overload or maybe add method ReadOnlySpan<char> GetSpanValue(int idx).

[Question] Does NReco.Csv write fully-correct CSV files?

It seems the library is capable of reading not fully correct CSV files. if you can expand on the differences, as I'm guessing your model is specified in RFC4180?

With that said, does the library itself produce CSV files conforming to the above RFC standard?

Add IDataReader implementation

In some cases it might be useful to read CSV stream as System.Data IDataReader.
This unlocks simple way to read CSV to DataTable or to list of POCO-models - say, this is possible with DataReaderResult class from NReco.Data library.

In the initial implementation, lets expose all CSV line fields as 'string' FieldType, and add option to skip first (headers) line.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.