Skip to main content

Pytabela

Uma biblioteca com o intuito de gerar tabelas automaticamente.

Instalação

Instalação via pip:

python -m pip install -U PyTabela

Como Usar

Importação

from pyTabela import pyTabela
x = pyTabela.PyTabela()

Adição dos campos

x.addCampos(["id", "nome", "sobrenome"])

Adição das linhas

x.addLinha([1, "Pablo", "Silva"])

Voce pode adicionar uma linha a qualquer momento, mas é necessario adicionar o nome dos campos primeiramente com addCampos.

x = pyTabela.PyTabela()
x.addCampos(["id", "nome", "sobrenome"])
x.addLinha([1, "Pablo", "Silva"])
x.addLinha([2, "Vitória", "Karolina"])
x.addLinha([3, "Fulano", "de Tal"])
print(x)

Exemplo de Mostragem

+----+---------+-----------+
| id | nome    | sobrenome |
+----+---------+-----------+
| 1  | Pablo   | Silva     |
| 2  | Vitória | Karolina  |
| 3  | Fulano  | de Tal    |
+----+---------+-----------+

Exportar para CSV

a.saveTabela("Nome_Do_Arquivo.csv")

Importar de um arquivo CSV

a.loadTabela("Nome_Do_Arquivo.csv")

Metadata

Release files for PyTabela 0.0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyTabela 0.0.1.3
File Size Uploaded
PyTabela-0.0.1.3.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PyTabela 0.0.1.3
File Interpreter ABI Platform
PyTabela-0.0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / PyTabela-0.0.1.3.tar.gz

Download URL PyTabela-0.0.1.3.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
532219fbe78f849990e5716233d0328b647fb984f9b83e99e76790d949a2a5e2
BLAKE2b-256 checksum
How to use checksums
f49935d3316afd0ceed1fab14bef50e9f3b59d8f8a3d45f5cf8d01c41914be84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.3

Release files / PyTabela-0.0.1.3-py3-none-any.whl

Download URL PyTabela-0.0.1.3-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ca13dca0058ec225c3c86f52d13faa71d8449d1a569c38aea3966ed24852edc
BLAKE2b-256 checksum
How to use checksums
23f1d1f6502e22edcc1c2a1d4462e0c324c13625b05d7712bb48afdc4352cd95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.3

Release history Release notifications | RSS feed

This release

0.0.1.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page