fastpluggy-db-purge
Centralized database retention management and purge plugin for FastPluggy.
Features
- Auto-discover all database tables with row counts and sizes
- Per-table retention policies via admin UI
- Plugin-declared purge targets via
fp_purge_targetshook - Manual and scheduled purge with batched deletes
- Full audit trail of purge operations
Installation
pip install fastpluggy-db-purge
Configuration
| Setting | Default | Description |
|---|---|---|
default_retention_days |
30 | Global fallback retention |
batch_size |
5000 | Rows per DELETE batch |
dry_run_by_default |
True | Safety default for manual purges |
auto_purge_enabled |
False | Enable scheduled purge |
auto_purge_cron |
0 4 * * * |
Cron schedule (daily 4am UTC) |
Metadata
Release files for fastpluggy-db-purge 0.1.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fastpluggy_db_purge-0.1.18.tar.gz | 28.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fastpluggy_db_purge-0.1.18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.1 kB
Release files / fastpluggy_db_purge-0.1.18.tar.gz
| Download URL | fastpluggy_db_purge-0.1.18.tar.gz |
|---|---|
| Size | 28.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db54eab53a0076a9b586056604d00aa70e5b425ab3acc24ac848c326c40abc3e
|
|
BLAKE2b-256 checksum How to use checksums |
4b56070dc435a98d8367c28872ddd9e29a0b1b26ea23c0704a031be85f9a95d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / fastpluggy_db_purge-0.1.18-py3-none-any.whl
| Download URL | fastpluggy_db_purge-0.1.18-py3-none-any.whl |
|---|---|
| Size | 22.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52a8a9615a6cb9d75109a84d693e7d4a1114ae32c6a1fa06c7faf835cab3e938
|
|
BLAKE2b-256 checksum How to use checksums |
c14ef339c582f57801250460a18ff6282004727a2e1b505be0a3a4b4bd4ec40c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|