Skip to main content

Manages .csv files and uploads or pastes them to Google Sheets.

Usage

Installation

With Python installed, and in a command window, enter: pip install gcsv

Code

Use the following code example as a guide, replacing the following dummy strings with relevant information.

  • my_csv_path: the path to your CSV (e.g C:\reports\mycsv.csv)

  • my_spreadsheet_id: the ID (or “key”) of a spreadsheet; can be found in the spreadsheet URL after /d/ but before /edit

  • my_worksheet_gid: the worksheet (or “tab”) name of the paste destination

  • start_row: the starting row of the paste destination

  • start_col: the starting column of the paste destination

import gcsv

csv = gcsv.GCSV(r'my_csv_path')

csv.paste_to('my_spreadsheet_id',
             my_worksheet_gid,
             start_row,
             start_col)

Release files for gcsv 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gcsv 0.1.0
File Size Uploaded
gcsv-0.1.0.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gcsv 0.1.0
File Interpreter ABI Platform
gcsv-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 kB

Release files / gcsv-0.1.0.tar.gz

Download URL gcsv-0.1.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
86f186067450fd8110a8b6286ce304c46d9172a0f6468ff16a819a28d7aad4d8
BLAKE2b-256 checksum
How to use checksums
d728840e5b705187e9badefb184a08bbf510f51c8a46a8d92678c1e844e04595
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.11 CPython/3.7.2 Windows/10

Release files / gcsv-0.1.0-py3-none-any.whl

Download URL gcsv-0.1.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
febb82fbf999cbed21c491b33f48e452e43c43eebb48be7b3d39619f6753cc6f
BLAKE2b-256 checksum
How to use checksums
46ea02c81241ee49c9ab2b28e9680bd515066154084fbac60ae2cf750989e388
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.11 CPython/3.7.2 Windows/10

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page