Questions tagged [pydrive]

PyDrive is a wrapper library of google-api-python-client that simplifies many common Google Drive API tasks.

PyDrive is a wrapper library of google-api-python-client that simplifies many common Google Drive API tasks.

269 questions
0
votes
1 answer

pydrive: listFile does not list all files

I use pyDrive as a communication tool of my classic Python-based GIS and Google Earth Engine (GEE). Therefore, I need to transfer data from Google Drive to my local machine, but I face some problems: The upload of data works, and I can see uploaded…
Benjamin Mewes
  • 89
  • 2
  • 10
0
votes
1 answer

Daily Limit for Unauthenticated Use Exceeded when copy some files

I created a web app in python to copy files between my Google Drive accounts. Public shared files to my account. I got the following error { "error": { "errors": [ { "domain": "usageLimits", "reason": "dailyLimitExceededUnreg", …
0
votes
1 answer

How can I request from pyDrive a csv conversion to google spreadsheet that handles correctly the decimal separator mark?

I am using python to upload a csv file to Google Drive. The csv file uses decimal point as the decimal separator mark, but when converted to google spreadsheet misconversions come up: Example: a decimal number 1.10 is taken as text (aceptable), but…
EuripidesL
  • 123
  • 2
  • 8
0
votes
2 answers

pydrive: how do I rename the title of a google spreadsheet once I know the id?

Here under "Update file metadata" it shows how to change the title from a created file. I'm looking for how to change the title if I know the id or key. Or is there a way to do it in gspread?
jason
  • 3,811
  • 18
  • 92
  • 147
0
votes
0 answers

Uploading and listing files from a sharable google drive link with Pydrive

I have searched through the API's but haven't been able to find a way to upload files and download files(list files) pragmatically to a shared folder (and not my own google drive). Is there a way to do this?
Vansh Khurana
  • 657
  • 3
  • 9
  • 10
0
votes
2 answers

duplicity with Google drive not saving cache file

gdrive cache file never saves. It always ask to authenticate I also can't seem to find it anywhere else. I run the script from the directory that contains the bash script. Can you see anything that is wrong or what might be cause the cache file not…
0
votes
1 answer

Plain Text export from Google Docs with PYdrive has a centered dot in Github

I wrote a Pydrive script which downloads all the files in a specific folder. The docs get downloaded as 'sampleTitle.md' with the mimetype of 'text/plain'. then they simply get commited and pushed to my repo. Here is my python code for pydrive: def…
Opaldes
  • 193
  • 1
  • 10
0
votes
1 answer

pydrive: Losing file content during upload()

I currently have a 34x22 .xlsx spreadsheet. I am downloading it via pydrive, filling in some of the blank values, and uploading the file back via pydrive. When I upload the file back, all cells with formulas are blank (any cell that starts with…
0
votes
1 answer

Use Pydrive Without secret_client.json

I want to ask if I can use Pydrive without having secret_client.json in my directory. I'm using py2exe on a file that uses pydrive and it can't include the json file also. How can I combine the json and the python file together so that the py2exe…
P.Dowsen
  • 3
  • 3
0
votes
0 answers

Auto upload files to Google Drive using python script

I have the following code that auto authenticates/authorizes my google drive access. I have copied the client_secrets.json file in my script's parent directory. The code opens a browser tab and waits for me to click "Accept". After I accept, the…
0
votes
1 answer

Google Drive - Avoid complete file download if changes detected

Suppose user has granted an access to my app which can access user drive. And user imported a drive file in our website by using Google Picker, and that file is now also stored on our server. Webhooks are set to detect future changes to that file.…
Aamir Rind
  • 38,793
  • 23
  • 126
  • 164
-1
votes
1 answer

How to download files from selected folder of Google Drive replacing existing on Heroku?

I have files located on Google Drive (link "https://drive.google.com/drive/folders/1CuiRmfX2ORIzb62EM-L1x6UCm6t2uu4M?usp=sharing"). This file will be updated every day without code, just removing it from google drive and uploading a new one. I need…
-1
votes
1 answer

How can i change Google Colab script to run locally?

I have the following code that runs on google colab. I want to be able to run this code locally but I am constantly running into errors. # Auth GDrive auth.authenticate_user() gauth = GoogleAuth() gauth.credentials =…
K_BAT
  • 1
-1
votes
1 answer

google drive api to upload all pdfs to google drive

I am using the pydrive to upload pdf files to my google drive folder. I am wanting to send all *pdf files in a local folder at once with this code but not sure where to go from here? Should I use glob? If so I would like to see an example,…
1 2 3
17
18