Skip to content

Commit cbe836b

Browse files
committed
prep for 1.1.4 release
1 parent 22df325 commit cbe836b

File tree

13 files changed

+260
-4
lines changed

13 files changed

+260
-4
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Excel Workbooks and plain text files or content.
1515

1616
+ [csv2json](docs/csv2json/) - a tool to take a CSV file and convert it into a JSON array or a list of JSON blobs one per line
1717
+ [csv2mdtable](docs/csv2mdtable/) - a tool to render CSV as a Github Flavored Markdown table
18+
+ [csv2tab](docs/csv2tab/) - a tool to take a CSV file and convert to tab separated values
1819
+ [csv2xlsx](docs/csv2xlsx/) - a tool to take a CSV file and add it as a sheet to a Excel Workbook
1920
+ [csvcleaner](docs/csvcleaner/) - normalize a CSV file by column and row including trimming spaces and removing comments
2021
+ [csvcols](docs/csvcols/) - a tool for formatting command line arguments into CSV row of columns or filtering CSV rows for specific columns
@@ -27,6 +28,7 @@ Excel Workbooks and plain text files or content.
2728
+ [jsonjoin](docs/jsonjoin/) - a tool for joining JSON object documents
2829
+ [jsonmunge](docs/jsonmunge/) - a tool to transform JSON documents into something else
2930
+ [jsonrange](docs/jsonrange/) - a tool for iterating over JSON objects and arrays (return keys or values)
31+
+ [tab2csv](docs/tab2csv/) - a tool to convert from tab separated values to comma separated values
3032
+ [toml2json](docs/toml2json/) - a tool for converting TOML to JSON
3133
+ [xlsx2csv](docs/xlsx2csv/) - a tool for converting Excel Workbooks sheets to CSV files
3234
+ [xlsx2json](docs/xlsx2json/) - a tool for converting Excel Workbooks to JSON files

TODO.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,41 @@ <h2 id="bug">
5151
<input type="checkbox" disabled="" />findfile v0.0.23-pre option -f,
5252
-full-path doesn’t return full paths
5353
</li>
54+
<li>
55+
<input type="checkbox" disabled="" /><a
56+
href="https://github.com/caltechlibrary/datatools/issues/12">Issue
57+
#12</a>
58+
<ul>
59+
<li>
60+
do we support non-string representation of context?
61+
</li>
62+
<li>
63+
do we support string representation in person/organisation?
64+
</li>
65+
<li>
66+
is this added complexity worth it?
67+
</li>
68+
</ul>
69+
</li>
5470
</ul>
5571
<h2 id="next">
5672
Next
5773
</h2>
5874
<ul class="task-list">
5975
<li>
76+
<input type="checkbox" disabled="" />Possible needed tooling
77+
<ul>
78+
<li>
79+
A codemeta generator (e.g. read a CITATION.cff and write a codemeta
80+
file)
81+
</li>
82+
<li>
83+
A codemeta updater that would can be run from Make which would
84+
add/update the updateDate based on the release info at GitHub
85+
</li>
86+
</ul>
87+
</li>
88+
<li>
6089
<input type="checkbox" disabled="" />Drop cli package, update Makefile,
6190
switch from mk_website.py to website.mak, add Man pages
6291
</li>

TODO.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Bug
1414
Next
1515
----
1616

17+
+ [ ] Create man pages for all cli, adopt man page structure for usage.
1718
+ [ ] Possible needed tooling
18-
- A codemeta generator (e.g. read a CITATION.cff and write a codemeta file)
19-
- A codemeta updater that would can be run from Make which would add/update the updateDate based on the release info at GitHub
19+
- [x] A codemeta generator (e.g. read a CITATION.cff and write a codemeta file)
2020
+ [ ] Drop cli package, update Makefile, switch from mk_website.py to website.mak, add Man pages
2121
+ [ ] Review https://csvkit.readthedocs.io/en/latest/ and implement the features in datatools that make sense, e.g. csvsql, a csv2sql, sql2csv, etc.
2222
+ [ ] upgrade to use the new cli v0.0.5-dev

