Skip to main content

Need more problem ??

Project description

install

pip install problem

google sheet

sheet_type = 1 #0(read-only), 1(read and write)
url_id = '1mR5oLXxxXxxSdSSegtbxxxxxxxxL6Da7VSN_ThpSs' #id of share link
json = {'type': 'service_account',
        'project_id': 'demo',
        'private_key_id': 'cxxxc5xxxxxxxxxxxxxxx74xxxxxxx15x41',
        'private_key': '-----BEGIN PRIVATE KEY-----\xxxxxxxxxxxxxxxxxxxxx\n-----END PRIVATE KEY-----\n',
        'client_email': 'email@demo.iam.gserviceaccount.com',
        'client_id': '2xxx98xxxxxxxx475xx42',
        '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': 'https://www.googleapis.com/robot/v1/metadata/x5/email@demo.iam.gserviceaccount.com'}
gs = gsheet(sheet_type, json, url_id) #connect to sheet
sheet1 = gs.select_worksheet(1) #select sheet page
gs.update_row(sheet1, ['1', '20/12/2020', '200USD', 100]) #update row in sheet page

google drive

url_id = '1mR5oLXxxXxxSdSSegtbxxxxxxxxL6Da7VSN_ThpSs' #id of share link
gd = gdrive()
gd.download(url_id) #download file

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

problem-0.2.3.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file problem-0.2.3.tar.gz.

File metadata

  • Download URL: problem-0.2.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3

File hashes

Hashes for problem-0.2.3.tar.gz
Algorithm Hash digest
SHA256 0da1e02c01ea4b3abf6693a23752dd63c27e9ec4ba5c5dc54702b3c22f660c22
MD5 18c821f03148156d6b632dca18a02f78
BLAKE2b-256 0d7bb7a13420b158c84918868a283a7fef2d57c708397de952d6670f49939e59

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