File: rows.1

package info (click to toggle)
rows 0.2.1-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 784 kB
  • ctags: 547
  • sloc: python: 4,621; sh: 59; makefile: 33
file content (159 lines) | stat: -rw-r--r-- 3,540 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
.TH ROWS "1" "Sep 2015" "ROWS 0.1.0" "common, beautiful interface to tabular data, no matter the format"
.\" Text automatically generated by txt2man
.RS
.SH NAME
\fBrows \fP- common, beautiful interface to tabular data, no matter the format
\fB
.SH SYNOPSIS
.nf
.fam C
\fBrows\fP [\fIOPTIONS\fP] \fICOMMAND\fP [\fIARGS\fP] \.\.\.

.fam T
.fi
.fam T
.fi
.SH DESCRIPTION
No matter in which format your tabular data is: \fBrows\fP will import it,
automatically detect types and give you high-level Python objects so you can
start working with the data instead of trying to parse it.
It is also locale-and-unicode aware.
.SH OPTIONS
\fB--help\fP Show this message and exit
.SH COMMANDS
.
.PP
.nf
.fam C
 convert - Convert table on `source` URI to\.\.\.
 join    - Join tables from `source` URIs using `key(s)`\.\.\.
 sort    - Sort from `source` by `key(s)` and save into\.\.\.
 sum     - Sum tables from `source` URIs and save into\.\.\.

.fam T
.fi
.SS  SYNOPSIS
.nf
.fam C
\fBrows\fP \fIconvert\fP [\fIOPTIONS\fP] \fISOURCE\fP \fIDESTINATION\fP

.fam T
.fi
.fam T
.fi
.SS  DESCRIPTION
Convert table on `source` URI to `destination`
.SS  OPTIONS
\fB--input-encoding\fP TEXT
.PP
\fB--output-encoding\fP TEXT
.PP
\fB--input-locale\fP TEXT
.PP
\fB--output-locale\fP TEXT
.PP
\fB--help\fP Show this message and exit.
.SS  SYNOPSIS
.nf
.fam C
\fBrows\fP \fIjoin\fP [\fIOPTIONS\fP] \fIKEYS\fP \fISOURCES\fP \.\.\. \fIDESTINATION\fP

.fam T
.fi
.fam T
.fi
.SS  DESCRIPTION
Join tables from `source` URIs using `key(s)` to group \fBrows\fP and save into destination`
.SS  OPTIONS
\fB--input-encoding\fP TEXT
.PP
\fB--output-encoding\fP TEXT
.PP
\fB--input-locale\fP TEXT
.PP
\fB--output-locale\fP TEXT
.PP
\fB--help\fP Show this message and exit.
.SS  SYNOPSIS
.nf
.fam C
\fBrows\fP \fIsort\fP [\fIOPTIONS\fP] \fIKEY\fP \fISOURCE\fP \fIDESTINATION\fP

.fam T
.fi
.fam T
.fi
.SS  DESCRIPTION
Sort from `source` by `key(s)` and save into `destination`
.SS  OPTIONS
\fB--input-encoding\fP TEXT
.PP
\fB--output-encoding\fP TEXT
.PP
\fB--input-locale\fP TEXT
.PP
\fB--output-locale\fP TEXT
.PP
\fB--help\fP Show this message and exit.
.SS  SYNOPSIS
.nf
.fam C
\fBrows\fP \fIsum\fP [\fIOPTIONS\fP] \fISOURCES\fP \.\.\. \fIDESTINATION\fP

.fam T
.fi
.fam T
.fi
.SS  DESCRIPTION
Sum tables from `source` URIs and save into `destination`
.SS  OPTIONS
\fB--input-encoding\fP TEXT
.PP
\fB--output-encoding\fP TEXT
.PP
\fB--input-locale\fP TEXT
.PP
\fB--output-locale\fP TEXT
.PP
\fB--help\fP Show this message and exit.
.SH EXAMPLES
.IP \(bu 3
To export csv from site and converting locales from pt_BR to en both UTF-8
.PP
.nf
.fam C
    rows convert \-\-input-locale pt_BR.UTF-8 \-\-output-locale en.UTF-8 "<URL>" data.csv

.fam T
.fi
.IP \(bu 3
To export xls from site and no changes locales
.PP
.nf
.fam C
    rows convert "<URL>" data.xls

.fam T
.fi
.IP \(bu 3
To \fIconvert\fP csv to xls
.PP
.nf
.fam C
    rows convert file.csv file.xls

.fam T
.fi
.SH REPORTING BUGS
To report a bug please visit \fBrows\fP' issue tracking system at
<https://github.com/turicas/\fBrows\fP/issues>.
.SH AUTHOR
Written by Álvaro Justen <alvarojusten@gmail.com>.
.PP
This manual page was written by Paulo Roberto Alves de Oliveira (aka kretcheu)
<kretcheu@gmail.com> for the Debian project (but may be used by others).
.SH COPYRIGHT
Copyright © 2014-2015 Álvaro Justen.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO
WARRANTY, to the extent permitted by law.