Skip to main content

Google Sheets Connector

Connects Google sheets to a database to transfer information to and fro. Fyle is an expense management system.

Installation

This project requires Python 3+.

  1. Download this project and use it (copy it in your project, etc).

  2. Install it from pip.

     $ pip install gsheets-db-connector
    

Usage

This connector is very easy to use.

First you'll need to create a connection using the main class FyleSDK.

from gsheets_db_connector import GoogleSheetsConnector

config = {
    'gsheets_credentials': '<Credentials>',
    'sheet_name': '<Sheet Name>'
}
gsheets_connector = GoogleSheetsConnector(config, database_connection)

After that you'll be able to extract/load data

gsheets_connector.extract_data()

Contribute

To contribute to this project follow the steps

  • Fork and clone the repository.
  • Run pip install -r requirements.txt
  • Setup pylint precommit hook
    • Create a file .git/hooks/pre-commit
    • Copy and paste the following lines in the file -
      #!/usr/bin/env bash 
      git-pylint-commit-hook
      
    • Run chmod +x .git/hooks/pre-commit

License

This project is licensed under the MIT License - see the LICENSE file for details

Metadata

Release files for gsheets-db-connector 0.4.1

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

Source distribution (sdist)

Source distribution for gsheets-db-connector 0.4.1
File Size Uploaded
gsheets-db-connector-0.4.1.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gsheets-db-connector 0.4.1
File Interpreter ABI Platform
gsheets_db_connector-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.8 kB

Release files / gsheets-db-connector-0.4.1.tar.gz

Download URL gsheets-db-connector-0.4.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
72c5886bd9f7537f84a68615ba976fa39949295a2f8a1a5e253beb3b821dd93e
BLAKE2b-256 checksum
How to use checksums
5a7c6b6bd01dbb71079463e0e9ad5e3562d0d0c63c82ae14dad847533342f570
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release files / gsheets_db_connector-0.4.1-py3-none-any.whl

Download URL gsheets_db_connector-0.4.1-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc599373188f054d7e6e5219017504f48ea56ff0df59c76ea627f9fbc831f621
BLAKE2b-256 checksum
How to use checksums
6a7c88e8d1f2bd896d95ef16a66e5a6bbfa5c946a45008782c33c7961ff3e768
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

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