Skip to content

Commit

Permalink
csv2table: add own README
Browse files Browse the repository at this point in the history
  • Loading branch information
hydrargyrum committed Jul 2, 2022
1 parent db71006 commit 1b5d8ef
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
24 changes: 24 additions & 0 deletions csv2table/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# csv2table

Given this `sample.csv`:

```
name,color
zucchini,green
tomato,red
banana,yellow
orange,orange
```

When running `csv2table.py --header sample.csv`, the following table is output:

```
+----------+--------+
| name | color |
+----------+--------+
| zucchini | green |
| tomato | red |
| banana | yellow |
| orange | orange |
+----------+--------+
```
1 change: 1 addition & 0 deletions csv2table/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
prettytable
5 changes: 5 additions & 0 deletions csv2table/sample.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name,color
zucchini,green
tomato,red
banana,yellow
orange,orange

0 comments on commit 1b5d8ef

Please sign in to comment.