TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

106 点作者 jdemler超过 7 年前

13 条评论

jdemler超过 7 年前
At CurrySoftware we use recfiles combined with git for all business-processes (incoming and outgoing invoices, customers, etc). It allows us to automate everything we want with simple bash scripts. But we remain flexible because we can perform non-automated tasks manually.
评论 #15303277 未加载
Mizza超过 7 年前
I have a growing affinity for non-database-databases for personal and low&#x2F;sparse-traffic projects. Lots less hassle.<p>Here&#x27;s one I maintain designed for use with AWS Lambda which uses S3 as a Pythonic data-store: <a href="https:&#x2F;&#x2F;github.com&#x2F;Miserlou&#x2F;NoDB" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Miserlou&#x2F;NoDB</a>
评论 #15302996 未加载
fimdomeio超过 7 年前
Apparently you can get output in csv (natively) and json (python one liner) without too much assle (<a href="http:&#x2F;&#x2F;swick.2flub.org&#x2F;recutils_JSON_output.html" rel="nofollow">http:&#x2F;&#x2F;swick.2flub.org&#x2F;recutils_JSON_output.html</a>) which suddently makes it even more interesting.
ajsalminen超过 7 年前
The link to the newer presentation video on the page is broken but this is probably the same one: <a href="https:&#x2F;&#x2F;fscons.org&#x2F;videos&#x2F;2011&#x2F;gnu-recutils-changed-title-and-subject.webm" rel="nofollow">https:&#x2F;&#x2F;fscons.org&#x2F;videos&#x2F;2011&#x2F;gnu-recutils-changed-title-an...</a>
评论 #15304647 未加载
rb808超过 7 年前
I really like the idea of plain text data files so am really interested in this.<p>YAML serves this purpose too but I&#x27;m not a huge fan of indenting so recfiles look great. Anyone compared and contrasted?<p>Also are there other resources on this? Would be nice to have Java&#x2F;C++&#x2F;Python libraries. (As well as convert to parquet, arrow etc )
评论 #15303240 未加载
majkinetor超过 7 年前
Fro docs:<p>YAML 1 is an example of a hierarchical data storage format which is much more readable than XML. The problem with YAML is that it was designed as a “data serialization language” and thus to map the data constructs usually found in programming languages. That makes it too complex for the simple task of storing plain lists of items.<p>I dont see how this is true. Provided sample with books is almost identical in yaml.<p>The main benefit over yaml looks like more control of individial fields but again, yaml based db app could do that too.
ausjke超过 7 年前
I noticed this is GPLv3, which means if you use this library, all your application will have to be open source, however IANAL.
评论 #15305373 未加载
评论 #15306318 未加载
评论 #15304713 未加载
评论 #15304396 未加载
oblib超过 7 年前
This reminds me a bit of using CGI.pm&#x27;s &quot;Save&quot; function. I built a pretty decent invoicing app using that and the searches for data in documents saved in that format are pretty fast.<p>I won&#x27;t pretend to know the ins-and-outs of that but was told on a Perl mail list that the server created a &quot;B-Tree&quot; index when an initial search was made and used that afterwards.
hellmann超过 7 年前
I do something similar with toml files for simple stuff. Python for piping around, but maybe this is more convenient on the commandline.
setheron超过 7 年前
Did this come out of Amazon ? I remember a similar set of tools for passing along &quot;recs&quot; through pipes.
rwmj超过 7 年前
I guess these are quite slow (because no indexing) once you have a serious number of records? That in itself isn&#x27;t a problem as long as you understand the scope of the project. I wonder why they didn&#x27;t use (a well-defined subset of) CSV as the format however.
评论 #15303658 未加载
评论 #15315517 未加载
评论 #15304642 未加载
kwhitefoot超过 7 年前
If you want something lighter to use text files as tables you could try TextQL: <a href="https:&#x2F;&#x2F;github.com&#x2F;dinedal&#x2F;textql" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dinedal&#x2F;textql</a>.
_euac超过 7 年前
Erm... am I the only one that&#x27;s a little thrown off by the &quot;mascot&quot; in this project?
评论 #15302457 未加载
评论 #15302373 未加载
评论 #15302363 未加载
评论 #15302371 未加载
评论 #15302300 未加载
评论 #15302304 未加载
评论 #15302323 未加载
评论 #15303353 未加载
评论 #15302315 未加载
评论 #15302335 未加载
评论 #15302588 未加载