grizzly_io

Last updated:

0 purchases

grizzly_io Image
grizzly_io Images
Add to Cart

Description:

grizzly io

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);
}
copied to clipboard
Read from HTTP #
main() async {
final tsv = await requestLTsv('http://localhost:8000/example.tsv');
print(tsv);
}
copied to clipboard
Read with custom separators #
main() async {
final tsv = await readCsv('data/example.csv', fieldSep: '|', textSep: "'");
print(tsv);
}
copied to clipboard
Write #
main() async {
final csv = await readCsv('data/example.csv');
String encoded = encodeCsv(csv);
}
copied to clipboard
example.tsv:
Name Age House
Jon 25 Stark
Dany 28 Targaryan
Tyrion 40 Lannister
Elia Martell 75 Martell
copied to clipboard
example.csv:
Name,Age,House
Jon,25,Stark
Dany,28,Targaryan
Tyrion,40,Lannister
Elia Martell,75,Martell
copied to clipboard
TODO #

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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.