Skip to main content

Allows you to retrieve information about the system.

Project description

What is it?

Module with basic functionality to work with SQLite3.

Installation

pip install --upgrade https://github.com/romanin-rf/sqlite3worker.py/releases/download/v1.0.0.0-release/sqlite3worker-1.0.0.0_release-py3-none-any.whl

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

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

sqlite3w-1.0.6.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

sqlite3w-1.0.6-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

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