Skip to content

Commit 325e8bf

Browse files
committed
Merge branch 'main' of https://github.com/DenverCoder1/table2ascii into main
2 parents ce71b7f + 1e2abb6 commit 325e8bf

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# table2ascii
22

3+
[![build](https://img.shields.io/github/workflow/status/DenverCoder1/table2ascii/Python%20application/main)](https://github.com/DenverCoder1/table2ascii/actions/workflows/python-app.yml)
4+
[![version](https://img.shields.io/pypi/v/table2ascii)](https://pypi.org/project/table2ascii/)
5+
[![license](https://img.shields.io/pypi/l/table2ascii)](https://github.com/DenverCoder1/table2ascii/blob/main/LICENSE)
6+
[![Discord](https://img.shields.io/discord/819650821314052106?color=7289DA&logo=discord&logoColor=white "Dev Pro Tips Discussion & Support Server")](https://discord.gg/fPrdqh3Zfu)
7+
38
Module for converting 2D Python lists to a fancy ASCII/Unicode tables
49

510
- [table2ascii](#table2ascii)
@@ -46,16 +51,16 @@ print(output)
4651
from table2ascii import table2ascii
4752

4853
output = table2ascii(
49-
body=[["1", "30", "40", "35", "30"], ["2", "30", "40", "35", "30"]]
54+
body=[["Assignment", "30", "40", "35", "30"], ["Bonus", "10", "20", "5", "10"]]
5055
)
5156

5257
print(output)
5358

5459
"""
55-
╔════════════════════════════╗
56-
1 ║ 30 40 35 30 ║
57-
2 ║ 30 40 35 30
58-
╚════════════════════════════╝
60+
╔════════════╦═══════════════════╗
61+
Assignment ║ 30 40 35 30 ║
62+
Bonus ║ 10 20 5 10
63+
╚════════════╩═══════════════════╝
5964
"""
6065
```
6166

@@ -88,4 +93,4 @@ To run tests (pytest)
8893

8994
To lint (flake8):
9095

91-
``python setup.py lint``
96+
``python setup.py lint``

0 commit comments

Comments
 (0)