saums-1391/sqlthon

A simple package for SQLite3 operations

Python

0

75 commits

updated Oct 8, 2026

See the code

See what people are saying

SourceMessageScoreDate

Sqlthon – A lightweight Pythonic layer for SQLite

1

Oct 12, 2026

README

Sqlthon

A simple package for SQLite3 operations.

Quick Start

from sqlthon import Connect, Field
from sqlthon.keywords import *

with Connect("test.db") as db:
    db.add_table(
        "users",
        ("id", INT, [PRIMARY_KEY, AUTO_INCREMENT]),
        ("name", STR, [NOT_NULL]),
        ("email", STR, [UNIQUE])
    )
    db.add_record("users", (1, "Ali", "ali@example.com"))
    db.save_to_database()
    
    result = db.find_record("users", condition=Field("id") == 1)
    print(result)

Document

https://sqlthon.readthedocs.io/fa/latest

Installation

pip install sqlthon

saums-1391/sqlthon

A simple package for SQLite3 operations

Python

0

75 commits

updated Oct 8, 2026

See the code

See what people are saying

SourceMessageScoreDate

Sqlthon – A lightweight Pythonic layer for SQLite

1

Oct 12, 2026

README

Sqlthon

A simple package for SQLite3 operations.

Quick Start

from sqlthon import Connect, Field
from sqlthon.keywords import *

with Connect("test.db") as db:
    db.add_table(
        "users",
        ("id", INT, [PRIMARY_KEY, AUTO_INCREMENT]),
        ("name", STR, [NOT_NULL]),
        ("email", STR, [UNIQUE])
    )
    db.add_record("users", (1, "Ali", "ali@example.com"))
    db.save_to_database()
    
    result = db.find_record("users", condition=Field("id") == 1)
    print(result)

Document

https://sqlthon.readthedocs.io/fa/latest

Installation

pip install sqlthon

Project health

Latest release

0.1.5 · Oct 8, 2026

Releases this year

19