Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Gspread | 6,599 | 820 | 199 | a day ago | 64 | June 29, 2023 | 52 | mit | Python | |
Google Sheets Python API | ||||||||||
Tabletop | 3,709 | 205 | 33 | 2 years ago | 15 | April 21, 2020 | 16 | mit | JavaScript | |
Tabletop.js gives spreadsheets legs | ||||||||||
Build Your Own Mint | 2,385 | 10 months ago | 12 | mit | HTML | |||||
Build your own personal finance analytics using Plaid, Google Sheets and CircleCI. | ||||||||||
Node Google Spreadsheet | 2,095 | 683 | 307 | 7 days ago | 49 | June 28, 2023 | 51 | unlicense | TypeScript | |
Google Sheets API wrapper for Javascript / Typescript | ||||||||||
Google Drive Ruby | 1,742 | 1,906 | 113 | a month ago | 46 | April 13, 2021 | 65 | other | Ruby | |
A Ruby library to read/write files/spreadsheets in Google Drive/Docs. | ||||||||||
Pygsheets | 1,448 | 52 | 41 | 6 days ago | 18 | November 30, 2022 | 57 | other | Python | |
Google Sheets Python API v4 | ||||||||||
React Google Apps Script | 1,015 | 7 months ago | 1 | February 27, 2022 | 13 | mit | JavaScript | |||
This is your boilerplate project for developing React apps inside Google Sheets, Docs, Forms and Slides projects. It's perfect for personal projects and for publishing complex add-ons in the Google Workspace Marketplace. | ||||||||||
Xlskubectl | 906 | a year ago | 7 | JavaScript | ||||||
xlskubectl — a spreadsheet to control your Kubernetes cluster | ||||||||||
Drive Db | 814 | 7 | 4 | 2 years ago | 31 | September 06, 2020 | mit | JavaScript | ||
:bar_chart: Use Google Drive spreadsheets as a simple database | ||||||||||
Sheetfu | 812 | 2 | 2 years ago | 30 | December 07, 2021 | 5 | mit | Python | ||
Python library to interact with Google Sheets V4 API |
Google Spreadsheets datasource for SparkSQL and DataFrames
The version 0.4.0 breaks compatibility with previous versions. You must use a ** spreadsheetId ** to identify which spreadsheet is to be accessed or altered. In older versions, spreadsheet name was used.
If you don't know spreadsheetId, please read the Introduction to the Google Sheets API v4.
This library supports different versions of Spark:
This library | Spark Version |
---|---|
0.6.x | 2.3.x, 2.4.x |
0.5.x | 2.0.x |
0.4.x | 1.6.x |
Using SBT:
libraryDependencies += "com.github.potix2" %% "spark-google-spreadsheets" % "0.6.3"
Using Maven:
<dependency>
<groupId>com.github.potix2</groupId>
<artifactId>spark-google-spreadsheets_2.11</artifactId>
<version>0.6.3</version>
</dependency>
CREATE TABLE cars
USING com.github.potix2.spark.google.spreadsheets
OPTIONS (
path "<spreadsheetId>/worksheet1",
serviceAccountId "[email protected]",
credentialPath "/path/to/credential.p12"
)
import org.apache.spark.sql.SQLContext
val sqlContext = new SQLContext(sc)
// Creates a DataFrame from a specified worksheet
val df = sqlContext.read.
format("com.github.potix2.spark.google.spreadsheets").
option("serviceAccountId", "[email protected]").
option("credentialPath", "/path/to/credential.p12").
load("<spreadsheetId>/worksheet1")
// Saves a DataFrame to a new worksheet
df.write.
format("com.github.potix2.spark.google.spreadsheets").
option("serviceAccountId", "[email protected]").
option("credentialPath", "/path/to/credential.p12").
save("<spreadsheetId>/newWorksheet")
Provide authentication credentials to your application code by setting the environment variable
GOOGLE_APPLICATION_CREDENTIALS
. The variable should be set to the path of the service account json file.
import org.apache.spark.sql.SQLContext
val sqlContext = new SQLContext(sc)
// Creates a DataFrame from a specified worksheet
val df = sqlContext.read.
format("com.github.potix2.spark.google.spreadsheets").
load("<spreadsheetId>/worksheet1")
More details: https://cloud.google.com/docs/authentication/production
Copyright 2016-2018, Katsunori Kanda
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.