A small example package
Project description
BMLGRAPHAPI
Pacote para obter tabelas xlsx do SharePoint através de seu link.
Exemplo de uso
import pandas as pd
from main import obter_planilha
client_id = "__TOKEN__"
client_secret = "__TOKEN__"
tenant_id = "__TOKEN__"
planilha_url = "https://xyz.sharepoint.com/sites/${SITE}/${DRIVE}/NOME_DA_TABELA.xlsx"
workbook = obter_planilha(client_id, client_secret, tenant_id, planilha_url)
aba = "NOME DA ABA"
print('Lendo a tabela:', aba)
linhas = workbook[aba].values
colunas = next(linhas)
planilha = pd.DataFrame(linhas, columns=colunas)
print(planilha)
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
brenda_teste-0.3.tar.gz
(1.6 kB
view details)
Built Distribution
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 brenda_teste-0.3.tar.gz.
File metadata
- Download URL: brenda_teste-0.3.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a518297daa450be9b634b1ef294d7eff84679a4eb9cc77ab249ab59c7f22cb05
|
|
| MD5 |
46e31a0c1ffb4a786d36ff3f5608cb91
|
|
| BLAKE2b-256 |
c3bb8c5b914e9794dc4b3a3886c04f363745e82e90d7dbf942cd4f6aa55d2352
|
File details
Details for the file brenda_teste-0.3-py3-none-any.whl.
File metadata
- Download URL: brenda_teste-0.3-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5f300c640441aefd54000997e49e8ee0884880cf3771afe4a2ac307943f8451
|
|
| MD5 |
c17d85c17bea840f6e208acba821c966
|
|
| BLAKE2b-256 |
2a7d90c6e20b9ebad75949d5888a05f790e229977b5975770fbc74a97eccb239
|