diff --git a/.doctrees/environment.pickle b/.doctrees/environment.pickle index f21ec72d..10170c56 100644 Binary files a/.doctrees/environment.pickle and b/.doctrees/environment.pickle differ diff --git a/.doctrees/pydrive2.doctree b/.doctrees/pydrive2.doctree index 05f88b67..f434561d 100644 Binary files a/.doctrees/pydrive2.doctree and b/.doctrees/pydrive2.doctree differ diff --git a/pydrive2/index.html b/pydrive2/index.html index 582881d6..bad573b4 100644 --- a/pydrive2/index.html +++ b/pydrive2/index.html @@ -508,6 +508,8 @@

pydrive2 package
Parameters:
    diff --git a/searchindex.js b/searchindex.js index 4f9825b7..39e9f61f 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["filelist", "filemanagement", "fsspec", "genindex", "index", "oauth", "pydrive2", "quickstart"], "filenames": ["filelist.rst", "filemanagement.rst", "fsspec.rst", "genindex.rst", "index.rst", "oauth.rst", "pydrive2.rst", "quickstart.rst"], "titles": ["File listing made easy", "File management made easy", "fsspec filesystem", "Index", "Welcome to PyDrive2\u2019s documentation!", "OAuth made easy", "pydrive2 package", "Quickstart"], "terms": {"pydriv": [0, 1, 5], "handl": [0, 4, 5, 6, 7], "pars": [0, 7], "respons": [0, 7], "googledrivefil": [0, 1, 6, 7], "creat": [0, 1, 4, 5, 6], "googledrivefilelist": [0, 6], "instanc": [0, 1, 2, 5, 6, 7], "paramet": [0, 1, 4, 6], "dict": [0, 1, 5, 6, 7], "call": [0, 1, 5, 6, 7], "getlist": [0, 1, 6, 7], "you": [0, 1, 2, 4, 5, 6, 7], "your": [0, 1, 2, 4, 7], "The": [0, 1, 5, 6, 7], "syntax": 0, "possibl": [0, 5], "option": [0, 1, 5, 6], "q": [0, 1, 7], "can": [0, 1, 4, 5, 6, 7], "found": [0, 1], "search": [0, 7], "googl": [0, 1, 4, 5, 6, 7], "document": [0, 1, 7], "from": [0, 2, 4, 5, 6, 7], "pydrive2": [0, 1, 2, 5, 7], "drive": [0, 1, 4, 5, 7], "import": [0, 1, 2, 5, 7], "googledr": [0, 1, 5, 6, 7], "gauth": [0, 1, 5, 7], "authent": [0, 1, 4, 6], "googleauth": [0, 1, 5, 6, 7], "auto": [0, 5, 7], "root": [0, 2, 7], "folder": [0, 4, 5, 6], "file_list": [0, 7], "listfil": [0, 1, 6, 7], "parent": [0, 1, 7], "trash": [0, 2, 4, 6, 7], "fals": [0, 5, 6, 7], "file1": [0, 1, 7], "print": [0, 1, 2, 6, 7], "titl": [0, 1, 4, 6], "": [0, 1, 2, 6, 7], "id": [0, 4, 5, 6], "updat": [0, 4, 6], "metadata": [0, 4, 5, 6, 7], "content": [0, 6, 7], "need": [0, 1, 5, 7], "provid": [0, 1, 2, 5, 6, 7], "python": [0, 4, 6, 7], "wai": [0, 2], "here": [0, 1, 5, 7], "i": [0, 1, 4, 5, 6, 7], "an": [0, 1, 5, 6, 7], "exampl": [0, 1, 5], "how": [0, 2], "do": [0, 1, 5], "thi": [0, 1, 5, 6, 7], "maxresult": [0, 6], "below": [0, 7], "defin": [0, 1, 5], "mani": [0, 1, 4, 7], "retriev": [0, 1, 5, 6], "onc": [0, 6, 7], "we": [0, 1, 5, 6], "wrap": 0, "loop": 0, "sampl": [0, 1], "code": [0, 1, 5, 6, 7], "continu": [0, 1], "abov": [0, 1, 5], "specifi": [0, 6], "number": [0, 2, 6], "max": 0, "result": [0, 1, 6], "true": [0, 1, 2, 5, 6], "10": 0, "receiv": [0, 5], "len": 0, "There": [1, 7], "ar": [1, 2, 5, 6, 7], "method": [1, 2, 5, 6, 7], "With": [1, 7], "don": [1, 5, 6], "t": [1, 5, 6], "have": [1, 5, 6, 7], "care": 1, "about": [1, 2, 6], "ani": [1, 5, 6], "differ": [1, 7], "api": [1, 4, 5, 6, 7], "manipul": [1, 2], "object": [1, 6], "make": [1, 5, 6, 7], "optim": [1, 7], "hello": [1, 7], "txt": [1, 7], "createfil": [1, 6, 7], "file_id": 1, "now": [1, 5, 7], "open": [1, 6, 7], "web": [1, 6, 7], "interfac": 1, "check": [1, 6], "its": [1, 7], "world": [1, 7], "note": [1, 5], "actual": 1, "initi": [1, 6], "itself": [1, 5], "howev": [1, 5], "recommend": 1, "so": 1, "order": [1, 6], "keep": 1, "consist": 1, "mai": 1, "want": [1, 2, 5, 6, 7], "To": [1, 4, 5], "us": [1, 4, 5, 6, 7], "untrash": [1, 6], "move": [1, 2, 6], "recov": 1, "perman": 1, "immedi": 1, "out": [1, 5, 6], "just": [1, 5], "format": [1, 6, 7], "resourc": [1, 6], "helloworld": 1, "chang": [1, 6], "ha": [1, 6, 7], "might": [1, 2, 5], "In": [1, 5], "case": [1, 5], "access": [1, 5, 6], "file2": 1, "mimetyp": [1, 6, 7], "text": [1, 6], "plain": [1, 6], "Not": 1, "all": [1, 4, 5, 6, 7], "set": [1, 4, 7], "describ": 1, "give": 1, "through": [1, 2, 4, 6, 7], "file_object": 1, "fetchmetadata": [1, 6], "function": [1, 6, 7], "two": [1, 4, 6, 7], "field": [1, 5, 6], "fetch_al": [1, 6], "some": [1, 5, 7], "fetch": [1, 6], "basic": 1, "includ": [1, 6, 7], "size": [1, 6, 7], "last": 1, "modifi": [1, 6], "etc": [1, 5, 6], "avail": [1, 5, 6], "like": [1, 5, 6, 7], "label": [1, 6], "For": [1, 5, 6, 7], "more": [1, 2, 5, 7], "inform": [1, 2, 6, 7], "look": [1, 5, 7], "offici": [1, 6], "illustr": 1, "readabl": 1, "who": 1, "link": [1, 5], "insertpermiss": [1, 6], "type": [1, 5, 6, 7], "anyon": 1, "valu": [1, 5, 6], "role": 1, "reader": 1, "alternatelink": 1, "displai": 1, "sharabl": 1, "getpermiss": [1, 6], "after": [1, 6], "successfulli": 1, "find": 1, "permit": 1, "share": [1, 5, 6], "view": 1, "But": 1, "what": 1, "whether": [1, 6], "alreadi": [1, 2], "also": [1, 5, 7], "advanc": 1, "user": [1, 2, 5, 6], "shorthand": 1, "arrai": 1, "further": 1, "allow": [1, 7], "deletepermiss": [1, 6], "permission_id": [1, 6], "one": [1, 5, 6], "time": [1, 6], "1": 1, "name": [1, 6, 7], "other": 1, "constraint": 1, "usual": 1, "filenam": [1, 6], "uniqu": 1, "equal": 1, "extens": 1, "e": [1, 6], "g": [1, 6], "123": 1, "jpeg": 1, "mp3": 1, "expect": 1, "onli": [1, 5], "add": [1, 7], "see": [1, 2, 6, 7], "string": [1, 2, 5, 6, 7], "file_test": 1, "f": [1, 2, 4], "match": [1, 4, 7], "against": [1, 7], "getrevis": [1, 6], "If": [1, 5, 6], "doe": 1, "except": [1, 6], "rais": [1, 6], "either": 1, "setcontentfil": [1, 6], "setcontentstr": [1, 6, 7], "did": 1, "file4": 1, "appdata": 1, "json": [1, 2, 5, 6, 7], "applic": [1, 5, 6, 7], "firstnam": 1, "john": 1, "lastnam": 1, "smith": 1, "claudio": 1, "afshar": 1, "file5": 1, "read": [1, 5, 6], "cat": 1, "png": 1, "imag": 1, "getcontentfil": [1, 6], "which": [1, 2, 4, 5, 6, 7], "charact": 1, "encod": [1, 6], "store": [1, 5], "iso": 1, "8859": 1, "content_str": 1, "getcontentstr": [1, 6], "kept": 1, "when": [1, 5, 6], "io": [1, 6], "modul": [1, 4], "oper": 1, "resid": 1, "base64": 1, "decod": [1, 6], "without": 1, "save": [1, 5, 6], "image_test": 1, "o": [1, 5, 7], "implement": 1, "image_fil": 1, "bytesio": [1, 6], "image_byt": 1, "pass": [1, 6], "param": [1, 6], "previou": 1, "id_drive_fold": 1, "file6": 1, "catlov": 1, "file7": 1, "replac": 1, "familynam": 1, "known": [1, 6], "bom": [1, 6], "mark": [1, 6], "begin": 1, "confus": 1, "parser": 1, "lead": [1, 5], "corrupt": 1, "remove_bom": [1, 6], "strip_bom_exampl": 1, "py": [1, 7], "github": [1, 4], "repositori": 1, "identifi": [1, 2, 6, 7], "malwar": 1, "owner": 1, "been": 1, "spam": 1, "cannot": [1, 6], "error": [1, 6], "acknowledge_abus": [1, 2, 6], "By": [1, 2, 5], "indic": 1, "acknowledg": [1, 2, 6], "risk": [1, 2, 6], "potenti": 1, "easi": [2, 4, 7], "work": [2, 5, 7], "file": [2, 4, 5], "compat": 2, "gdrivefilesystem": [2, 6], "pip": [2, 4], "client_id": [2, 5, 6], "my_client_id": 2, "client_secret": [2, 5, 6, 7], "my_client_secret": 2, "default": [2, 5, 6], "credenti": [2, 5, 6, 7], "cach": 2, "per": 2, "multipl": 2, "profil": 2, "avoid": 2, "accident": 2, "someon": [2, 5], "els": [2, 7], "myprofil": 2, "write": [2, 6], "exist": [2, 5, 6, 7], "interact": 2, "auth": [2, 4, 5, 7], "client_json_file_path": [2, 5], "path": [2, 5, 6, 7], "keyfil": 2, "client_json": [2, 5], "json_str": 2, "use_service_account": 2, "client_user_email": [2, 5, 6], "deleg": [2, 5], "author": [2, 5, 6, 7], "trash_onli": 2, "bool": [2, 5, 6], "instead": 2, "delet": [2, 4, 6], "download": [2, 4, 5, 6, 7], "abus": [2, 4, 6], "info": 2, "dname": 2, "fname": 2, "walk": 2, "dir": 2, "offer": 2, "larg": 2, "get": [2, 4, 5, 6, 7], "refer": [2, 7], "doc": [2, 4], "wrapper": [4, 6], "librari": [4, 6], "client": [4, 5, 6, 7], "simplifi": 4, "common": [4, 6, 7], "task": [4, 7], "packag": 4, "http": [4, 5, 6, 7], "pypi": 4, "org": 4, "iter": [4, 6, 7], "ai": 4, "sourc": 4, "com": [4, 5, 6], "changelog": 4, "releas": 4, "regular": 4, "command": [4, 5, 6], "current": [4, 6, 7], "develop": 4, "version": 4, "git": 4, "egg": 4, "quickstart": [4, 5], "list": [4, 5, 6], "return": [4, 5, 6], "via": 4, "brows": 4, "oauth": [4, 7], "made": [4, 7], "line": [4, 6], "automat": [4, 6], "custom": 4, "yaml": [4, 6], "build": [4, 6], "own": [4, 7], "flow": [4, 6], "servic": [4, 6], "account": [4, 6], "manag": [4, 7], "upload": [4, 6, 7], "new": [4, 6, 7], "un": 4, "special": [4, 5, 7], "complex": [4, 5, 7], "queri": [4, 7], "data": [4, 5, 6, 7], "byte": [4, 6], "memori": 4, "buffer": [4, 6], "specif": [4, 6], "pagin": [4, 6, 7], "fsspec": [4, 6], "filesystem": [4, 6], "local": [4, 5, 6, 7], "webserv": [4, 5, 7], "addit": [4, 6], "apiattr": 4, "index": 4, "oauth2": [5, 6, 7], "0": [5, 6, 7], "difficult": 5, "start": 5, "simpl": [5, 7], "localwebserverauth": [5, 6, 7], "Or": 5, "commandlineauth": [5, 6], "past": [5, 7], "browser": [5, 6, 7], "site": 5, "token": [5, 6], "comment": 5, "altern": 5, "copi": [5, 6, 7], "entir": 5, "thing": 5, "editor": 5, "configur": [5, 6, 7], "consol": [5, 6, 7], "take": [5, 7], "detail": [5, 6, 7], "instruct": [5, 7], "built": 5, "up": 5, "manual": 5, "section": 5, "silent": 5, "remot": 5, "machin": 5, "setup": 5, "complic": 5, "requir": [5, 6, 7], "lot": 5, "most": [5, 6], "scope": 5, "www": [5, 6], "googleapi": [5, 6], "refresh": [5, 6], "while": [5, 6], "maintain": 5, "clean": [5, 6], "directori": [5, 7], "behavior": 5, "These": 5, "client_config_backend": [5, 6], "str": [5, 6], "client_config_fil": [5, 6], "client_config": [5, 6], "auth_uri": [5, 6], "token_uri": [5, 6], "redirect_uri": [5, 6], "revoke_uri": [5, 6], "service_config": 5, "client_json_dict": 5, "save_credenti": [5, 6], "save_credentials_backend": 5, "save_credentials_fil": 5, "save_credentials_dict": 5, "save_credentials_kei": 5, "get_refresh_token": 5, "oauth_scop": [5, 6], "explain": 5, "where": [5, 6], "valid": [5, 6], "No": 5, "contain": [5, 6], "place": [5, 7], "hold": 5, "dictionari": [5, 6], "ye": 5, "secret": 5, "server": [5, 6], "endpoint": 5, "uri": [5, 7], "redirect": [5, 7], "urn": 5, "ietf": 5, "wg": 5, "2": 5, "oob": 5, "revok": 5, "none": [5, 6, 7], "email": [5, 6], "wa": 5, "kei": [5, 6], "load": [5, 6], "backend": [5, 6], "destin": [5, 6], "within": 5, "along": 5, "9637341109347": 5, "app": [5, 7], "googleusercont": 5, "psdskoowr1p602pxrthi": 5, "instal": 5, "integr": 5, "websit": 5, "follw": 5, "url": [5, 6], "getauthurl": [5, 6], "ask": [5, 7], "visit": [5, 6], "grant": [5, 6], "oauth2callback": 5, "step": [5, 7], "too": 5, "auth_url": 5, "askusertovisitlinkandgivecod": 5, "A": [5, 6, 7], "intend": 5, "repres": 5, "non": 5, "human": 5, "typic": 5, "scenario": 5, "run": [5, 7], "workload": 5, "virtual": 5, "vm": 5, "center": 5, "ti": 5, "lifecycl": 5, "login": 5, "def": [5, 7], "login_with_service_account": 5, "serviceauth": [5, 6], "class": 6, "apiattribut": 6, "base": 6, "descriptor": 6, "apiattributemixin": 6, "mixin": 6, "global": 6, "variabl": 6, "apiresourc": 6, "arg": 6, "kwarg": 6, "super": 6, "inherit": 6, "behav": 6, "self": 6, "element": [6, 7], "effici": 6, "getchang": 6, "updatemetadata": 6, "them": 6, "overwritten": 6, "apiresourcelist": 6, "abstract": 6, "everi": 6, "otherwis": 6, "pagetoken": 6, "reset": 6, "autherror": 6, "authenticationerror": 6, "gener": 6, "authenticationreject": 6, "reject": 6, "checkauth": 6, "decorate": 6, "decor": 6, "request": 6, "checkserviceauth": 6, "settings_fil": 6, "http_timeout": 6, "oauth2client": 6, "perform": 6, "relat": 6, "given": [6, 7], "back": 6, "client_configs_list": 6, "commandlin": 6, "default_set": 6, "getflow": 6, "invalidconfigerror": 6, "get_http_object": 6, "httplib2": 6, "necessari": 6, "thread": 6, "safeti": 6, "each": 6, "rtype": 6, "loadclientconfig": 6, "accord": 6, "mind": 6, "correspond": 6, "loadclientconfigfil": 6, "config": 6, "loadclientconfigset": 6, "loadcredenti": 6, "empti": 6, "doesn": 6, "target": 6, "loadcredentialsfil": 6, "credentials_fil": 6, "invalidcredentialserror": 6, "loadserviceconfigset": 6, "host_nam": 6, "localhost": [6, 7], "port_numb": 6, "launch_brows": 6, "bind_addr": 6, "It": 6, "standalon": 6, "host": 6, "port": 6, "tri": 6, "should": 6, "launch": 6, "ip": 6, "address": 6, "listen": 6, "access_token": 6, "refresherror": 6, "service_configs_list": 6, "savecredenti": 6, "savecredentialsfil": 6, "p12": 6, "privat": 6, "properti": 6, "access_token_expir": 6, "expir": 6, "auth_method": 6, "oserror": 6, "try": 6, "loadauth": 6, "main": 6, "would": 6, "getabout": 6, "usag": 6, "quota": 6, "sent": 6, "apirequesterror": 6, "http_error": 6, "getfield": 6, "first": 6, "filenotdownloadableerror": 6, "runtimeerror": 6, "filenotuploadederror": 6, "target_fold": 6, "new_titl": 6, "hard": 6, "permiss": 6, "succe": 6, "fetchcont": 6, "download_url": 6, "entri": [6, 7], "separ": 6, "comma": 6, "callback": 6, "chunksiz": 6, "104857600": 6, "remov": 6, "argument": [6, 7], "total": 6, "transfer": 6, "int": 6, "standard": 6, "100": 6, "mb": 6, "1024": 6, "getcontentiobuff": 6, "mediaioread": 6, "utf": 6, "8": 6, "strip": 6, "collect": 6, "revis": 6, "new_permiss": 6, "insert": 6, "re": 6, "pleas": 6, "guid": 6, "Will": 6, "close": 6, "mean": 6, "choos": 6, "filelist": 6, "equival": 6, "iobuff": 6, "lightweight": 6, "retent": 6, "chunk": 6, "loadmetadata": 6, "pre_buff": 6, "remove_prefix": 6, "b": 6, "done": [6, 7], "loadsettingsfil": 6, "settingserror": 6, "validateset": 6, "abstractfilesystem": 6, "gdrive": 6, "life": 7, "much": 7, "easier": 7, "go": 7, "project": 7, "select": 7, "click": 7, "enabl": 7, "left": 7, "menu": 7, "product": 7, "consent": 7, "screen": 7, "follow": 7, "finish": 7, "enter": 7, "appropri": 7, "input": 7, "8080": 7, "right": 7, "side": 7, "client_secret_": 7, "realli": 7, "long": 7, "renam": 7, "accept": 7, "know": 7, "let": 7, "again": 7, "execut": 7, "treat": 7, "everyth": 7, "assign": 7, "thu": 7, "subfold": 7, "create_fold": 7, "parent_folder_id": 7, "subfolder_nam": 7, "newfold": 7, "kind": 7, "filelink": 7, "vnd": 7, "get_id_of_titl": 7, "demonstr": 7, "workflow": 7, "parent_directory_id": 7, "compar": 7, "foldered_list": 7, "output": 7, "attribut": 7, "parent_id": 7, "folder_brows": 7, "folder_list": 7, "nenter": 7, "inp": 7, "elif": 7, "home_directori": 7, "root_folder_nam": 7, "sep": 7, "usernam": 7, "makedir": 7, "folder_select": 7, "struc": 7, "append": 7, "insid": 7, "present": 7}, "objects": {"pydrive2": [[6, 0, 0, "-", "apiattr"], [6, 0, 0, "-", "auth"], [6, 0, 0, "-", "drive"], [6, 0, 0, "-", "files"], [6, 0, 0, "-", "settings"]], "pydrive2.apiattr": [[6, 1, 1, "", "ApiAttribute"], [6, 1, 1, "", "ApiAttributeMixin"], [6, 1, 1, "", "ApiResource"], [6, 1, 1, "", "ApiResourceList"]], "pydrive2.apiattr.ApiResource": [[6, 2, 1, "", "GetChanges"], [6, 2, 1, "", "UpdateMetadata"], [6, 3, 1, "", "auth"], [6, 2, 1, "", "update"]], "pydrive2.apiattr.ApiResourceList": [[6, 2, 1, "", "GetList"], [6, 2, 1, "", "Reset"], [6, 3, 1, "", "metadata"]], "pydrive2.auth": [[6, 4, 1, "", "AuthError"], [6, 4, 1, "", "AuthenticationError"], [6, 4, 1, "", "AuthenticationRejected"], [6, 5, 1, "", "CheckAuth"], [6, 5, 1, "", "CheckServiceAuth"], [6, 1, 1, "", "GoogleAuth"], [6, 4, 1, "", "InvalidCredentialsError"], [6, 5, 1, "", "LoadAuth"], [6, 4, 1, "", "RefreshError"]], "pydrive2.auth.GoogleAuth": [[6, 2, 1, "", "Auth"], [6, 2, 1, "", "Authenticate"], [6, 2, 1, "", "Authorize"], [6, 3, 1, "", "CLIENT_CONFIGS_LIST"], [6, 2, 1, "", "CommandLineAuth"], [6, 3, 1, "", "DEFAULT_SETTINGS"], [6, 2, 1, "", "GetAuthUrl"], [6, 2, 1, "", "GetFlow"], [6, 2, 1, "", "Get_Http_Object"], [6, 2, 1, "", "LoadClientConfig"], [6, 2, 1, "", "LoadClientConfigFile"], [6, 2, 1, "", "LoadClientConfigSettings"], [6, 2, 1, "", "LoadCredentials"], [6, 2, 1, "", "LoadCredentialsFile"], [6, 2, 1, "", "LoadServiceConfigSettings"], [6, 2, 1, "", "LocalWebserverAuth"], [6, 2, 1, "", "Refresh"], [6, 3, 1, "", "SERVICE_CONFIGS_LIST"], [6, 2, 1, "", "SaveCredentials"], [6, 2, 1, "", "SaveCredentialsFile"], [6, 2, 1, "", "ServiceAuth"], [6, 6, 1, "", "access_token_expired"], [6, 3, 1, "", "auth_method"], [6, 3, 1, "", "client_config"], [6, 3, 1, "", "credentials"], [6, 3, 1, "", "flow"], [6, 3, 1, "", "http"], [6, 3, 1, "", "service"], [6, 3, 1, "", "settings"]], "pydrive2.drive": [[6, 1, 1, "", "GoogleDrive"]], "pydrive2.drive.GoogleDrive": [[6, 2, 1, "", "CreateFile"], [6, 2, 1, "", "GetAbout"], [6, 2, 1, "", "ListFile"]], "pydrive2.files": [[6, 4, 1, "", "ApiRequestError"], [6, 4, 1, "", "FileNotDownloadableError"], [6, 4, 1, "", "FileNotUploadedError"], [6, 1, 1, "", "GoogleDriveFile"], [6, 1, 1, "", "GoogleDriveFileList"], [6, 1, 1, "", "IoBuffer"], [6, 5, 1, "", "LoadMetadata"], [6, 1, 1, "", "MediaIoReadable"]], "pydrive2.files.ApiRequestError": [[6, 2, 1, "", "GetField"]], "pydrive2.files.GoogleDriveFile": [[6, 2, 1, "", "Copy"], [6, 2, 1, "", "Delete"], [6, 2, 1, "", "DeletePermission"], [6, 2, 1, "", "FetchContent"], [6, 2, 1, "", "FetchMetadata"], [6, 2, 1, "", "GetContentFile"], [6, 2, 1, "", "GetContentIOBuffer"], [6, 2, 1, "", "GetContentString"], [6, 2, 1, "", "GetPermissions"], [6, 2, 1, "", "GetRevisions"], [6, 2, 1, "", "InsertPermission"], [6, 2, 1, "", "SetContentFile"], [6, 2, 1, "", "SetContentString"], [6, 2, 1, "", "Trash"], [6, 2, 1, "", "UnTrash"], [6, 2, 1, "", "Upload"], [6, 3, 1, "", "content"], [6, 3, 1, "", "metadata"], [6, 3, 1, "", "uploaded"]], "pydrive2.files.IoBuffer": [[6, 2, 1, "", "read"], [6, 2, 1, "", "write"]], "pydrive2.files.MediaIoReadable": [[6, 2, 1, "", "read"]], "pydrive2.fs": [[6, 1, 1, "", "GDriveFileSystem"]], "pydrive2.settings": [[6, 4, 1, "", "InvalidConfigError"], [6, 5, 1, "", "LoadSettingsFile"], [6, 4, 1, "", "SettingsError"], [6, 5, 1, "", "ValidateSettings"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:exception", "5": "py:function", "6": "py:property"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "exception", "Python exception"], "5": ["py", "function", "Python function"], "6": ["py", "property", "Python property"]}, "titleterms": {"file": [0, 1, 6, 7], "list": [0, 1, 7], "made": [0, 1, 5], "easi": [0, 1, 5], "get": [0, 1], "all": 0, "which": 0, "match": 0, "queri": [0, 1], "pagin": 0, "iter": 0, "through": 0, "manag": 1, "upload": 1, "new": 1, "delet": 1, "trash": 1, "un": 1, "updat": [1, 7], "metadata": 1, "download": 1, "from": 1, "id": [1, 7], "handl": 1, "special": 1, "insert": 1, "permiss": 1, "remov": 1, "complex": 1, "revis": 1, "content": [1, 4], "data": 1, "byte": 1, "memori": 1, "buffer": 1, "specif": 1, "folder": [1, 7], "abus": 1, "fsspec": 2, "filesystem": 2, "instal": [2, 4], "local": 2, "webserv": 2, "servic": [2, 5], "account": [2, 5], "addit": 2, "paramet": 2, "us": 2, "index": 3, "welcom": 4, "pydrive2": [4, 6], "": 4, "document": 4, "project": 4, "info": 4, "how": 4, "tabl": 4, "oauth": 5, "authent": [5, 7], "two": 5, "line": 5, "automat": 5, "custom": 5, "set": [5, 6], "yaml": 5, "sampl": 5, "build": 5, "your": 5, "own": 5, "flow": 5, "packag": 6, "apiattr": 6, "modul": 6, "auth": 6, "drive": 6, "f": 6, "quickstart": 7, "creat": 7, "return": 7, "via": 7, "titl": 7, "brows": 7}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 58}, "alltitles": {"File listing made easy": [[0, "file-listing-made-easy"]], "Get all files which matches the query": [[0, "get-all-files-which-matches-the-query"]], "Paginate and iterate through files": [[0, "paginate-and-iterate-through-files"]], "File management made easy": [[1, "file-management-made-easy"]], "Upload a new file": [[1, "upload-a-new-file"]], "Delete, Trash and un-Trash files": [[1, "delete-trash-and-un-trash-files"]], "Update file metadata": [[1, "update-file-metadata"]], "Download file metadata from file ID": [[1, "download-file-metadata-from-file-id"]], "Handling special metadata": [[1, "handling-special-metadata"]], "Insert permissions": [[1, "insert-permissions"]], "List permissions": [[1, "list-permissions"]], "Remove a Permission": [[1, "remove-a-permission"]], "Get files by complex queries": [[1, "get-files-by-complex-queries"]], "List revisions": [[1, "list-revisions"]], "Upload and update file content": [[1, "upload-and-update-file-content"]], "Upload data as bytes in memory buffer": [[1, "upload-data-as-bytes-in-memory-buffer"]], "Upload file to a specific folder": [[1, "upload-file-to-a-specific-folder"]], "Download file content": [[1, "download-file-content"]], "Abusive files": [[1, "abusive-files"]], "fsspec filesystem": [[2, "fsspec-filesystem"]], "Installation": [[2, "installation"]], "Local webserver": [[2, "local-webserver"]], "Service account": [[2, "service-account"]], "Additional parameters": [[2, "additional-parameters"]], "Using filesystem": [[2, "using-filesystem"]], "Index": [[3, "index"]], "Welcome to PyDrive2\u2019s documentation!": [[4, "welcome-to-pydrive2-s-documentation"]], "Project Info": [[4, "project-info"]], "How to install": [[4, "how-to-install"]], "Table of Contents": [[4, "table-of-contents"]], "OAuth made easy": [[5, "oauth-made-easy"]], "Authentication in two lines": [[5, "authentication-in-two-lines"]], "Automatic and custom authentication with settings.yaml": [[5, "automatic-and-custom-authentication-with-settings-yaml"]], "Sample settings.yaml": [[5, "sample-settings-yaml"]], "Building your own authentication flow": [[5, "building-your-own-authentication-flow"]], "Authentication with a service account": [[5, "authentication-with-a-service-account"]], "pydrive2 package": [[6, "pydrive2-package"]], "pydrive2.apiattr module": [[6, "module-pydrive2.apiattr"]], "pydrive2.auth module": [[6, "module-pydrive2.auth"]], "pydrive2.drive module": [[6, "module-pydrive2.drive"]], "pydrive2.files module": [[6, "module-pydrive2.files"]], "pydrive2.settings module": [[6, "module-pydrive2.settings"]], "pydrive2.fs module": [[6, "pydrive2-fs-module"]], "Quickstart": [[7, "quickstart"]], "Authentication": [[7, "authentication"]], "Creating and Updating Files": [[7, "creating-and-updating-files"]], "Listing Files": [[7, "listing-files"]], "Creating a Folder": [[7, "creating-a-folder"]], "Return File ID via File Title": [[7, "return-file-id-via-file-title"]], "Browse Folders": [[7, "browse-folders"]]}, "indexentries": {"apiattribute (class in pydrive2.apiattr)": [[6, "pydrive2.apiattr.ApiAttribute"]], "apiattributemixin (class in pydrive2.apiattr)": [[6, "pydrive2.apiattr.ApiAttributeMixin"]], "apirequesterror": [[6, "pydrive2.files.ApiRequestError"]], "apiresource (class in pydrive2.apiattr)": [[6, "pydrive2.apiattr.ApiResource"]], "apiresourcelist (class in pydrive2.apiattr)": [[6, "pydrive2.apiattr.ApiResourceList"]], "auth() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.Auth"]], "autherror": [[6, "pydrive2.auth.AuthError"]], "authenticate() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.Authenticate"]], "authenticationerror": [[6, "pydrive2.auth.AuthenticationError"]], "authenticationrejected": [[6, "pydrive2.auth.AuthenticationRejected"]], "authorize() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.Authorize"]], "client_configs_list (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.CLIENT_CONFIGS_LIST"]], "checkauth() (in module pydrive2.auth)": [[6, "pydrive2.auth.CheckAuth"]], "checkserviceauth() (in module pydrive2.auth)": [[6, "pydrive2.auth.CheckServiceAuth"]], "commandlineauth() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.CommandLineAuth"]], "copy() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.Copy"]], "createfile() (pydrive2.drive.googledrive method)": [[6, "pydrive2.drive.GoogleDrive.CreateFile"]], "default_settings (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.DEFAULT_SETTINGS"]], "delete() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.Delete"]], "deletepermission() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.DeletePermission"]], "fetchcontent() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.FetchContent"]], "fetchmetadata() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.FetchMetadata"]], "filenotdownloadableerror": [[6, "pydrive2.files.FileNotDownloadableError"]], "filenotuploadederror": [[6, "pydrive2.files.FileNotUploadedError"]], "gdrivefilesystem (class in pydrive2.fs)": [[6, "pydrive2.fs.GDriveFileSystem"]], "getabout() (pydrive2.drive.googledrive method)": [[6, "pydrive2.drive.GoogleDrive.GetAbout"]], "getauthurl() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.GetAuthUrl"]], "getchanges() (pydrive2.apiattr.apiresource method)": [[6, "pydrive2.apiattr.ApiResource.GetChanges"]], "getcontentfile() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.GetContentFile"]], "getcontentiobuffer() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.GetContentIOBuffer"]], "getcontentstring() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.GetContentString"]], "getfield() (pydrive2.files.apirequesterror method)": [[6, "pydrive2.files.ApiRequestError.GetField"]], "getflow() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.GetFlow"]], "getlist() (pydrive2.apiattr.apiresourcelist method)": [[6, "pydrive2.apiattr.ApiResourceList.GetList"]], "getpermissions() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.GetPermissions"]], "getrevisions() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.GetRevisions"]], "get_http_object() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.Get_Http_Object"]], "googleauth (class in pydrive2.auth)": [[6, "pydrive2.auth.GoogleAuth"]], "googledrive (class in pydrive2.drive)": [[6, "pydrive2.drive.GoogleDrive"]], "googledrivefile (class in pydrive2.files)": [[6, "pydrive2.files.GoogleDriveFile"]], "googledrivefilelist (class in pydrive2.files)": [[6, "pydrive2.files.GoogleDriveFileList"]], "insertpermission() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.InsertPermission"]], "invalidconfigerror": [[6, "pydrive2.settings.InvalidConfigError"]], "invalidcredentialserror": [[6, "pydrive2.auth.InvalidCredentialsError"]], "iobuffer (class in pydrive2.files)": [[6, "pydrive2.files.IoBuffer"]], "listfile() (pydrive2.drive.googledrive method)": [[6, "pydrive2.drive.GoogleDrive.ListFile"]], "loadauth() (in module pydrive2.auth)": [[6, "pydrive2.auth.LoadAuth"]], "loadclientconfig() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.LoadClientConfig"]], "loadclientconfigfile() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.LoadClientConfigFile"]], "loadclientconfigsettings() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.LoadClientConfigSettings"]], "loadcredentials() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.LoadCredentials"]], "loadcredentialsfile() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.LoadCredentialsFile"]], "loadmetadata() (in module pydrive2.files)": [[6, "pydrive2.files.LoadMetadata"]], "loadserviceconfigsettings() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.LoadServiceConfigSettings"]], "loadsettingsfile() (in module pydrive2.settings)": [[6, "pydrive2.settings.LoadSettingsFile"]], "localwebserverauth() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.LocalWebserverAuth"]], "mediaioreadable (class in pydrive2.files)": [[6, "pydrive2.files.MediaIoReadable"]], "refresh() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.Refresh"]], "refresherror": [[6, "pydrive2.auth.RefreshError"]], "reset() (pydrive2.apiattr.apiresourcelist method)": [[6, "pydrive2.apiattr.ApiResourceList.Reset"]], "service_configs_list (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.SERVICE_CONFIGS_LIST"]], "savecredentials() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.SaveCredentials"]], "savecredentialsfile() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.SaveCredentialsFile"]], "serviceauth() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.ServiceAuth"]], "setcontentfile() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.SetContentFile"]], "setcontentstring() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.SetContentString"]], "settingserror": [[6, "pydrive2.settings.SettingsError"]], "trash() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.Trash"]], "untrash() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.UnTrash"]], "updatemetadata() (pydrive2.apiattr.apiresource method)": [[6, "pydrive2.apiattr.ApiResource.UpdateMetadata"]], "upload() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.Upload"]], "validatesettings() (in module pydrive2.settings)": [[6, "pydrive2.settings.ValidateSettings"]], "access_token_expired (pydrive2.auth.googleauth property)": [[6, "pydrive2.auth.GoogleAuth.access_token_expired"]], "auth (pydrive2.apiattr.apiresource attribute)": [[6, "pydrive2.apiattr.ApiResource.auth"]], "auth_method (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.auth_method"]], "client_config (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.client_config"]], "content (pydrive2.files.googledrivefile attribute)": [[6, "pydrive2.files.GoogleDriveFile.content"]], "credentials (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.credentials"]], "flow (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.flow"]], "http (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.http"]], "metadata (pydrive2.apiattr.apiresourcelist attribute)": [[6, "pydrive2.apiattr.ApiResourceList.metadata"]], "metadata (pydrive2.files.googledrivefile attribute)": [[6, "pydrive2.files.GoogleDriveFile.metadata"]], "module": [[6, "module-pydrive2.apiattr"], [6, "module-pydrive2.auth"], [6, "module-pydrive2.drive"], [6, "module-pydrive2.files"], [6, "module-pydrive2.settings"]], "pydrive2.apiattr": [[6, "module-pydrive2.apiattr"]], "pydrive2.auth": [[6, "module-pydrive2.auth"]], "pydrive2.drive": [[6, "module-pydrive2.drive"]], "pydrive2.files": [[6, "module-pydrive2.files"]], "pydrive2.settings": [[6, "module-pydrive2.settings"]], "read() (pydrive2.files.iobuffer method)": [[6, "pydrive2.files.IoBuffer.read"]], "read() (pydrive2.files.mediaioreadable method)": [[6, "pydrive2.files.MediaIoReadable.read"]], "service (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.service"]], "settings (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.settings"]], "update() (pydrive2.apiattr.apiresource method)": [[6, "pydrive2.apiattr.ApiResource.update"]], "uploaded (pydrive2.files.googledrivefile attribute)": [[6, "pydrive2.files.GoogleDriveFile.uploaded"]], "write() (pydrive2.files.iobuffer method)": [[6, "pydrive2.files.IoBuffer.write"]]}}) \ No newline at end of file +Search.setIndex({"docnames": ["filelist", "filemanagement", "fsspec", "genindex", "index", "oauth", "pydrive2", "quickstart"], "filenames": ["filelist.rst", "filemanagement.rst", "fsspec.rst", "genindex.rst", "index.rst", "oauth.rst", "pydrive2.rst", "quickstart.rst"], "titles": ["File listing made easy", "File management made easy", "fsspec filesystem", "Index", "Welcome to PyDrive2\u2019s documentation!", "OAuth made easy", "pydrive2 package", "Quickstart"], "terms": {"pydriv": [0, 1, 5], "handl": [0, 4, 5, 6, 7], "pars": [0, 7], "respons": [0, 7], "googledrivefil": [0, 1, 6, 7], "creat": [0, 1, 4, 5, 6], "googledrivefilelist": [0, 6], "instanc": [0, 1, 2, 5, 6, 7], "paramet": [0, 1, 4, 6], "dict": [0, 1, 5, 6, 7], "call": [0, 1, 5, 6, 7], "getlist": [0, 1, 6, 7], "you": [0, 1, 2, 4, 5, 6, 7], "your": [0, 1, 2, 4, 7], "The": [0, 1, 5, 6, 7], "syntax": 0, "possibl": [0, 5], "option": [0, 1, 5, 6], "q": [0, 1, 7], "can": [0, 1, 4, 5, 6, 7], "found": [0, 1], "search": [0, 7], "googl": [0, 1, 4, 5, 6, 7], "document": [0, 1, 7], "from": [0, 2, 4, 5, 6, 7], "pydrive2": [0, 1, 2, 5, 7], "drive": [0, 1, 4, 5, 7], "import": [0, 1, 2, 5, 7], "googledr": [0, 1, 5, 6, 7], "gauth": [0, 1, 5, 7], "authent": [0, 1, 4, 6], "googleauth": [0, 1, 5, 6, 7], "auto": [0, 5, 7], "root": [0, 2, 7], "folder": [0, 4, 5, 6], "file_list": [0, 7], "listfil": [0, 1, 6, 7], "parent": [0, 1, 7], "trash": [0, 2, 4, 6, 7], "fals": [0, 5, 6, 7], "file1": [0, 1, 7], "print": [0, 1, 2, 6, 7], "titl": [0, 1, 4, 6], "": [0, 1, 2, 6, 7], "id": [0, 4, 5, 6], "updat": [0, 4, 6], "metadata": [0, 4, 5, 6, 7], "content": [0, 6, 7], "need": [0, 1, 5, 7], "provid": [0, 1, 2, 5, 6, 7], "python": [0, 4, 6, 7], "wai": [0, 2], "here": [0, 1, 5, 7], "i": [0, 1, 4, 5, 6, 7], "an": [0, 1, 5, 6, 7], "exampl": [0, 1, 5], "how": [0, 2], "do": [0, 1, 5], "thi": [0, 1, 5, 6, 7], "maxresult": [0, 6], "below": [0, 7], "defin": [0, 1, 5], "mani": [0, 1, 4, 7], "retriev": [0, 1, 5, 6], "onc": [0, 6, 7], "we": [0, 1, 5, 6], "wrap": 0, "loop": 0, "sampl": [0, 1], "code": [0, 1, 5, 6, 7], "continu": [0, 1], "abov": [0, 1, 5], "specifi": [0, 6], "number": [0, 2, 6], "max": 0, "result": [0, 1, 6], "true": [0, 1, 2, 5, 6], "10": 0, "receiv": [0, 5], "len": 0, "There": [1, 7], "ar": [1, 2, 5, 6, 7], "method": [1, 2, 5, 6, 7], "With": [1, 7], "don": [1, 5, 6], "t": [1, 5, 6], "have": [1, 5, 6, 7], "care": 1, "about": [1, 2, 6], "ani": [1, 5, 6], "differ": [1, 7], "api": [1, 4, 5, 6, 7], "manipul": [1, 2], "object": [1, 6], "make": [1, 5, 6, 7], "optim": [1, 7], "hello": [1, 7], "txt": [1, 7], "createfil": [1, 6, 7], "file_id": 1, "now": [1, 5, 7], "open": [1, 6, 7], "web": [1, 6, 7], "interfac": 1, "check": [1, 6], "its": [1, 7], "world": [1, 7], "note": [1, 5], "actual": 1, "initi": [1, 6], "itself": [1, 5], "howev": [1, 5], "recommend": 1, "so": 1, "order": [1, 6], "keep": 1, "consist": 1, "mai": 1, "want": [1, 2, 5, 6, 7], "To": [1, 4, 5], "us": [1, 4, 5, 6, 7], "untrash": [1, 6], "move": [1, 2, 6], "recov": 1, "perman": 1, "immedi": 1, "out": [1, 5, 6], "just": [1, 5], "format": [1, 6, 7], "resourc": [1, 6], "helloworld": 1, "chang": [1, 6], "ha": [1, 6, 7], "might": [1, 2, 5], "In": [1, 5], "case": [1, 5], "access": [1, 5, 6], "file2": 1, "mimetyp": [1, 6, 7], "text": [1, 6], "plain": [1, 6], "Not": 1, "all": [1, 4, 5, 6, 7], "set": [1, 4, 7], "describ": 1, "give": 1, "through": [1, 2, 4, 6, 7], "file_object": 1, "fetchmetadata": [1, 6], "function": [1, 6, 7], "two": [1, 4, 6, 7], "field": [1, 5, 6], "fetch_al": [1, 6], "some": [1, 5, 7], "fetch": [1, 6], "basic": 1, "includ": [1, 6, 7], "size": [1, 6, 7], "last": 1, "modifi": [1, 6], "etc": [1, 5, 6], "avail": [1, 5, 6], "like": [1, 5, 6, 7], "label": [1, 6], "For": [1, 5, 6, 7], "more": [1, 2, 5, 7], "inform": [1, 2, 6, 7], "look": [1, 5, 7], "offici": [1, 6], "illustr": 1, "readabl": 1, "who": 1, "link": [1, 5], "insertpermiss": [1, 6], "type": [1, 5, 6, 7], "anyon": 1, "valu": [1, 5, 6], "role": 1, "reader": 1, "alternatelink": 1, "displai": 1, "sharabl": 1, "getpermiss": [1, 6], "after": [1, 6], "successfulli": 1, "find": 1, "permit": 1, "share": [1, 5, 6], "view": 1, "But": 1, "what": 1, "whether": [1, 6], "alreadi": [1, 2], "also": [1, 5, 7], "advanc": 1, "user": [1, 2, 5, 6], "shorthand": 1, "arrai": 1, "further": 1, "allow": [1, 7], "deletepermiss": [1, 6], "permission_id": [1, 6], "one": [1, 5, 6], "time": [1, 6], "1": 1, "name": [1, 6, 7], "other": 1, "constraint": 1, "usual": 1, "filenam": [1, 6], "uniqu": 1, "equal": 1, "extens": 1, "e": [1, 6], "g": [1, 6], "123": 1, "jpeg": 1, "mp3": 1, "expect": 1, "onli": [1, 5], "add": [1, 7], "see": [1, 2, 6, 7], "string": [1, 2, 5, 6, 7], "file_test": 1, "f": [1, 2, 4], "match": [1, 4, 7], "against": [1, 7], "getrevis": [1, 6], "If": [1, 5, 6], "doe": 1, "except": [1, 6], "rais": [1, 6], "either": 1, "setcontentfil": [1, 6], "setcontentstr": [1, 6, 7], "did": 1, "file4": 1, "appdata": 1, "json": [1, 2, 5, 6, 7], "applic": [1, 5, 6, 7], "firstnam": 1, "john": 1, "lastnam": 1, "smith": 1, "claudio": 1, "afshar": 1, "file5": 1, "read": [1, 5, 6], "cat": 1, "png": 1, "imag": 1, "getcontentfil": [1, 6], "which": [1, 2, 4, 5, 6, 7], "charact": 1, "encod": [1, 6], "store": [1, 5], "iso": 1, "8859": 1, "content_str": 1, "getcontentstr": [1, 6], "kept": 1, "when": [1, 5, 6], "io": [1, 6], "modul": [1, 4], "oper": 1, "resid": 1, "base64": 1, "decod": [1, 6], "without": 1, "save": [1, 5, 6], "image_test": 1, "o": [1, 5, 7], "implement": 1, "image_fil": 1, "bytesio": [1, 6], "image_byt": 1, "pass": [1, 6], "param": [1, 6], "previou": 1, "id_drive_fold": 1, "file6": 1, "catlov": 1, "file7": 1, "replac": 1, "familynam": 1, "known": [1, 6], "bom": [1, 6], "mark": [1, 6], "begin": 1, "confus": 1, "parser": 1, "lead": [1, 5], "corrupt": 1, "remove_bom": [1, 6], "strip_bom_exampl": 1, "py": [1, 7], "github": [1, 4], "repositori": 1, "identifi": [1, 2, 6, 7], "malwar": 1, "owner": 1, "been": 1, "spam": 1, "cannot": [1, 6], "error": [1, 6], "acknowledge_abus": [1, 2, 6], "By": [1, 2, 5], "indic": 1, "acknowledg": [1, 2, 6], "risk": [1, 2, 6], "potenti": 1, "easi": [2, 4, 7], "work": [2, 5, 7], "file": [2, 4, 5], "compat": 2, "gdrivefilesystem": [2, 6], "pip": [2, 4], "client_id": [2, 5, 6], "my_client_id": 2, "client_secret": [2, 5, 6, 7], "my_client_secret": 2, "default": [2, 5, 6], "credenti": [2, 5, 6, 7], "cach": 2, "per": 2, "multipl": 2, "profil": 2, "avoid": 2, "accident": 2, "someon": [2, 5], "els": [2, 7], "myprofil": 2, "write": [2, 6], "exist": [2, 5, 6, 7], "interact": 2, "auth": [2, 4, 5, 7], "client_json_file_path": [2, 5], "path": [2, 5, 6, 7], "keyfil": 2, "client_json": [2, 5], "json_str": 2, "use_service_account": 2, "client_user_email": [2, 5, 6], "deleg": [2, 5], "author": [2, 5, 6, 7], "trash_onli": 2, "bool": [2, 5, 6], "instead": 2, "delet": [2, 4, 6], "download": [2, 4, 5, 6, 7], "abus": [2, 4, 6], "info": 2, "dname": 2, "fname": 2, "walk": 2, "dir": 2, "offer": 2, "larg": 2, "get": [2, 4, 5, 6, 7], "refer": [2, 7], "doc": [2, 4], "wrapper": [4, 6], "librari": [4, 6], "client": [4, 5, 6, 7], "simplifi": 4, "common": [4, 6, 7], "task": [4, 7], "packag": 4, "http": [4, 5, 6, 7], "pypi": 4, "org": 4, "iter": [4, 6, 7], "ai": 4, "sourc": 4, "com": [4, 5, 6], "changelog": 4, "releas": 4, "regular": 4, "command": [4, 5, 6], "current": [4, 6, 7], "develop": 4, "version": 4, "git": 4, "egg": 4, "quickstart": [4, 5], "list": [4, 5, 6], "return": [4, 5, 6], "via": 4, "brows": 4, "oauth": [4, 7], "made": [4, 7], "line": [4, 6], "automat": [4, 6], "custom": 4, "yaml": [4, 6], "build": [4, 6], "own": [4, 7], "flow": [4, 6], "servic": [4, 6], "account": [4, 6], "manag": [4, 7], "upload": [4, 6, 7], "new": [4, 6, 7], "un": 4, "special": [4, 5, 7], "complex": [4, 5, 7], "queri": [4, 7], "data": [4, 5, 6, 7], "byte": [4, 6], "memori": 4, "buffer": [4, 6], "specif": [4, 6], "pagin": [4, 6, 7], "fsspec": [4, 6], "filesystem": [4, 6], "local": [4, 5, 6, 7], "webserv": [4, 5, 7], "addit": [4, 6], "apiattr": 4, "index": 4, "oauth2": [5, 6, 7], "0": [5, 6, 7], "difficult": 5, "start": 5, "simpl": [5, 7], "localwebserverauth": [5, 6, 7], "Or": 5, "commandlineauth": [5, 6], "past": [5, 7], "browser": [5, 6, 7], "site": 5, "token": [5, 6], "comment": 5, "altern": 5, "copi": [5, 6, 7], "entir": 5, "thing": 5, "editor": 5, "configur": [5, 6, 7], "consol": [5, 6, 7], "take": [5, 7], "detail": [5, 6, 7], "instruct": [5, 7], "built": 5, "up": 5, "manual": 5, "section": 5, "silent": 5, "remot": 5, "machin": 5, "setup": 5, "complic": 5, "requir": [5, 6, 7], "lot": 5, "most": [5, 6], "scope": 5, "www": [5, 6], "googleapi": [5, 6], "refresh": [5, 6], "while": [5, 6], "maintain": 5, "clean": [5, 6], "directori": [5, 7], "behavior": 5, "These": 5, "client_config_backend": [5, 6], "str": [5, 6], "client_config_fil": [5, 6], "client_config": [5, 6], "auth_uri": [5, 6], "token_uri": [5, 6], "redirect_uri": [5, 6], "revoke_uri": [5, 6], "service_config": 5, "client_json_dict": 5, "save_credenti": [5, 6], "save_credentials_backend": 5, "save_credentials_fil": 5, "save_credentials_dict": 5, "save_credentials_kei": 5, "get_refresh_token": 5, "oauth_scop": [5, 6], "explain": 5, "where": [5, 6], "valid": [5, 6], "No": 5, "contain": [5, 6], "place": [5, 7], "hold": 5, "dictionari": [5, 6], "ye": 5, "secret": 5, "server": [5, 6], "endpoint": 5, "uri": [5, 7], "redirect": [5, 7], "urn": 5, "ietf": 5, "wg": 5, "2": 5, "oob": 5, "revok": 5, "none": [5, 6, 7], "email": [5, 6], "wa": 5, "kei": [5, 6], "load": [5, 6], "backend": [5, 6], "destin": [5, 6], "within": 5, "along": 5, "9637341109347": 5, "app": [5, 7], "googleusercont": 5, "psdskoowr1p602pxrthi": 5, "instal": 5, "integr": 5, "websit": 5, "follw": 5, "url": [5, 6], "getauthurl": [5, 6], "ask": [5, 7], "visit": [5, 6], "grant": [5, 6], "oauth2callback": 5, "step": [5, 7], "too": 5, "auth_url": 5, "askusertovisitlinkandgivecod": 5, "A": [5, 6, 7], "intend": 5, "repres": 5, "non": 5, "human": 5, "typic": 5, "scenario": 5, "run": [5, 7], "workload": 5, "virtual": 5, "vm": 5, "center": 5, "ti": 5, "lifecycl": 5, "login": 5, "def": [5, 7], "login_with_service_account": 5, "serviceauth": [5, 6], "class": 6, "apiattribut": 6, "base": 6, "descriptor": 6, "apiattributemixin": 6, "mixin": 6, "global": 6, "variabl": 6, "apiresourc": 6, "arg": 6, "kwarg": 6, "super": 6, "inherit": 6, "behav": 6, "self": 6, "element": [6, 7], "effici": 6, "getchang": 6, "updatemetadata": 6, "them": 6, "overwritten": 6, "apiresourcelist": 6, "abstract": 6, "everi": 6, "otherwis": 6, "pagetoken": 6, "reset": 6, "autherror": 6, "authenticationerror": 6, "gener": 6, "authenticationreject": 6, "reject": 6, "checkauth": 6, "decorate": 6, "decor": 6, "request": 6, "checkserviceauth": 6, "settings_fil": 6, "http_timeout": 6, "oauth2client": 6, "perform": 6, "relat": 6, "given": [6, 7], "back": 6, "client_configs_list": 6, "commandlin": 6, "default_set": 6, "getflow": 6, "invalidconfigerror": 6, "get_http_object": 6, "httplib2": 6, "necessari": 6, "thread": 6, "safeti": 6, "each": 6, "rtype": 6, "loadclientconfig": 6, "accord": 6, "mind": 6, "correspond": 6, "loadclientconfigfil": 6, "config": 6, "loadclientconfigset": 6, "loadcredenti": 6, "empti": 6, "doesn": 6, "target": 6, "loadcredentialsfil": 6, "credentials_fil": 6, "invalidcredentialserror": 6, "loadserviceconfigset": 6, "host_nam": 6, "localhost": [6, 7], "port_numb": 6, "launch_brows": 6, "bind_addr": 6, "It": 6, "standalon": 6, "gdrive_non_interact": 6, "environ": 6, "host": 6, "port": 6, "tri": 6, "should": 6, "launch": 6, "ip": 6, "address": 6, "listen": 6, "access_token": 6, "refresherror": 6, "service_configs_list": 6, "savecredenti": 6, "savecredentialsfil": 6, "p12": 6, "privat": 6, "properti": 6, "access_token_expir": 6, "expir": 6, "auth_method": 6, "oserror": 6, "try": 6, "loadauth": 6, "main": 6, "would": 6, "getabout": 6, "usag": 6, "quota": 6, "sent": 6, "apirequesterror": 6, "http_error": 6, "getfield": 6, "first": 6, "filenotdownloadableerror": 6, "runtimeerror": 6, "filenotuploadederror": 6, "target_fold": 6, "new_titl": 6, "hard": 6, "permiss": 6, "succe": 6, "fetchcont": 6, "download_url": 6, "entri": [6, 7], "separ": 6, "comma": 6, "callback": 6, "chunksiz": 6, "104857600": 6, "remov": 6, "argument": [6, 7], "total": 6, "transfer": 6, "int": 6, "standard": 6, "100": 6, "mb": 6, "1024": 6, "getcontentiobuff": 6, "mediaioread": 6, "utf": 6, "8": 6, "strip": 6, "collect": 6, "revis": 6, "new_permiss": 6, "insert": 6, "re": 6, "pleas": 6, "guid": 6, "Will": 6, "close": 6, "mean": 6, "choos": 6, "filelist": 6, "equival": 6, "iobuff": 6, "lightweight": 6, "retent": 6, "chunk": 6, "loadmetadata": 6, "pre_buff": 6, "remove_prefix": 6, "b": 6, "done": [6, 7], "loadsettingsfil": 6, "settingserror": 6, "validateset": 6, "abstractfilesystem": 6, "gdrive": 6, "life": 7, "much": 7, "easier": 7, "go": 7, "project": 7, "select": 7, "click": 7, "enabl": 7, "left": 7, "menu": 7, "product": 7, "consent": 7, "screen": 7, "follow": 7, "finish": 7, "enter": 7, "appropri": 7, "input": 7, "8080": 7, "right": 7, "side": 7, "client_secret_": 7, "realli": 7, "long": 7, "renam": 7, "accept": 7, "know": 7, "let": 7, "again": 7, "execut": 7, "treat": 7, "everyth": 7, "assign": 7, "thu": 7, "subfold": 7, "create_fold": 7, "parent_folder_id": 7, "subfolder_nam": 7, "newfold": 7, "kind": 7, "filelink": 7, "vnd": 7, "get_id_of_titl": 7, "demonstr": 7, "workflow": 7, "parent_directory_id": 7, "compar": 7, "foldered_list": 7, "output": 7, "attribut": 7, "parent_id": 7, "folder_brows": 7, "folder_list": 7, "nenter": 7, "inp": 7, "elif": 7, "home_directori": 7, "root_folder_nam": 7, "sep": 7, "usernam": 7, "makedir": 7, "folder_select": 7, "struc": 7, "append": 7, "insid": 7, "present": 7}, "objects": {"pydrive2": [[6, 0, 0, "-", "apiattr"], [6, 0, 0, "-", "auth"], [6, 0, 0, "-", "drive"], [6, 0, 0, "-", "files"], [6, 0, 0, "-", "settings"]], "pydrive2.apiattr": [[6, 1, 1, "", "ApiAttribute"], [6, 1, 1, "", "ApiAttributeMixin"], [6, 1, 1, "", "ApiResource"], [6, 1, 1, "", "ApiResourceList"]], "pydrive2.apiattr.ApiResource": [[6, 2, 1, "", "GetChanges"], [6, 2, 1, "", "UpdateMetadata"], [6, 3, 1, "", "auth"], [6, 2, 1, "", "update"]], "pydrive2.apiattr.ApiResourceList": [[6, 2, 1, "", "GetList"], [6, 2, 1, "", "Reset"], [6, 3, 1, "", "metadata"]], "pydrive2.auth": [[6, 4, 1, "", "AuthError"], [6, 4, 1, "", "AuthenticationError"], [6, 4, 1, "", "AuthenticationRejected"], [6, 5, 1, "", "CheckAuth"], [6, 5, 1, "", "CheckServiceAuth"], [6, 1, 1, "", "GoogleAuth"], [6, 4, 1, "", "InvalidCredentialsError"], [6, 5, 1, "", "LoadAuth"], [6, 4, 1, "", "RefreshError"]], "pydrive2.auth.GoogleAuth": [[6, 2, 1, "", "Auth"], [6, 2, 1, "", "Authenticate"], [6, 2, 1, "", "Authorize"], [6, 3, 1, "", "CLIENT_CONFIGS_LIST"], [6, 2, 1, "", "CommandLineAuth"], [6, 3, 1, "", "DEFAULT_SETTINGS"], [6, 2, 1, "", "GetAuthUrl"], [6, 2, 1, "", "GetFlow"], [6, 2, 1, "", "Get_Http_Object"], [6, 2, 1, "", "LoadClientConfig"], [6, 2, 1, "", "LoadClientConfigFile"], [6, 2, 1, "", "LoadClientConfigSettings"], [6, 2, 1, "", "LoadCredentials"], [6, 2, 1, "", "LoadCredentialsFile"], [6, 2, 1, "", "LoadServiceConfigSettings"], [6, 2, 1, "", "LocalWebserverAuth"], [6, 2, 1, "", "Refresh"], [6, 3, 1, "", "SERVICE_CONFIGS_LIST"], [6, 2, 1, "", "SaveCredentials"], [6, 2, 1, "", "SaveCredentialsFile"], [6, 2, 1, "", "ServiceAuth"], [6, 6, 1, "", "access_token_expired"], [6, 3, 1, "", "auth_method"], [6, 3, 1, "", "client_config"], [6, 3, 1, "", "credentials"], [6, 3, 1, "", "flow"], [6, 3, 1, "", "http"], [6, 3, 1, "", "service"], [6, 3, 1, "", "settings"]], "pydrive2.drive": [[6, 1, 1, "", "GoogleDrive"]], "pydrive2.drive.GoogleDrive": [[6, 2, 1, "", "CreateFile"], [6, 2, 1, "", "GetAbout"], [6, 2, 1, "", "ListFile"]], "pydrive2.files": [[6, 4, 1, "", "ApiRequestError"], [6, 4, 1, "", "FileNotDownloadableError"], [6, 4, 1, "", "FileNotUploadedError"], [6, 1, 1, "", "GoogleDriveFile"], [6, 1, 1, "", "GoogleDriveFileList"], [6, 1, 1, "", "IoBuffer"], [6, 5, 1, "", "LoadMetadata"], [6, 1, 1, "", "MediaIoReadable"]], "pydrive2.files.ApiRequestError": [[6, 2, 1, "", "GetField"]], "pydrive2.files.GoogleDriveFile": [[6, 2, 1, "", "Copy"], [6, 2, 1, "", "Delete"], [6, 2, 1, "", "DeletePermission"], [6, 2, 1, "", "FetchContent"], [6, 2, 1, "", "FetchMetadata"], [6, 2, 1, "", "GetContentFile"], [6, 2, 1, "", "GetContentIOBuffer"], [6, 2, 1, "", "GetContentString"], [6, 2, 1, "", "GetPermissions"], [6, 2, 1, "", "GetRevisions"], [6, 2, 1, "", "InsertPermission"], [6, 2, 1, "", "SetContentFile"], [6, 2, 1, "", "SetContentString"], [6, 2, 1, "", "Trash"], [6, 2, 1, "", "UnTrash"], [6, 2, 1, "", "Upload"], [6, 3, 1, "", "content"], [6, 3, 1, "", "metadata"], [6, 3, 1, "", "uploaded"]], "pydrive2.files.IoBuffer": [[6, 2, 1, "", "read"], [6, 2, 1, "", "write"]], "pydrive2.files.MediaIoReadable": [[6, 2, 1, "", "read"]], "pydrive2.fs": [[6, 1, 1, "", "GDriveFileSystem"]], "pydrive2.settings": [[6, 4, 1, "", "InvalidConfigError"], [6, 5, 1, "", "LoadSettingsFile"], [6, 4, 1, "", "SettingsError"], [6, 5, 1, "", "ValidateSettings"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:exception", "5": "py:function", "6": "py:property"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "exception", "Python exception"], "5": ["py", "function", "Python function"], "6": ["py", "property", "Python property"]}, "titleterms": {"file": [0, 1, 6, 7], "list": [0, 1, 7], "made": [0, 1, 5], "easi": [0, 1, 5], "get": [0, 1], "all": 0, "which": 0, "match": 0, "queri": [0, 1], "pagin": 0, "iter": 0, "through": 0, "manag": 1, "upload": 1, "new": 1, "delet": 1, "trash": 1, "un": 1, "updat": [1, 7], "metadata": 1, "download": 1, "from": 1, "id": [1, 7], "handl": 1, "special": 1, "insert": 1, "permiss": 1, "remov": 1, "complex": 1, "revis": 1, "content": [1, 4], "data": 1, "byte": 1, "memori": 1, "buffer": 1, "specif": 1, "folder": [1, 7], "abus": 1, "fsspec": 2, "filesystem": 2, "instal": [2, 4], "local": 2, "webserv": 2, "servic": [2, 5], "account": [2, 5], "addit": 2, "paramet": 2, "us": 2, "index": 3, "welcom": 4, "pydrive2": [4, 6], "": 4, "document": 4, "project": 4, "info": 4, "how": 4, "tabl": 4, "oauth": 5, "authent": [5, 7], "two": 5, "line": 5, "automat": 5, "custom": 5, "set": [5, 6], "yaml": 5, "sampl": 5, "build": 5, "your": 5, "own": 5, "flow": 5, "packag": 6, "apiattr": 6, "modul": 6, "auth": 6, "drive": 6, "f": 6, "quickstart": 7, "creat": 7, "return": 7, "via": 7, "titl": 7, "brows": 7}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 58}, "alltitles": {"File listing made easy": [[0, "file-listing-made-easy"]], "Get all files which matches the query": [[0, "get-all-files-which-matches-the-query"]], "Paginate and iterate through files": [[0, "paginate-and-iterate-through-files"]], "File management made easy": [[1, "file-management-made-easy"]], "Upload a new file": [[1, "upload-a-new-file"]], "Delete, Trash and un-Trash files": [[1, "delete-trash-and-un-trash-files"]], "Update file metadata": [[1, "update-file-metadata"]], "Download file metadata from file ID": [[1, "download-file-metadata-from-file-id"]], "Handling special metadata": [[1, "handling-special-metadata"]], "Insert permissions": [[1, "insert-permissions"]], "List permissions": [[1, "list-permissions"]], "Remove a Permission": [[1, "remove-a-permission"]], "Get files by complex queries": [[1, "get-files-by-complex-queries"]], "List revisions": [[1, "list-revisions"]], "Upload and update file content": [[1, "upload-and-update-file-content"]], "Upload data as bytes in memory buffer": [[1, "upload-data-as-bytes-in-memory-buffer"]], "Upload file to a specific folder": [[1, "upload-file-to-a-specific-folder"]], "Download file content": [[1, "download-file-content"]], "Abusive files": [[1, "abusive-files"]], "fsspec filesystem": [[2, "fsspec-filesystem"]], "Installation": [[2, "installation"]], "Local webserver": [[2, "local-webserver"]], "Service account": [[2, "service-account"]], "Additional parameters": [[2, "additional-parameters"]], "Using filesystem": [[2, "using-filesystem"]], "Index": [[3, "index"]], "Welcome to PyDrive2\u2019s documentation!": [[4, "welcome-to-pydrive2-s-documentation"]], "Project Info": [[4, "project-info"]], "How to install": [[4, "how-to-install"]], "Table of Contents": [[4, "table-of-contents"]], "OAuth made easy": [[5, "oauth-made-easy"]], "Authentication in two lines": [[5, "authentication-in-two-lines"]], "Automatic and custom authentication with settings.yaml": [[5, "automatic-and-custom-authentication-with-settings-yaml"]], "Sample settings.yaml": [[5, "sample-settings-yaml"]], "Building your own authentication flow": [[5, "building-your-own-authentication-flow"]], "Authentication with a service account": [[5, "authentication-with-a-service-account"]], "pydrive2 package": [[6, "pydrive2-package"]], "pydrive2.apiattr module": [[6, "module-pydrive2.apiattr"]], "pydrive2.auth module": [[6, "module-pydrive2.auth"]], "pydrive2.drive module": [[6, "module-pydrive2.drive"]], "pydrive2.files module": [[6, "module-pydrive2.files"]], "pydrive2.settings module": [[6, "module-pydrive2.settings"]], "pydrive2.fs module": [[6, "pydrive2-fs-module"]], "Quickstart": [[7, "quickstart"]], "Authentication": [[7, "authentication"]], "Creating and Updating Files": [[7, "creating-and-updating-files"]], "Listing Files": [[7, "listing-files"]], "Creating a Folder": [[7, "creating-a-folder"]], "Return File ID via File Title": [[7, "return-file-id-via-file-title"]], "Browse Folders": [[7, "browse-folders"]]}, "indexentries": {"apiattribute (class in pydrive2.apiattr)": [[6, "pydrive2.apiattr.ApiAttribute"]], "apiattributemixin (class in pydrive2.apiattr)": [[6, "pydrive2.apiattr.ApiAttributeMixin"]], "apirequesterror": [[6, "pydrive2.files.ApiRequestError"]], "apiresource (class in pydrive2.apiattr)": [[6, "pydrive2.apiattr.ApiResource"]], "apiresourcelist (class in pydrive2.apiattr)": [[6, "pydrive2.apiattr.ApiResourceList"]], "auth() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.Auth"]], "autherror": [[6, "pydrive2.auth.AuthError"]], "authenticate() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.Authenticate"]], "authenticationerror": [[6, "pydrive2.auth.AuthenticationError"]], "authenticationrejected": [[6, "pydrive2.auth.AuthenticationRejected"]], "authorize() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.Authorize"]], "client_configs_list (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.CLIENT_CONFIGS_LIST"]], "checkauth() (in module pydrive2.auth)": [[6, "pydrive2.auth.CheckAuth"]], "checkserviceauth() (in module pydrive2.auth)": [[6, "pydrive2.auth.CheckServiceAuth"]], "commandlineauth() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.CommandLineAuth"]], "copy() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.Copy"]], "createfile() (pydrive2.drive.googledrive method)": [[6, "pydrive2.drive.GoogleDrive.CreateFile"]], "default_settings (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.DEFAULT_SETTINGS"]], "delete() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.Delete"]], "deletepermission() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.DeletePermission"]], "fetchcontent() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.FetchContent"]], "fetchmetadata() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.FetchMetadata"]], "filenotdownloadableerror": [[6, "pydrive2.files.FileNotDownloadableError"]], "filenotuploadederror": [[6, "pydrive2.files.FileNotUploadedError"]], "gdrivefilesystem (class in pydrive2.fs)": [[6, "pydrive2.fs.GDriveFileSystem"]], "getabout() (pydrive2.drive.googledrive method)": [[6, "pydrive2.drive.GoogleDrive.GetAbout"]], "getauthurl() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.GetAuthUrl"]], "getchanges() (pydrive2.apiattr.apiresource method)": [[6, "pydrive2.apiattr.ApiResource.GetChanges"]], "getcontentfile() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.GetContentFile"]], "getcontentiobuffer() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.GetContentIOBuffer"]], "getcontentstring() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.GetContentString"]], "getfield() (pydrive2.files.apirequesterror method)": [[6, "pydrive2.files.ApiRequestError.GetField"]], "getflow() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.GetFlow"]], "getlist() (pydrive2.apiattr.apiresourcelist method)": [[6, "pydrive2.apiattr.ApiResourceList.GetList"]], "getpermissions() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.GetPermissions"]], "getrevisions() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.GetRevisions"]], "get_http_object() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.Get_Http_Object"]], "googleauth (class in pydrive2.auth)": [[6, "pydrive2.auth.GoogleAuth"]], "googledrive (class in pydrive2.drive)": [[6, "pydrive2.drive.GoogleDrive"]], "googledrivefile (class in pydrive2.files)": [[6, "pydrive2.files.GoogleDriveFile"]], "googledrivefilelist (class in pydrive2.files)": [[6, "pydrive2.files.GoogleDriveFileList"]], "insertpermission() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.InsertPermission"]], "invalidconfigerror": [[6, "pydrive2.settings.InvalidConfigError"]], "invalidcredentialserror": [[6, "pydrive2.auth.InvalidCredentialsError"]], "iobuffer (class in pydrive2.files)": [[6, "pydrive2.files.IoBuffer"]], "listfile() (pydrive2.drive.googledrive method)": [[6, "pydrive2.drive.GoogleDrive.ListFile"]], "loadauth() (in module pydrive2.auth)": [[6, "pydrive2.auth.LoadAuth"]], "loadclientconfig() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.LoadClientConfig"]], "loadclientconfigfile() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.LoadClientConfigFile"]], "loadclientconfigsettings() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.LoadClientConfigSettings"]], "loadcredentials() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.LoadCredentials"]], "loadcredentialsfile() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.LoadCredentialsFile"]], "loadmetadata() (in module pydrive2.files)": [[6, "pydrive2.files.LoadMetadata"]], "loadserviceconfigsettings() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.LoadServiceConfigSettings"]], "loadsettingsfile() (in module pydrive2.settings)": [[6, "pydrive2.settings.LoadSettingsFile"]], "localwebserverauth() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.LocalWebserverAuth"]], "mediaioreadable (class in pydrive2.files)": [[6, "pydrive2.files.MediaIoReadable"]], "refresh() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.Refresh"]], "refresherror": [[6, "pydrive2.auth.RefreshError"]], "reset() (pydrive2.apiattr.apiresourcelist method)": [[6, "pydrive2.apiattr.ApiResourceList.Reset"]], "service_configs_list (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.SERVICE_CONFIGS_LIST"]], "savecredentials() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.SaveCredentials"]], "savecredentialsfile() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.SaveCredentialsFile"]], "serviceauth() (pydrive2.auth.googleauth method)": [[6, "pydrive2.auth.GoogleAuth.ServiceAuth"]], "setcontentfile() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.SetContentFile"]], "setcontentstring() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.SetContentString"]], "settingserror": [[6, "pydrive2.settings.SettingsError"]], "trash() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.Trash"]], "untrash() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.UnTrash"]], "updatemetadata() (pydrive2.apiattr.apiresource method)": [[6, "pydrive2.apiattr.ApiResource.UpdateMetadata"]], "upload() (pydrive2.files.googledrivefile method)": [[6, "pydrive2.files.GoogleDriveFile.Upload"]], "validatesettings() (in module pydrive2.settings)": [[6, "pydrive2.settings.ValidateSettings"]], "access_token_expired (pydrive2.auth.googleauth property)": [[6, "pydrive2.auth.GoogleAuth.access_token_expired"]], "auth (pydrive2.apiattr.apiresource attribute)": [[6, "pydrive2.apiattr.ApiResource.auth"]], "auth_method (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.auth_method"]], "client_config (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.client_config"]], "content (pydrive2.files.googledrivefile attribute)": [[6, "pydrive2.files.GoogleDriveFile.content"]], "credentials (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.credentials"]], "flow (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.flow"]], "http (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.http"]], "metadata (pydrive2.apiattr.apiresourcelist attribute)": [[6, "pydrive2.apiattr.ApiResourceList.metadata"]], "metadata (pydrive2.files.googledrivefile attribute)": [[6, "pydrive2.files.GoogleDriveFile.metadata"]], "module": [[6, "module-pydrive2.apiattr"], [6, "module-pydrive2.auth"], [6, "module-pydrive2.drive"], [6, "module-pydrive2.files"], [6, "module-pydrive2.settings"]], "pydrive2.apiattr": [[6, "module-pydrive2.apiattr"]], "pydrive2.auth": [[6, "module-pydrive2.auth"]], "pydrive2.drive": [[6, "module-pydrive2.drive"]], "pydrive2.files": [[6, "module-pydrive2.files"]], "pydrive2.settings": [[6, "module-pydrive2.settings"]], "read() (pydrive2.files.iobuffer method)": [[6, "pydrive2.files.IoBuffer.read"]], "read() (pydrive2.files.mediaioreadable method)": [[6, "pydrive2.files.MediaIoReadable.read"]], "service (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.service"]], "settings (pydrive2.auth.googleauth attribute)": [[6, "pydrive2.auth.GoogleAuth.settings"]], "update() (pydrive2.apiattr.apiresource method)": [[6, "pydrive2.apiattr.ApiResource.update"]], "uploaded (pydrive2.files.googledrivefile attribute)": [[6, "pydrive2.files.GoogleDriveFile.uploaded"]], "write() (pydrive2.files.iobuffer method)": [[6, "pydrive2.files.IoBuffer.write"]]}}) \ No newline at end of file