zlacker

Recutils – Tools and libraries to access plain text databases called Recfiles

submitted by jdemle+(OP) on 2017-09-21 10:28:15 | 106 points 46 comments
[view article] [source] [go to bottom]

NOTE: showing posts with links only show all posts
6. ajsalm+J4[view] [source] 2017-09-21 11:32:18
>>jdemle+(OP)
The link to the newer presentation video on the page is broken but this is probably the same one: https://fscons.org/videos/2011/gnu-recutils-changed-title-an...
◧◩
10. rgrau+i5[view] [source] [discussion] 2017-09-21 11:42:13
>>_euac+W3
https://www.gnu.org/software/recutils/faq.html#whyturtles
◧◩
12. rmchug+s5[view] [source] [discussion] 2017-09-21 11:44:23
>>_euac+W3
It's turtles all the way down! https://en.wikipedia.org/wiki/Turtles_all_the_way_down
15. Mizza+l8[view] [source] 2017-09-21 12:17:33
>>jdemle+(OP)
I have a growing affinity for non-database-databases for personal and low/sparse-traffic projects. Lots less hassle.

Here's one I maintain designed for use with AWS Lambda which uses S3 as a Pythonic data-store: https://github.com/Miserlou/NoDB

17. fimdom+xc[view] [source] 2017-09-21 12:53:50
>>jdemle+(OP)
Apparently you can get output in csv (natively) and json (python one liner) without too much assle (http://swick.2flub.org/recutils_JSON_output.html) which suddently makes it even more interesting.
◧◩
22. jstimp+rj[view] [source] [discussion] 2017-09-21 13:41:25
>>rb808+Ai
I have done some prototyping on a similar idea, but I think with a more idiomatic approach. The idea is mostly adding relational structure (schema) to CSV, and enabling a cleaner lexical syntax (get rid of the line noise).

Might some day dust it off and try to bring it to a more serious level (performance, tooling etc).

http://jstimpfle.de/projects/python-wsl/main.html

◧◩◪◨⬒
27. jdemle+0m[view] [source] [discussion] 2017-09-21 13:56:32
>>aeorgn+hl
Yes. Communicating with telegram from bash is simple. Check out https://www.curry-software.com/en/blog/telegram_unit_fail/ for example.
◧◩◪
28. aeorgn+mm[view] [source] [discussion] 2017-09-21 13:58:15
>>anc84+E4
A question in the [FAQ](https://www.gnu.org/software/recutils/faq.html#whyturtles):

> Why is the logo depicting a pair of copulating turtles?

◧◩◪
31. rwmj+Iq[view] [source] [discussion] 2017-09-21 14:24:01
>>jdemle+bq
This is why I was very careful to say "well-defined subset". I wrote a full CSV library[1], and so I'm well aware of how deceptively difficult CSV is to deal with. However with a well-defined subset (and perhaps not using "," as a separator as well) it should be editable for at least simple changes.

[1] https://github.com/Chris00/ocaml-csv

◧◩
41. creato+571[view] [source] [discussion] 2017-09-21 18:49:56
>>ausjke+0s
They have a page explaining their reasoning: https://www.gnu.org/licenses/why-not-lgpl.en.html
42. kwhite+cU1[view] [source] 2017-09-22 04:17:21
>>jdemle+(OP)
If you want something lighter to use text files as tables you could try TextQL: https://github.com/dinedal/textql.
[go to top]