No project description provided
Project description
Rs-Tabler
This lib is used to format plain-text table, written in both Rust and Python.
Example
Code:
from tabler import tabler, utils
table = utils.auto_table_create(
header = ["Header Left", utils.auto_cell("Header Right").with_align(tabler.settings.Align.Right)],
content = [["Row", utils.auto_cell("Content").with_align(tabler.settings.Align.Right)] for _ in range(2)],
splitter = True
)
table.border = tabler.settings.Border.All
res = table.render(tabler.settings.Renderer.Normal)
print(res)
Output:
─────────────────────────────
| Header Left Header Right |
|───────────────────────────|
| Row Content |
| Row Content |
─────────────────────────────
Actually the border & header of the table is bold, but it cannot be rendered in markdown.
Future Plan
Waiting for report :)
Change Log
V0.1.0
Initial version.
Origin
This project is an encapsulation based on my rust crate table_formatter, with almost the same apis.
If you have any problems or this project has any bugs, you can make an issue on both this repo as well as the original repo.
License
MIT or Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rs_tabler-0.1.0.tar.gz
(10.7 kB
view hashes)
Built Distributions
rs_tabler-0.1.0-cp37-abi3-win32.whl
(194.5 kB
view hashes)
Close
Hashes for rs_tabler-0.1.0-cp37-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a0734d9f9e61d95cf705d16ebb98cc76bfee341e13d68e7654fe8d79f71d6b3 |
|
MD5 | d63a74fc835600aff3898bd7f076e764 |
|
BLAKE2b-256 | 9bcf0d57aac352d7507e0d0bab7dbf010bcef45bc13cc2d069b926314646a61e |
Close
Hashes for rs_tabler-0.1.0-cp37-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1093d0764f1cb16f42e86f7e5342f4a9629d5d6f318e061980c5625252e28f0e |
|
MD5 | 17cd2f9add97ecea3d305c2b8f4fae7c |
|
BLAKE2b-256 | 39eb36ca845dd9b057c621888f235a99e9a083c47a8d862188d99a328bcf24e8 |
Close
Hashes for rs_tabler-0.1.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a750a79039f2227328eb2bc6b59e4526baa6476f7a492d6f8bf61cfa0ae4522e |
|
MD5 | fb41b8f12ff1732f2e85f9b5b729ec1b |
|
BLAKE2b-256 | 2c81311b611833b8004c1edb12a03713ba42aa8807f190347e32dcb45335cbf8 |
Close
Hashes for rs_tabler-0.1.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 718c5a6f1ce76b8f9c0b1e95898a6f038df1e5f994425f2448251f490e20f017 |
|
MD5 | b51d4a33ddc6be24d237a4762bacff13 |
|
BLAKE2b-256 | 478a4f4da479258699fdef53683a3718c98b695700c63d941d2aaf63e50167ce |
Close
Hashes for rs_tabler-0.1.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c1fd377975a2ff757b5a0379803cc664aa6ad68f8e713c27af3fa63354baab1 |
|
MD5 | a2898c577ead5ea8ce5d9a8ec57cfab2 |
|
BLAKE2b-256 | 8546db09a5b082698bc795d91091750705f93f641bd4594c243c3c6242576fdc |
Close
Hashes for rs_tabler-0.1.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd9eaa49d6cdf257d28744f9e75a660a618e6e2da58b2b027b825b01569d92fd |
|
MD5 | 904a16469a6aad63bae17133e68ab5ab |
|
BLAKE2b-256 | 12583758df0848b31e376ed240582c575bbc1090b733c45cd3794eb6e9d145c3 |
Close
Hashes for rs_tabler-0.1.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dca378e899430dcbedae01bc4df226d281b4067847117796be2cee6a6803b2d7 |
|
MD5 | fa0cd7558cd7b138cf071fd4bbe903e7 |
|
BLAKE2b-256 | 43e2da8a59fce0a46d9c6c8df4c8db0fa0519e807b957aeeaa1ac4b0f49fac46 |
Close
Hashes for rs_tabler-0.1.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a70e4b511b884cb7b09ec22d0500dc6c26a364da7bf7d268ac364dca76db642 |
|
MD5 | 93e5bcfa8e9209206656f5a00bf7735f |
|
BLAKE2b-256 | c02157fe178f430eb1a1c3dc50e84e2cf54cbb607cb83c00bf7a30aeb820c936 |
Close
Hashes for rs_tabler-0.1.0-cp37-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db2692adb6ff1ee78c3e95125ca7e73787ad76a4cb992dfdff22c34297e2e267 |
|
MD5 | 73a54d183a237af2a892bc961d89eb19 |
|
BLAKE2b-256 | d5b654de2039035771d6d33870bec83bc07d0cbbb5e166318cc309ec21793c36 |
Close
Hashes for rs_tabler-0.1.0-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50d906573c851c862ba58ce7f54d100b67e0c61adc9a3977265505da54408761 |
|
MD5 | c143b11569dc00f642615c8095d79fb1 |
|
BLAKE2b-256 | 4f33dbb08133ac1776c2f95ec893aaee7d9f4dad682b8e2e3cec4b5a59c0ea30 |