Skip to main content

A SQLite wrapper optimized for DAQ-style, append-only logging.

Project description

SQLite-DAQ

A SQLite wrapper optimized for DAQ-style, append-only logging. Thread-safe per-connection usage, with helpers for CSV export and column selection.

Installation

pip install sqlite-daq

Usage

from sqlite_daq import SQLiteDaqWrapper

db = SQLiteDaqWrapper('mydata')
db.append_data_to_table('log', {'value': 42, 'timestamp': '2025-08-08'})
rows = db.fetch_all('log')
print(rows)
db.export_to_csv('log', 'log.csv')
db.close()

License

MIT

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

sqlite_daq-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqlite_daq-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file sqlite_daq-0.1.0.tar.gz.

File metadata

  • Download URL: sqlite_daq-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for sqlite_daq-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9ab47ef0305633955e1f7d0c3041a00707823c6336dcd534ace349a5e9114caa
MD5 6ea601d8bf551a795ae463c4aa8d4b95
BLAKE2b-256 7983a2322f1058ec4d9c5752a310e9d8fc5ebb962e98ff09eb7d3e578c469ad5

See more details on using hashes here.

File details

Details for the file sqlite_daq-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sqlite_daq-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for sqlite_daq-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af8507d3cdea5f457546716002d1f0adc5a75c5cd095313dafaaca051de0688f
MD5 08b01d09d53a1b8da7e0da664ef7047a
BLAKE2b-256 e59e53d3eb6de0e6c72351240f2d53b190ce803a8e5d6fa489f3d8f61d281ab8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page