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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file sqlite-connector-0.1.0.tar.gz.

File metadata

  • Download URL: sqlite-connector-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for sqlite-connector-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f3ba961f4382c050d3fe5fe2046746b845dbdf3d64ef9962fe5015a0cd676bdf
MD5 135be781863963b8b375d784a7b0bda1
BLAKE2b-256 5a7eb60c125668280b0432eb343e4da70b110141e176972db5fe73c4988f859b

See more details on using hashes here.

File details

Details for the file sqlite_connector-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sqlite_connector-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for sqlite_connector-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3be8a7e23426e380f3bcb4dfe61e496276fd7af098aaa7002d11f52ba5eb889e
MD5 24a02cd0ea31156ad8f4ec79fbbe7994
BLAKE2b-256 8c5cda18d04e42445dea718d329ac9968ee4fbcd07eb2aa8d9e1ba151636660a

See more details on using hashes here.

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