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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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