Pacote para obter tabelas xlsx do SharePoint através de seu link
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bmlgraphapi-0.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for bmlgraphapi-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 904c7bf23b0498d6a7a4495074424c2b114042d250b8a8778a36ab6a6b7fc82f |
|
MD5 | 4511cc514fc1d28f7ed272fc9ca5f70a |
|
BLAKE2b-256 | 6732b99c6d8823e7b24eace0b4e873185e9473226ff9b59d8fc957487e24fdc3 |