about.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
<h1 id="about-this-software">
4444
About this software
4545
</h1>
46-
<h2 id="datatools-1.1.3">
47-
datatools 1.1.3
46+
<h2 id="datatools-1.1.4">
47+
datatools 1.1.4
4848
</h2>
4949
<h3 id="authors">
5050
Authors

docs/csv2tab/index.html

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Caltech Library's Digital Library Development Sandbox</title>
5+
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
6+
<link rel="stylesheet" href="/css/site.css">
7+
</head>
8+
<body>
9+
<header>
10+
<a href="http://library.caltech.edu"><img src="/assets/liblogo.gif" alt="Caltech Library logo"></a>
11+
</header>
12+
<nav>
13+
<ul>
14+
<li>
15+
<a href="/">Home</a>
16+
</li>
17+
<li>
18+
<a href="../../index.html">README</a>
19+
</li>
20+
<li>
21+
<a href="../../license.html">LICENSE</a>
22+
</li>
23+
<li>
24+
<a href="../../install.html">INSTALL</a>
25+
</li>
26+
<li>
27+
<a href="../../docs/">Documentation</a>
28+
</li>
29+
<li>
30+
<a href="../../how-to/">How To</a>
31+
</li>
32+
<li>
33+
<a href="../../about.html">About</a>
34+
</li>
35+
<li>
36+
<a
37+
href="https://github.com/caltechlibrary/datatools">Github</a>
38+
</li>
39+
</ul>
40+
</nav>
41+
42+
<section>
43+
<p>
44+
USAGE
45+
</p>
46+
<p>
47+
csv2tab is a simple conversion utility to convert from CSV to tab
48+
separated values. csv2tab reads from standard input and writes to
49+
standard out.
50+
</p>
51+
<p>
52+
If my.tab contained
53+
</p>
54+
<pre><code>&quot;name&quot;,&quot;email&quot;,&quot;age&quot;
55+
&quot;Doe, Jane&quot;,&quot;[email protected]&quot;,42</code></pre>
56+
<p>
57+
Concert this to a tab separated values
58+
</p>
59+
<pre><code>csv2tab &lt; my.csv </code></pre>
60+
<p>
61+
This would yield
62+
</p>
63+
<pre><code>name email age
64+
Doe, Jane [email protected] 42</code></pre>
65+
</section>
66+
67+
<footer>
68+
<span><h1><A href="http://caltech.edu">Caltech</a></h1></span>
69+
<span>&copy; 2021 <a href="https://www.library.caltech.edu/copyright">Caltech library</a></span>
70+
<address>1200 E California Blvd, Mail Code 1-32, Pasadena, CA 91125-3200</address>
71+
<span>Phone: <a href="tel:+1-626-395-3405">(626)395-3405</a></span>
72+
<span><a href="mailto:[email protected]">Email Us</a></span>
73+
<a class="cl-hide" href="sitemap.xml">Site Map</a>
74+
</footer>
75+
</body>
76+
</html>

docs/csv2tab/index.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
USAGE
3+
4+
csv2tab is a simple conversion utility to convert from CSV to tab separated values.
5+
csv2tab reads from standard input and writes to standard out.
6+
7+
8+
If my.tab contained
9+
10+
"name","email","age"
11+
"Doe, Jane","[email protected]",42
12+
13+
Concert this to a tab separated values
14+
15+
csv2tab < my.csv
16+
17+
This would yield
18+
19+
name email age
20+
Doe, Jane [email protected] 42
21+

