A SQLite backend that keeps the db file synchronized with the doit's state.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file doit_sqlite_sync-1.0.tar.gz.
File metadata
- Download URL: doit_sqlite_sync-1.0.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d9d6007a1d93e7eebb87b85bd0198087238c4d116d30294a67dd9678957939d
|
|
| MD5 |
cf78ba0f8345a3fd6edd9a2d45b4cf8d
|
|
| BLAKE2b-256 |
784b639bf5b4d4a6bd147cea0a451d0ba778a6ea03b0f05cdcaf0c941955f5d9
|
File details
Details for the file doit_sqlite_sync-1.0-py3-none-any.whl.
File metadata
- Download URL: doit_sqlite_sync-1.0-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0323d44a7c148420d868ddb54eb854a59906f817859e484561d1c6ed58f3ff1
|
|
| MD5 |
a3e2fe6d2041373330edf017bc72fd01
|
|
| BLAKE2b-256 |
abfbfdedad149353b1732dfd1f3280a705a67e362aa441d173bde9fdb2976ef0
|