Skip to main content

Data class to hold a player information from a spreadsheet row

Project description

Google Sheet Tennis Player

gsheet-player is a Python library for dealing with a Google Sheet of tennis player information.

Installation

Use the package manager pip to install gsheet-player.

pip install gsheet-player

Usage

import gsheet-player

# Given information about a Google Sheet in this dictionary
gsheet = {
        "spreadsheetId": "1eUR2RpS-yvA8cb-IlwHqmfphHgaKb2SXXREaYEPJrMU",
        "sheetId": "1088338784",
        "sheetName": "Members",
    }
# read_gsheet returns all rows in a list of lists
all_rows = read_gsheet(ssm_client, gsheet["spreadsheetId"], gsheet["sheetName"] + "!A1:N800")

# read_gsheets returns a dictionary with one value as key and the gsheetPlayer object as value
gsheetPlayers = read_gsheets(gsheet, all_rows)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

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

gsheet-player-0.2.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

gsheet_player-0.2.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file gsheet-player-0.2.1.tar.gz.

File metadata

  • Download URL: gsheet-player-0.2.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for gsheet-player-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c61e75d28dd87ee199a4a153721541394ff3bf68cb4b093d04041c02938a8486
MD5 ad18ac6e91a579870562a8e962d16afc
BLAKE2b-256 fa700102779b54f5ea9d45b235a135c6c85ce85134e80afc1e070d78b441d542

See more details on using hashes here.

File details

Details for the file gsheet_player-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: gsheet_player-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for gsheet_player-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 616b3421a18297b1d408224a6372ca140017c77185b1ca889e389a4a2e78e8db
MD5 f0c587e6e546c0695f2f45e09808c9ca
BLAKE2b-256 ed3bd2e9bdf5425bf689c08ec6227b031e05a8272171c6469589441f5d6dd3d2

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