Skip to main content

Python SDK for Google Sheet Interaction

Project description

leosheet

Python SDK for Google Sheet Interaction

installation

pip install leosheet

Steps

  1. put a .secrest.toml file in the save folder as your main python scritp, say main.py

    private_gsheets_url=""
    
    [gcp_service_account]
    type = "service_account"
    project_id = "xxx"
    private_key_id = "xxx"
    private_key = "xxx"
    client_email = "xxx"
    client_id = "xxx"
    auth_uri = "https://accounts.google.com/o/oauth2/auth"
    token_uri = "https://oauth2.googleapis.com/token"
    auth_provider_x509_cert_url = "https://www.googleapis.com/oauth2/v1/certs"
    client_x509_cert_url = "xxx"
    

    You can get this data by refering to https://docs.streamlit.io/develop/tutorials/databases/gcs

  2. run your main python script python main.py

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

leosheet-0.2.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

leosheet-0.2.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file leosheet-0.2.0.tar.gz.

File metadata

  • Download URL: leosheet-0.2.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for leosheet-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0e3ba87a7a9b8cc7c2b0763b1f0f7a48b94e9c9adc4b504f9fc002d7b71a0018
MD5 0611f2bfea2461592c10b1989d599ea2
BLAKE2b-256 38ba232554f1122272e64be1201f3efaacae304e5890f66d77e0d2b0d081e667

See more details on using hashes here.

File details

Details for the file leosheet-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: leosheet-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for leosheet-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 564181ec0ab153e7ee979d087afca8cce5aee47d9437247c094d5a05145d0568
MD5 168d724a941336647e56be5b3cd181fd
BLAKE2b-256 d121749d53b7dc9cb0b3ce2a6583a1a813f53968404bc92aec6a2ed7cea57793

See more details on using hashes here.

Supported by

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