Metadata-Version: 1.2
Name: palsql
Version: 1.1
Summary: Sqlite3 Wrapper Class
Home-page: https://github.com/ipal0/palsql
Author: Pal
Author-email: ipal0can@gmail.com
License: GPL
Description: Wrapper Class around Sqlite3
        	In Sqlite3 after connecting to the database, for every read execute statement the data needs to be fetched and for evey write execute statement the data needs to be committed. But this class eliminates these requirements and make it simple to read and write to the database.
        
        
        Files:
        	palsql/__init__.py
        
        
        Usage Examples:
        	import sqlite3
        	
        	db = palsql.db("db-filename")  ##-connect to the database
        
        	db.read("sql statement")  ##-returns the read data from database with flat=True
        
        	db.read("select item from table", flat=False)  ##-returns the raw read data 
        	
        	db.read(f"select item from table where item = {Variable}")  ##-read with string substitution
        	
        	db.read1("sql statement")  ##-returns the first read data similar to fetchone
        	
        	db.write("sql statement")  ##-writes the data and commits to the database
        	
        
        For other psycopg connection commands use the connection class
        	db.conn....
        
Platform: UNKNOWN
Requires-Python: >=3