docs/csv2tab/nav.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
+ [Home](/)
2+
+ [README](../../index.html)
3+
+ [LICENSE](../../license.html)
4+
+ [INSTALL](../../install.html)
5+
+ [Documentation](../../docs/)
6+
+ [How To](../../how-to/)
7+
+ [About](../../about.html)
8+
+ [Github](https://github.com/caltechlibrary/datatools)

docs/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ <h2 id="commands">
5454
<a href="csv2mdtable/">csv2mdtable</a>
5555
</li>
5656
<li>
57+
<a href="csv2tab/">csv2tab</a>
58+
</li>
59+
<li>
5760
<a href="csv2xlsx/">csv2xlsx</a>
5861
</li>
5962
<li>
@@ -111,6 +114,9 @@ <h2 id="commands">
111114
<a href="string/">string</a>
112115
</li>
113116
<li>
117+
<a href="tab2csv/">tab2csv</a>
118+
</li>
119+
<li>
114120
<a href="timefmt/">timefmt</a>
115121
</li>
116122
<li>

docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
+ [csv2json](csv2json/)
77
+ [csv2mdtable](csv2mdtable/)
8+
+ [csv2tab](csv2tab/)
89
+ [csv2xlsx](csv2xlsx/)
910
+ [csvcleaner](csvcleaner/)
1011
+ [csvcols](csvcols/)
@@ -24,6 +25,7 @@
2425
+ [reldate](reldate/)
2526
+ [reltime](reltime/)
2627
+ [string](string/)
28+
+ [tab2csv](tab2csv/)
2729
+ [timefmt](timefmt/)
2830
+ [toml2json](toml2json/)
2931
+ [urlparse](urlparse/)

docs/tab2csv/index.html

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Caltech Library's Digital Library Development Sandbox</title>
5+
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
6+
<link rel="stylesheet" href="/css/site.css">
7+
</head>
8+
<body>
9+
<header>
10+
<a href="http://library.caltech.edu"><img src="/assets/liblogo.gif" alt="Caltech Library logo"></a>
11+
</header>
12+
<nav>
13+
<ul>
14+
<li>
15+
<a href="/">Home</a>
16+
</li>
17+
<li>
18+
<a href="../../index.html">README</a>
19+
</li>
20+
<li>
21+
<a href="../../license.html">LICENSE</a>
22+
</li>
23+
<li>
24+
<a href="../../install.html">INSTALL</a>
25+
</li>
26+
<li>
27+
<a href="../../docs/">Documentation</a>
28+
</li>
29+
<li>
30+
<a href="../../how-to/">How To</a>
31+
</li>
32+
<li>
33+
<a href="../../about.html">About</a>
34+
</li>
35+
<li>
36+
<a
37+
href="https://github.com/caltechlibrary/datatools">Github</a>
38+
</li>
39+
</ul>
40+
</nav>
41+
42+
<section>
43+
<p>
44+
USAGE
45+
</p>
46+
<p>
47+
tab2csv is a simple conversion utility to convert from tabs to quoted
48+
CSV. tab2csv reads from standard input and writes to standard out.
49+
</p>
50+
<p>
51+
If my.tab contained
52+
</p>
53+
<pre><code>name email age
54+
Doe, Jane [email protected] 42</code></pre>
55+
<p>
56+
Concert this to a CSV file format
57+
</p>
58+
<pre><code>tab2csv &lt; my.tab </code></pre>
59+
<p>
60+
This would yield
61+
</p>
62+
<pre><code>&quot;name&quot;,&quot;email&quot;,&quot;age&quot;
63+
&quot;Doe, Jane&quot;,&quot;[email protected]&quot;,42</code></pre>
64+
</section>
65+
66+
<footer>
67+
<span><h1><A href="http://caltech.edu">Caltech</a></h1></span>
68+
<span>&copy; 2021 <a href="https://www.library.caltech.edu/copyright">Caltech library</a></span>
69+
<address>1200 E California Blvd, Mail Code 1-32, Pasadena, CA 91125-3200</address>
70+
<span>Phone: <a href="tel:+1-626-395-3405">(626)395-3405</a></span>
71+
<span><a href="mailto:[email protected]">Email Us</a></span>
72+
<a class="cl-hide" href="sitemap.xml">Site Map</a>
73+
</footer>
74+
</body>
75+
</html>

0 commit comments

Comments
 (0)