Skip to content
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

commandline wrapper around tablib #139

Open
philadams-zz opened this issue Feb 10, 2014 · 3 comments
Open

commandline wrapper around tablib #139

philadams-zz opened this issue Feb 10, 2014 · 3 comments
Labels

Comments

@philadams-zz
Copy link

So, I'd be very interested in accessing tablib's functionality from the command line, particular in concert with csvkit or my own cut for csv, pluckr.

Is this something you've considered? Is it not something you see the tablib project itself including? Would a separate project that wraps and exposes tablib from the command line be better?

If a commandline interface to tablib is something that makes sense to you as part of this project, I'd be interested in contributing. Thoughts from everyone / @kennethreitz?

@brendano
Copy link

Hi, a sidenote -- a while ago, I wrote a bunch of commandline scripts that convert in and out of TSV formats:
https://github.com/brendano/tsvutils

I personally find them very useful. However, I wrote them before tablib was around (or before I knew about it), and I suspect that tablib might make for a more robust foundation.

@jhermann
Copy link
Member

jhermann commented Apr 8, 2015

The first step would be to define the look&feel of such a CLI tool, e.g.

tablib from ‹in.ext› to ‹out.ext›
foobar_yaml | tablib read yaml filter ‹condition› write json
…

Using Click or Cliff the implementation is then quite easy.

@vlcinsky
Copy link

Is https://github.com/kennethreitz/records what you are asking for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants