-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to best use the code as a library? #253
Comments
Thanks! I'm you like the tools. Can you describe the types of functionality you'd like to see in a library? At present there are no plans to separate out and release library components from the individual applications. This could be done. It's mostly a matter of whether the time investment would be worthwhile. That said, it is possible to use the functionality in the However, I wouldn't recommend this anything really serious, simply because these features haven't been published with the intent of being a general library. For example, if it turns out that the tsv-utils need a change, these modules may get changed in a non-backward compatible way. The features in common are well tested though and should be relatively solid. There are some generally useful features in I'm guessing though that many of the more desirable features are higher up the stack. csv-to-tsv conversion, sampling routines, filtering, uniquing, etc. I'm definitely interested in hearing your thoughts on this. |
Well, I'll list a couple things I thought of that would be library candidates. One category is low-level utilities for manipulating TSV data. Here's the main thing is the inputFieldReordering. As it is it is useful but the interface is a bit rough. However, it would be especially useful in conjunction with support for named fields. There are a couple other worthwhile enhancements that could be added as well. Another category is algorithms that could be applied to streaming data generally. Quite a lot of tsv-utils is designed to operate on indefinite or infinite length input streams. There are also some algorithms useful outside the context of an input stream. This is a smaller set, but there are useful things that could be done. |
Sorry for answering late. Here are some thoughts/ideas:
|
Thanks, that's a useful list. |
I like TSV utils a lot. I'm wondering what's the best way to use the code as a library in own applications?
Is it planned to separate the generic code-parts into a library? Maybe even add them to Phobos? IMO that would make a lot of sense too.
The text was updated successfully, but these errors were encountered: