Skip to main content

mkpipe-extractor-sqlite

SQLite extractor plugin for MkPipe. Reads SQLite database tables via JDBC.

Documentation

For more detailed documentation, please visit the GitHub repository.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.


Connection Configuration

connections:
  sqlite_source:
    variant: sqlite
    database: /full/path/to/mydb.db

Table Configuration

pipelines:
  - name: sqlite_to_pg
    source: sqlite_source
    destination: pg_target
    tables:
      - name: users
        target_name: stg_users
        replication_method: full

Incremental Replication

      - name: events
        target_name: stg_events
        replication_method: incremental
        iterate_column: updated_at
        iterate_column_type: datetime

Custom SQL

      - name: events
        target_name: stg_events
        replication_method: full
        custom_query: "SELECT id, user_id, event_type FROM events WHERE {query_filter}"

Performance Notes

  • SQLite is a file-based database and does not support concurrent connections — parallel JDBC reads (partitions_count) are not meaningful and may cause lock contention.
  • For large SQLite databases, keep fetchsize moderate (10,000–50,000).
  • SQLite is best suited for small-to-medium datasets (< a few hundred MB). For large analytical workloads, consider migrating to a proper RDBMS.

All Table Parameters

Parameter Type Default Description
name string required SQLite table name
target_name string required Destination table name
replication_method full / incremental full Replication strategy
iterate_column string or list — Column(s) for incremental watermark. String for single column or SQL expression, list for multi-column OR logic
iterate_column_type int / datetime — Type of iterate_column
fetchsize int 100000 Rows per JDBC fetch
custom_query string — Override SQL with {query_filter} placeholder
custom_query_file string — Path to SQL file (relative to sql/ dir)
tags list [] Tags for selective pipeline execution
pass_on_error bool false Skip table on error instead of failing

Metadata

Release files for mkpipe-extractor-sqlite 0.5.0

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

Source distribution (sdist)

Source distribution for mkpipe-extractor-sqlite 0.5.0
File Size Uploaded Provenance
mkpipe_extractor_sqlite-0.5.0.tar.gz 6.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mkpipe-extractor-sqlite 0.5.0
File Interpreter ABI Platform
mkpipe_extractor_sqlite-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.5 kB

Release files / mkpipe_extractor_sqlite-0.5.0.tar.gz

Download URL mkpipe_extractor_sqlite-0.5.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6c90ab842979543a2ba15bb496f4ba08526de4c9b4431221dd7bf5180524d09e
BLAKE2b-256 checksum
How to use checksums
f405cb19236bd00930fcf333edc3345f4f6c01b8ed39cb535b662741c0d374a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / mkpipe_extractor_sqlite-0.5.0-py3-none-any.whl

Download URL mkpipe_extractor_sqlite-0.5.0-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a466f3093efeb3c37bbacb50c7603ef24b54bad97ccb2fa161fdb2762a8ccbe9
BLAKE2b-256 checksum
How to use checksums
b65107b56b0ce50bd30aaa60871273ead3c06a2497ea578c6831014ebe504969
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for mkpipe-extractor-sqlite 0.5.0

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.

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