Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fylein/sqlite-connector
Python package with SQLite convenience functions
https://github.com/fylein/sqlite-connector
team-integrations
Last synced: 3 months ago
JSON representation
Python package with SQLite convenience functions
- Host: GitHub
- URL: https://github.com/fylein/sqlite-connector
- Owner: fylein
- License: mit
- Created: 2019-10-30T13:21:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-30T13:57:20.000Z (about 5 years ago)
- Last Synced: 2024-03-29T03:23:00.306Z (9 months ago)
- Topics: team-integrations
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SQLite Connector
Python package with SQLite convenience functions. [Fyle](https://www.fylehq.com/) is an expense management system.## Installation
This project requires [Python 3+](https://www.python.org/downloads/).
1. Download this project and use it (copy it in your project, etc).
2. Install it from [pip](https://pypi.org).$ pip install sqlite-connector
## Usage
This connector is very easy to use.
First you'll need to create a connection using the main class FyleSDK.
```python
from sqlite_connector import SQLiteConnectorsqlite_connector = SQLiteConnector('/tmp/file.db')
```
After that you'll be able to execute sql scripts
```python
sqlite_connector.execute_transform('file_name.sql')
```## 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 -
```bash
#!/usr/bin/env bash
git-pylint-commit-hook
```
* Run `chmod +x .git/hooks/pre-commit`
## LicenseThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details