Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brenda_teste-0.3-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

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

Hashes for brenda_teste-0.3.tar.gz
Algorithm Hash digest
SHA256 a518297daa450be9b634b1ef294d7eff84679a4eb9cc77ab249ab59c7f22cb05
MD5 46e31a0c1ffb4a786d36ff3f5608cb91
BLAKE2b-256 c3bb8c5b914e9794dc4b3a3886c04f363745e82e90d7dbf942cd4f6aa55d2352

See more details on using hashes here.

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

Hashes for brenda_teste-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a5f300c640441aefd54000997e49e8ee0884880cf3771afe4a2ac307943f8451
MD5 c17d85c17bea840f6e208acba821c966
BLAKE2b-256 2a7d90c6e20b9ebad75949d5888a05f790e229977b5975770fbc74a97eccb239

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page