#data #data-file #10

data_bucket

DataBucket is container for WorkTable's data

4 releases

0.2.1 Mar 14, 2025
0.2.0 Mar 9, 2025
0.1.1 Jan 5, 2025
0.1.0 Nov 26, 2024

#5 in #data-file

Download history 6/week @ 2024-12-08 1/week @ 2024-12-15 143/week @ 2025-01-05 46/week @ 2025-01-12 70/week @ 2025-01-19 167/week @ 2025-01-26 189/week @ 2025-02-02 87/week @ 2025-02-09 112/week @ 2025-02-16 110/week @ 2025-02-23 60/week @ 2025-03-02 272/week @ 2025-03-09 120/week @ 2025-03-16 59/week @ 2025-03-23

511 downloads per month
Used in worktable

MIT license

87KB
2K SLoC

DataBucket

This is a library for writing and reading data files.

Command line tools

The command line tools reside in the tools directory.

create-data-file

Creates a data file with test data. The filename is provided using the --filename command line flag, the number of pages to be written is provided using the --count command line flag which sets amount of data records.

dump-data-file

Loads the data from a file and prints it. The filename is provided using the --filename command line flag.

Example of generated file after dump

--count 10

+-----+----------+
| val | attr     |
+-----+----------+
| 0   | string 0 |
| 1   | string 1 |
| 2   | string 2 |
| 3   | string 3 |
| 4   | string 4 |
| 5   | string 5 |
| 6   | string 6 |
| 7   | string 7 |
| 8   | string 8 |
| 9   | string 9 |
+-----+----------+

Dependencies

~8–15MB
~191K SLoC