Skip to main content

SQLite tables as first-class objects

Project description

sqltables

SQLite tables as first-class objects in Python.

This Python module provides a first-class interface to SQLite table. This means that tables and views can be assigned to variables and used as parameters and return values of Python functions.

A simple example:

db = sqltables.Database()
values = db.load_values([[1], [2], [3]], column_names=["val"])

def square(tab):
    return tab.view("select val, val*val as squared from _")

squared = square(values)

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

sqltables-1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

sqltables-1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file sqltables-1.0.tar.gz.

File metadata

  • Download URL: sqltables-1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.0

File hashes

Hashes for sqltables-1.0.tar.gz
Algorithm Hash digest
SHA256 5494f364ef2fb885520c06b6bb25645687c462505582177be22556046d4466d5
MD5 0c651990d7cb742a606155cd8cfb2b2e
BLAKE2b-256 36375cd0073b40698e023f7072f33bc941fdf7c2137827b607f8dd4c1ba8c7d8

See more details on using hashes here.

File details

Details for the file sqltables-1.0-py3-none-any.whl.

File metadata

  • Download URL: sqltables-1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.0

File hashes

Hashes for sqltables-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de18d1132190a5f6a92cc703aae7fcfb61494b4235e11bcfcbcea9a6fe3e4a74
MD5 5744e28d8a36823ca3849f808ff148cf
BLAKE2b-256 a081440215c8dd479b9008d37ae4ec36ad5d9256998db5878e6bc99f0f1b6dd4

See more details on using hashes here.

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