Skip to main content

doit-sqlite-sync

A SQLite backend for doit that keeps the database file synchronized with doit's state.

Description

doit-sqlite-sync provides a SQLite backend that ensures immediate synchronization between doit's state and the database file on disk. Unlike the default SQLite backend, which only saves changes when closing the connection, this backend commits changes as they occur. This is especially appropriate for long-running tasks, which allows to monitor the progress of the execution in real-time.

Installation

pip install doit-sqlite-sync

Usage

To use this backend with doit, set the --backend flag in the doit command:

doit run -f dodo.py --backend=sqlite3sync

Alternatively, you can specify it directly in your dodo.py file:

DOIT_CONFIG = {'backend': 'sqlite3sync'}

Requirements

  • Python >= 3.8
  • doit >= 0.36.0
  • cloudpickle >= 3.1.1

License

This project is licensed under the CeCILL-B License - see the LICENSE file for details.

Metadata

Release files for doit-sqlite-sync 1.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 doit-sqlite-sync 1.0
File Size Uploaded
doit_sqlite_sync-1.0.tar.gz 20.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for doit-sqlite-sync 1.0
File Interpreter ABI Platform
doit_sqlite_sync-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.9 kB

Release files / doit_sqlite_sync-1.0.tar.gz

Download URL doit_sqlite_sync-1.0.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8d9d6007a1d93e7eebb87b85bd0198087238c4d116d30294a67dd9678957939d
BLAKE2b-256 checksum
How to use checksums
784b639bf5b4d4a6bd147cea0a451d0ba778a6ea03b0f05cdcaf0c941955f5d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / doit_sqlite_sync-1.0-py3-none-any.whl

Download URL doit_sqlite_sync-1.0-py3-none-any.whl
Size 17.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f0323d44a7c148420d868ddb54eb854a59906f817859e484561d1c6ed58f3ff1
BLAKE2b-256 checksum
How to use checksums
abfbfdedad149353b1732dfd1f3280a705a67e362aa441d173bde9fdb2976ef0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

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