sqlite3w

Allows you to retrieve information about the system.


Keywords
sqlite3w, python-db, python-module, sqlite3, sqlite3worker
License
MIT
Install
pip install sqlite3w==1.0.6

Documentation

What is it?

Module with basic functionality to work with SQLite3.

Installation

pip install --upgrade sqlite3w

Example

import sqlite3worker

db = sqlite3worker.SQLite3Worker("main.sqlite3") # "FILEPATH" | ":memory:"

db.create_table(
    "users",
    {
        "id": (int, True), # "id": (int, True) -> "COLON_NAME": (PYTHON_TYPE, IS_PRIMARY_KEY)
        "nick": (str, False),
        "desc": (str, False),
        "birthday": (float, False)
    }
)

db.add_data(
    "users",
    [0, "Roman", "...", 1]
)