Skip to main content

Python package with SQLite convenience functions

Project description

SQLite Connector

Python package with SQLite convenience functions. 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 sqlite-connector
    

Usage

This connector is very easy to use.

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

from sqlite_connector import SQLiteConnector

sqlite_connector = SQLiteConnector('/tmp/file.db')

After that you'll be able to execute sql scripts

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 -
      #!/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

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

sqlite-connector-0.1.0.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

sqlite_connector-0.1.0-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page