Skip to main content

upload files to gdrive with access token

Project description

gdrive-bot

Upload files to your gdrive with gdrive-bot without using google-api-python-client.

Publish package PyPI version Downloads Downloads GitHub Contributors GitHub commit activity GitHub last commit Python 3.6

Features

  • Progress bar

Installation

pip3 install -U gdrive-bot

Usage

g-bot setup               # setup your gdrive credentials
g-bot reset               # reset to default your gdrive credentials
g-bot up {file_name}      # upload gdrive channel or group
g-bot d {url}             # download and upload file to your gdrive

API

The g-bot client is also usable through an API (for test integration, automation, etc)

g_bot.main.upload_file(access_token:str, filename:str, filedirectory:str, folder_id: str = None)

from g_bot.main import upload_file

upload_file(access_token:str, filename:str, filedirectory:str, folder_id: str = None)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gdrive_bot-1.0.6-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file gdrive_bot-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: gdrive_bot-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for gdrive_bot-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 329251207fb0fbb5143758ae2aea7cdcbe5e492cdf0384c36f7eea0ade8e2e60
MD5 86196319d9a41e8fbcbd97404f06d3aa
BLAKE2b-256 b74a098ddf88fa0ab45709452416591eba88d2c3c99eafcc057e318013094e5b

See more details on using hashes here.

Supported by

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