Skip to main content

sqlfocus

Simple wrapper for sql

Example of usage (sqlite3)

import sqlite3

from sqlfocus import SQLTable

conn = sqlite3.connect("test.db")
table = SQLTable("test", conn)


"CREATE TABLE IF NOT EXISTS test (id INTEGER, name TEXT);"
table.create(exists=True, schema=(
    ("id", "INTEGER"),
    ("name", "TEXT")
))


'SELECT * FROM test WHERE id = 23455 AND name = "None"'
table.select()
table.select(where=[table.id == 23455,
                    table.name == "None"])


'INSERT INTO test VALUES (23455, "None")'
table.insert(23455, "None")

conn.commit()

Metadata

Release files for sqlfocus 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sqlfocus 0.3.4
File Size Uploaded Provenance Actions
sqlfocus-0.3.4.tar.gz 3.3 kB Without provenance Details for sqlfocus-0.3.4.tar.gz

Release files / sqlfocus-0.3.4.tar.gz

Download URL sqlfocus-0.3.4.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9c4aa6c46f02fefc540f250a8ffd7624fee858f21face2bfb621f1170fef9e49
BLAKE2b-256 checksum
How to use checksums
4636945694b93677d7d99091636c06940d451be82bc86223e7e1f0268186e85c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6

Security for sqlfocus 0.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page