A Python library that extends gspread for enhanced spreadsheet manipulation.
Project description
SmartSpread
SmartSpread is a Python library that extends the functionality of gspread for enhanced spreadsheet manipulation, enabling easier integration with Google Sheets.
Features
- Simplified spreadsheet creation and access.
- Easy tab (worksheet) management.
- Supports data handling with Pandas DataFrames, lists, and dictionaries.
- Batch updates and row-level modifications.
- Cached properties for optimized performance.
Installation
pip install smartspread
Requirements
- Python 3.7+
gspreadpandascacheratorlogorator
Usage
from smartspread import SmartSpread
# Initialize
spread = SmartSpread(sheet_identifier="MySheet", key_file="path/to/google_service_account_keyfile.json")
# Write data
data = [["Name", "Age"], ["Alice", 30], ["Bob", 25]]
spread.write_to_tab(data, tab_name="Sheet1", overwrite_tab=True)
# Read data
df = spread.tab_to_df("Sheet1")
print(df)
License
This project is licensed under the MIT License.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Author
Arved Klöhn - Redundando
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smartspread-1.0.0.tar.gz.
File metadata
- Download URL: smartspread-1.0.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3cf7a5714c8d1b65d4a0daea3a87b4771c9a43701758846d55fd004ad0d2b88
|
|
| MD5 |
5356c3cb576ed3f6aa789fb2dc961432
|
|
| BLAKE2b-256 |
7f4d1ce533bbe6037b570a14e6298b4451e1c25d1c0c752f7557dd77ef332ba2
|
File details
Details for the file smartspread-1.0.0-py3-none-any.whl.
File metadata
- Download URL: smartspread-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbc8a223a6099bf6051b2664d7b836260e048764e49d9b72fd96dbd93a8c778d
|
|
| MD5 |
41b76ef9f3ad56a9d70dbc603980f88a
|
|
| BLAKE2b-256 |
7773e41f354ce6b9f5c9870728b15a5767e9510064b7293d538a2187db5a06f3
|