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
Release files for problem 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| problem-0.2.3.tar.gz | 3.9 kB | Details |
Release files / problem-0.2.3.tar.gz
| Download URL | problem-0.2.3.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0da1e02c01ea4b3abf6693a23752dd63c27e9ec4ba5c5dc54702b3c22f660c22
|
|
BLAKE2b-256 checksum How to use checksums |
0d7bb7a13420b158c84918868a283a7fef2d57c708397de952d6670f49939e59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|