PocketCsvReader 2.76.1
dotnet add package PocketCsvReader --version 2.76.1
NuGet\Install-Package PocketCsvReader -Version 2.76.1
<PackageReference Include="PocketCsvReader" Version="2.76.1" />
<PackageVersion Include="PocketCsvReader" Version="2.76.1" />
<PackageReference Include="PocketCsvReader" />
paket add PocketCsvReader --version 2.76.1
#r "nuget: PocketCsvReader, 2.76.1"
#:package PocketCsvReader@2.76.1
#addin nuget:?package=PocketCsvReader&version=2.76.1
#tool nuget:?package=PocketCsvReader&version=2.76.1
PocketCsvReader
PocketCsvReader reads CSV and other structured text through forward-only data readers and streaming row outputs. Optional packages support JSON/JSONC, NDJSON, fixed-width, Markdown tables, LTSV, logfmt, web logs, and security logs. The projects target .NET 8, 9, and 10.
Documentation · Installation · Contributing
Packages
| Package | Purpose |
|---|---|
PocketCsvReader |
CSV/TSV and shared APIs |
PocketCsvReader.Json |
JSON and JSONC with projection and stable field layout for object records |
PocketCsvReader.Ndjson |
NDJSON with projection and stable field layout for object records |
PocketCsvReader.Indexing |
Indexed lookups with sparse, Bloom, zone map, hash, bitmap, and inverted indexes, plus an opt-in scan fallback |
PocketCsvReader.ObjectStorage |
Async Hive-style partition discovery and reads for CSV and other supported flat-file formats on Amazon S3 and Azure Data Lake Storage Gen2 |
PocketCsvReader.FixedWidth |
Fixed-width text with fields at fixed character positions |
PocketCsvReader.Markdown |
GitHub Flavored Markdown pipe tables |
PocketCsvReader.KeyValue |
LTSV and logfmt with column projection, aliases, and stable field layout |
PocketCsvReader.WebLogs |
Common, Combined, and W3C web logs |
PocketCsvReader.SecurityLogs |
CEF and LEEF security logs |
PocketCsvReader.Arrow |
Apache Arrow output |
PocketCsvReader.Arrow.ColumnarJson |
Columnar JSON (ClickHouse exports and Arrow fixtures) |
PocketCsvReader.Arrow.NetCdf |
Textual NetCDF CDL |
PocketCsvReader.Chrononuensis |
Temporal period parsers |
First example
dotnet add package PocketCsvReader
using System.Text;
using PocketCsvReader.Configuration;
var csv = new CsvReaderBuilder()
.WithDialect(d => d.WithHeader().WithLineTerminator("\n"))
.Build();
using var stream = new MemoryStream(Encoding.UTF8.GetBytes("Id,Name\n1,Ada\n"));
using var reader = csv.ToDataReader(stream);
while (reader.Read())
Console.WriteLine($"{reader.GetInt32(0)}: {reader.GetString(1)}");
// 1: Ada
See output models, reader filtering, object mapping, async reading, inference, and performance guidance for complete behavior and limitations.
Shared ownership, null, conversion, and performance contracts have their authoritative home in the documentation rather than duplicated README sections.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (14)
Showing the top 5 NuGet packages that depend on PocketCsvReader:
| Package | Downloads |
|---|---|
|
NBi.Framework.Tools
This package contains the NBi framework and references each dll to your project. This package is not intended to be directly used by end-users willing to create test-suites. Check the package NBi.VisualStudio, if you want to facilitate the usage of NBi from Visual Studio. NBi is a testing framework (add-on to NUnit) for Business Intelligence and Data Quality. It supports the Microsoft Data platform (SQL Server Database engine, SSIS, SSAS, SSRS) but also MySQL, PostgreSQL and other NoSQL solutions. |
|
|
Didot.Core
Package Description |
|
|
Packata.ResourceReaders
Packata is a library for consuming Data Package v2 files. The `Packata.ResourceReaders` package specializes in providing read access to resource files using common patterns, such as `IDataReader`, ensuring seamless data retrieval and processing. |
|
|
PocketCsvReader.FixedWidth
PocketCsvReader.FixedWidth extends PocketCsvReader with single-pass, lazy field parsing for fixed-width text files. |
|
|
PocketCsvReader.Json
PocketCsvReader.Json is a lightweight streaming JSON document reader that exposes top-level objects and array elements through IDataReader and the PocketCsvReader materialization APIs. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on PocketCsvReader:
| Repository | Stars |
|---|---|
|
Seddryck/NBi
NBi is a testing framework (add-on to NUnit) for Business Intelligence and Data Access. The main goal of this framework is to let users create tests with a declarative approach based on an Xml syntax. By the means of NBi, you don't need to develop C# or Java code to specify your tests! Either, you don't need Visual Studio or Eclipse to compile your test suite. Just create an Xml file and let the framework interpret it and play your tests. The framework is designed as an add-on of NUnit but with the possibility to port it easily to other testing frameworks.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.76.1 | 98 | 11/13/2026 |
| 2.76.0 | 94 | 11/13/2026 |
| 2.75.1 | 83 | 11/13/2026 |
| 2.75.0 | 168 | 11/12/2026 |
| 2.74.1 | 140 | 11/12/2026 |
| 2.74.0 | 124 | 11/12/2026 |
| 2.73.0 | 264 | 11/11/2026 |
| 2.72.0 | 148 | 11/11/2026 |
| 2.71.1 | 311 | 11/10/2026 |
| 2.71.0 | 207 | 11/10/2026 |
| 2.70.0 | 188 | 11/10/2026 |
| 2.69.0 | 252 | 11/10/2026 |
| 2.68.0 | 198 | 11/10/2026 |
| 2.67.0 | 257 | 11/9/2026 |
| 2.66.0 | 200 | 11/9/2026 |
| 2.65.0 | 218 | 11/9/2026 |
| 2.64.0 | 225 | 11/9/2026 |
| 2.63.0 | 284 | 11/6/2026 |
| 2.62.0 | 2,377 | 11/2/2026 |
| 2.61.1 | 229 | 11/2/2026 |