Export CSV files to Google Spreadsheets
Project description
Import/Export CSV files to Google Spreadsheets
Simple CSV import/export wrapper for gspread package.
Installation
PIP
You can install the latest stable package running this command:
$ pip install csv_export_gsheets
Also you can install the development version running this command:
$ pip install git+http://github.com/dlancer/csv_export_gsheets.git@dev
Usage
Before you start you should:
Create Google Service Account key (use JSON format):
Create new spreadsheet in the Google Spreadsheets.
Share this spreadsheet with email from created service account file.
From command line:
$ csv2gsheets --help
From python code:
from csv_export_gsheets.gsheet import import_csv
# src - path to source CSV file or StringIO object
# url - destination sheet url
# cell - destination sheet cell (can include tab name: 'MyTab!A1')
# credentials - path to service account credentials or dict
# config - path to config file or dict
import_csv(source=src, url=url, cell=cell, credentials=credentials, config=config)
Please note: destination sheet will be cleared before import.
TODO
export from google spreadsheet to CSV
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
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 csv-export-gsheets-0.0.13.tar.gz.
File metadata
- Download URL: csv-export-gsheets-0.0.13.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
967326fddda1efc34628ee66394f6080fee031c48d1fa1c7afb9f427b96ee833
|
|
| MD5 |
88954638213e56f00c386fb5aa7a91b2
|
|
| BLAKE2b-256 |
317422ba148624fdb8ec7fb3aadf8f3d222f2a71a4f263f700ac558983ed7bb7
|
File details
Details for the file csv_export_gsheets-0.0.13-py2.py3-none-any.whl.
File metadata
- Download URL: csv_export_gsheets-0.0.13-py2.py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab1bd277f498eadcf5ed82ae468e2bd248e2cd909d8124d844d121eb6e8561c5
|
|
| MD5 |
3ef7f130c073d0da761299392fd94250
|
|
| BLAKE2b-256 |
308f08b58890779c1751be5d3d949469ce2f4d816255b636a75912c99e39d3f3
|