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
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)
| File | Size | Uploaded | |
|---|---|---|---|
| gsheets-db-connector-0.4.1.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|