Skip to main content

Centralized database retention management and purge plugin for FastPluggy

Project description

fastpluggy-db-purge

DB Purge Release Pipeline Status Coverage

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_targets hook
  • 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)

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

fastpluggy_db_purge-0.1.14.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

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

fastpluggy_db_purge-0.1.14-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

Details for the file fastpluggy_db_purge-0.1.14.tar.gz.

File metadata

  • Download URL: fastpluggy_db_purge-0.1.14.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for fastpluggy_db_purge-0.1.14.tar.gz
Algorithm Hash digest
SHA256 2d2d7cb7eceee957461b0e2e45b29c51069b0ba9791eb482da7e4f77c8c1c614
MD5 f54646b48e8b8369d41ba09ac6b8d87a
BLAKE2b-256 3061fe480d923f9fc496ef1ef0b833bc28fc220a687b1c78b8c18cceb0794038

See more details on using hashes here.

File details

Details for the file fastpluggy_db_purge-0.1.14-py3-none-any.whl.

File metadata

File hashes

Hashes for fastpluggy_db_purge-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 c84fa419ba836668518304d65930ac766ff0fc731ee153b8dd0de4641da16876
MD5 dd940f0d3aab4e491e9276bfb8879394
BLAKE2b-256 a921e8579b2d84dd2da0cce9b38dd0411f8f70c69d5b7e59399547aed5d00932

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