Excel Database Connector
Connects Excel to a database connector 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 excel-db-connector
Usage
This connector is very easy to use.
- First you'll need to create a connection using the main class FyleSDK.
import sqlite3
from excel_db_connector import ExcelConnector
dbconn = sqlite3.connect('/tmp/temp.db')
excel_connector = ExcelConnector(dbconn)
- After that you'll be able to extract data from excel and store it in the db
# Create the tables to for all objects
excel_connector.create_tables('/tmp/create_tables.sql')
excel_connector.extract('excel.xlsx', 'table_name')
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
Release files for excel-db-connector 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| excel-db-connector-0.3.0.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| excel_db_connector-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / excel-db-connector-0.3.0.tar.gz
| Download URL | excel-db-connector-0.3.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1717e9492adf467ecbe18404100dc90f6bcbdce8359b72ceadc053af5d4ea6d
|
|
BLAKE2b-256 checksum How to use checksums |
aac4af5566ec70b0cb9f06dc1116f5e3bf5cc4998aaf80703df9db3d8354ed4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|
Release files / excel_db_connector-0.3.0-py3-none-any.whl
| Download URL | excel_db_connector-0.3.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fccbca7e9316efe8cbe687caf0c105a154fa57ea0648f60fa513d0b1a4aa0c02
|
|
BLAKE2b-256 checksum How to use checksums |
0dcbdd620f74bf179afb43c1fd9dee1a36cbf1dc67cab8c30b7ae45952f5796c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|