Giter VIP home page Giter VIP logo

pylite's Introduction

pylite

Intract with sqlite3 in python as simple as it can be.

Install

pip install pylite

Tips

Import pylite :

from pylite import Pylite

Create a new database or open an existing database :

db = Pylite('dbname')

Add a table :

db.add_table('table_name',column1='datatype',column2='datatype',...,columnN='datatype')

Insert data :

db.insert('table_name','column1_value','column2_value',...,'columnN_value')

Remove items :

db.remove('table_name','condition')

Retrieve items :

db.get_items('table_name','condition')

Get all tables name :

db.get_tables()

Execute your sqlite queries:

db.query('your query')

Close connection :

db.close_connection()

pylite's People

Contributors

dariubs avatar rasmusandreassen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.