#data #bucket #10 #data-bucket

data_bucket

DataBucket is container for WorkTable's data

5 releases

new 0.2.2 Apr 15, 2025
0.2.1 Mar 14, 2025
0.2.0 Mar 9, 2025
0.1.1 Jan 5, 2025
0.1.0 Nov 26, 2024

#10 in #10

Download history 134/week @ 2025-01-03 48/week @ 2025-01-10 73/week @ 2025-01-17 86/week @ 2025-01-24 247/week @ 2025-01-31 98/week @ 2025-02-07 109/week @ 2025-02-14 93/week @ 2025-02-21 90/week @ 2025-02-28 168/week @ 2025-03-07 211/week @ 2025-03-14 65/week @ 2025-03-21 73/week @ 2025-03-28 12/week @ 2025-04-04 150/week @ 2025-04-11

310 downloads per month
Used in worktable

MIT license

95KB
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
~192K SLoC