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
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for gsheet_player-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 616b3421a18297b1d408224a6372ca140017c77185b1ca889e389a4a2e78e8db |
|
MD5 | f0c587e6e546c0695f2f45e09808c9ca |
|
BLAKE2b-256 | ed3bd2e9bdf5425bf689c08ec6227b031e05a8272171c6469589441f5d6dd3d2 |