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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rs_tabler-0.1.0.tar.gz.
File metadata
- Download URL: rs_tabler-0.1.0.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a27fb96480471172492264326688056aae43c7be3689e45c0dca758660463eb6
|
|
| MD5 |
9962e8b1710c4ae38709505ea98c16a1
|
|
| BLAKE2b-256 |
281e66e650543a2339a7e663f5c62396aa4dd517ce2f9b4d44c136205d78851f
|
File details
Details for the file rs_tabler-0.1.0-cp37-abi3-win_amd64.whl.
File metadata
- Download URL: rs_tabler-0.1.0-cp37-abi3-win_amd64.whl
- Upload date:
- Size: 205.2 kB
- Tags: CPython 3.7+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a0734d9f9e61d95cf705d16ebb98cc76bfee341e13d68e7654fe8d79f71d6b3
|
|
| MD5 |
d63a74fc835600aff3898bd7f076e764
|
|
| BLAKE2b-256 |
9bcf0d57aac352d7507e0d0bab7dbf010bcef45bc13cc2d069b926314646a61e
|
File details
Details for the file rs_tabler-0.1.0-cp37-abi3-win32.whl.
File metadata
- Download URL: rs_tabler-0.1.0-cp37-abi3-win32.whl
- Upload date:
- Size: 194.5 kB
- Tags: CPython 3.7+, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1093d0764f1cb16f42e86f7e5342f4a9629d5d6f318e061980c5625252e28f0e
|
|
| MD5 |
17cd2f9add97ecea3d305c2b8f4fae7c
|
|
| BLAKE2b-256 |
39eb36ca845dd9b057c621888f235a99e9a083c47a8d862188d99a328bcf24e8
|
File details
Details for the file rs_tabler-0.1.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rs_tabler-0.1.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a750a79039f2227328eb2bc6b59e4526baa6476f7a492d6f8bf61cfa0ae4522e
|
|
| MD5 |
fb41b8f12ff1732f2e85f9b5b729ec1b
|
|
| BLAKE2b-256 |
2c81311b611833b8004c1edb12a03713ba42aa8807f190347e32dcb45335cbf8
|
File details
Details for the file rs_tabler-0.1.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.
File metadata
- Download URL: rs_tabler-0.1.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ s390x
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
718c5a6f1ce76b8f9c0b1e95898a6f038df1e5f994425f2448251f490e20f017
|
|
| MD5 |
b51d4a33ddc6be24d237a4762bacff13
|
|
| BLAKE2b-256 |
478a4f4da479258699fdef53683a3718c98b695700c63d941d2aaf63e50167ce
|
File details
Details for the file rs_tabler-0.1.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.
File metadata
- Download URL: rs_tabler-0.1.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c1fd377975a2ff757b5a0379803cc664aa6ad68f8e713c27af3fa63354baab1
|
|
| MD5 |
a2898c577ead5ea8ce5d9a8ec57cfab2
|
|
| BLAKE2b-256 |
8546db09a5b082698bc795d91091750705f93f641bd4594c243c3c6242576fdc
|
File details
Details for the file rs_tabler-0.1.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.
File metadata
- Download URL: rs_tabler-0.1.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd9eaa49d6cdf257d28744f9e75a660a618e6e2da58b2b027b825b01569d92fd
|
|
| MD5 |
904a16469a6aad63bae17133e68ab5ab
|
|
| BLAKE2b-256 |
12583758df0848b31e376ed240582c575bbc1090b733c45cd3794eb6e9d145c3
|
File details
Details for the file rs_tabler-0.1.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: rs_tabler-0.1.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dca378e899430dcbedae01bc4df226d281b4067847117796be2cee6a6803b2d7
|
|
| MD5 |
fa0cd7558cd7b138cf071fd4bbe903e7
|
|
| BLAKE2b-256 |
43e2da8a59fce0a46d9c6c8df4c8db0fa0519e807b957aeeaa1ac4b0f49fac46
|
File details
Details for the file rs_tabler-0.1.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl.
File metadata
- Download URL: rs_tabler-0.1.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.7+, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a70e4b511b884cb7b09ec22d0500dc6c26a364da7bf7d268ac364dca76db642
|
|
| MD5 |
93e5bcfa8e9209206656f5a00bf7735f
|
|
| BLAKE2b-256 |
c02157fe178f430eb1a1c3dc50e84e2cf54cbb607cb83c00bf7a30aeb820c936
|
File details
Details for the file rs_tabler-0.1.0-cp37-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: rs_tabler-0.1.0-cp37-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 333.9 kB
- Tags: CPython 3.7+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db2692adb6ff1ee78c3e95125ca7e73787ad76a4cb992dfdff22c34297e2e267
|
|
| MD5 |
73a54d183a237af2a892bc961d89eb19
|
|
| BLAKE2b-256 |
d5b654de2039035771d6d33870bec83bc07d0cbbb5e166318cc309ec21793c36
|
File details
Details for the file rs_tabler-0.1.0-cp37-abi3-macosx_10_7_x86_64.whl.
File metadata
- Download URL: rs_tabler-0.1.0-cp37-abi3-macosx_10_7_x86_64.whl
- Upload date:
- Size: 346.4 kB
- Tags: CPython 3.7+, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50d906573c851c862ba58ce7f54d100b67e0c61adc9a3977265505da54408761
|
|
| MD5 |
c143b11569dc00f642615c8095d79fb1
|
|
| BLAKE2b-256 |
4f33dbb08133ac1776c2f95ec893aaee7d9f4dad682b8e2e3cec4b5a59c0ea30
|