Skip to main content

The package is used for work with the Google Sheet spreadsheets using their URL.

Project description

A package for downloading data from Google Sheets with spreadsheet URL.

pip install google-sheets-tools - install the module

import google_sheets_tools - import the module to your project


class SheetsDownloader:

obj = SheetsDownloader(sheet_url, extension='csv') - create a constructor

  • sheet_url - url of the Google sheet
  • extension - extension of the downloaded file ('xlsx', 'ods', 'pdf', 'html', 'csv', 'tsv')

obj.download_file(folder_name='sheets') - download a sheet

  • folder_name - to what folder download a spreadsheet; default value='sheets'

get_downloaded_file_name() - get a name of your downloaded spreadsheet

get_extension() - get the extension constructor works with


class CsvParser:

download_csv_sheet(path='csv_files') - download the spreadsheet as a csv file

  • path - path to downloaded spreadsheet, can be structural '1\2\3'; default value='csv_files'

get_csv_data(sheet_type='list') - returns a data from the csv file

  • sheet_type - type of the returned data, can be ('list', 'json'); default value='list'

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

google_sheets_tools-0.0.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

google_sheets_tools-0.0.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file google_sheets_tools-0.0.2.tar.gz.

File metadata

  • Download URL: google_sheets_tools-0.0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Windows/10

File hashes

Hashes for google_sheets_tools-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b27ff04fdbfc6bed852bfa9b7f19bd9bf7a55e255ac533488b515143703c2f9a
MD5 cbab961384240a08329918272b45b8bc
BLAKE2b-256 dbed52475f81c4a7756d1ee72d6cef04995c8a32601d1a83a2068a3d0eae7d45

See more details on using hashes here.

File details

Details for the file google_sheets_tools-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for google_sheets_tools-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7584e77fd0152f71bfbd3169b639710d607f5643f6214159c7e94768066d5792
MD5 de9facd273838d14c3545b1de3e928f3
BLAKE2b-256 51a407d8d21168319ad61c6c05acb680ebb3ded5c35e60c7fe8c159e8350bc3a

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