tp_grizzly_io version: 4.0.6

Published 2024-03-27

n/a

sdk | dart
repository | svn
platform | n/a
status | deprecated
  • Readme
  • Changelog
  • Versions

Grizzly IO

Readers and writers for several file formats (CSV, TSV, JSON, YAML, etc)

Usage

Labeled TSV

Read from file system

main() async {
      final tsv = await readLTsv('data/example.tsv');
      print(tsv);
}

Read from HTTP

main() async {
      final tsv = await requestLTsv('http://localhost:8000/example.tsv');
      print(tsv);
}

Read with custom separators

main() async {
      final tsv = await readCsv('data/example.csv', fieldSep: '|', textSep: "'");
      print(tsv);
}

Write

main() async {
      final csv = await readCsv('data/example.csv');
      String encoded = encodeCsv(csv);
}

example.tsv:

Name	Age	House
Jon	25	Stark
Dany	28	Targaryan
Tyrion	40	Lannister
Elia Martell	75	Martell

example.csv:

Name,Age,House
Jon,25,Stark
Dany,28,Targaryan
Tyrion,40,Lannister
Elia Martell,75,Martell

TODO

  • Read JSON
  • Write JSON
  • Read yaml
  • Write yaml
  • Read mongo
  • Write mongo
  • Handle zip files

Changelog

4.0.6 - 2024-03-27

Changed

  • Version bump from 4.0.5 to 4.0.6 (Deprecated this package).

4.0.5 - 2024-02-01

Changed

  • Version bump from 4.0.4 to 4.0.5 (Resolve package version confusions).

4.0.4 - 2023-05-22

Changed

  • Version bump from 4.0.3 to 4.0.4.

4.0.3 - 2023-02-09

Changed

  • Version bump from 4.0.2 to 4.0.3 (Version confusion after compiler bug chaos).

4.0.2 - 2023-02-01

Changed

  • Copied from git source.

4.0.6

2024-03-27 download

4.0.5

2024-02-01 download

4.0.4

2023-05-22 download

4.0.3

2023-02-09 download

4.0.2

2023-02-01 download