Connects Google sheets to a database connector to transfer information to and fro.
Project description
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+.
-
Download this project and use it (copy it in your project, etc).
-
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
- Create a file
License
This project is licensed under the MIT License - see the LICENSE file for details
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
File details
Details for the file gsheets-db-connector-0.4.1.tar.gz
.
File metadata
- Download URL: gsheets-db-connector-0.4.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72c5886bd9f7537f84a68615ba976fa39949295a2f8a1a5e253beb3b821dd93e |
|
MD5 | fdae80ce98f5468f204d50feb44276db |
|
BLAKE2b-256 | 5a7c6b6bd01dbb71079463e0e9ad5e3562d0d0c63c82ae14dad847533342f570 |
File details
Details for the file gsheets_db_connector-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: gsheets_db_connector-0.4.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc599373188f054d7e6e5219017504f48ea56ff0df59c76ea627f9fbc831f621 |
|
MD5 | 842e179a9184ab601351fadd9c507b23 |
|
BLAKE2b-256 | 6a7c88e8d1f2bd896d95ef16a66e5a6bbfa5c946a45008782c33c7961ff3e768 |