Skip to main content

Log rows to a Google SpreadSheet

Project description

logtogss

Description

This is a small tool to log data to a Google Spreadsheet. Google Spreadsheets are very handy for manipulating data, but it’s less easy to insert data programmatically. The tool depends on the the python gdata client package, which should be automatically installed as a reqirement when installing the logtogss from setup package.

Installation

To install, download the setup package and install using pip:

$ pip install logtogss-0.1.tar.gz

Alternatively, let pip download from pypi and install:

$ pip install logtogss

Usage

The basic Usage is like this:

$ logtogss --name "Spreadsheet Name" --sheet="Sheet Name" col1:val1 col2:val2

You can insert multiple rows at once by piping on stdin, whilst specifying just the column names, like this:

$ cat data
val1 val2
val3 val4
$ logtogss --name 'Spreadsheet Name' --sheet="Sheet Name" col1 col2 < data

If you need to know what the valid column names are, leave off the data from the command line, like this:

$ logtogss --name "Spreadsheet Name" --sheet="Sheet Name"
col1
col2

You can also use the --list option wth or with out the --name and --sheet options to see a list of the columns in the spreadsheet(s).

Note that logtogss uses OAuth, so the first time that you use it, you will be prompted with an URL to visit in order to allow logtogss access to your google docs.

Run logtogss with --help option to see the advanced options and their usage.

Credits

News

What’s new 0.1

Release date: *UNRELEASED

  • Creating a setup package

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

logtogss-0.1.tar.gz (11.0 kB view details)

Uploaded Source

File details

Details for the file logtogss-0.1.tar.gz.

File metadata

  • Download URL: logtogss-0.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for logtogss-0.1.tar.gz
Algorithm Hash digest
SHA256 32ceb1a526e648c060f456e238abb72860547d87f7272aff41333c88ea597887
MD5 124e9387167af5e8ceefb303b13e4d06
BLAKE2b-256 ab1e4c9ec448fd36fed648989ef640c687277cbcd3b88fe41d6f1af9b0347584

See more details on using hashes here.

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