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.12.tar.gz (22.6 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.12-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastpluggy_db_purge-0.1.12.tar.gz
  • Upload date:
  • Size: 22.6 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.12.tar.gz
Algorithm Hash digest
SHA256 17ed96e0342b51c8706b039189c95290ee2f6675baa8da6b6cb8d6ee7307ea57
MD5 2eeca0e58d1aa3464b636edefbed2798
BLAKE2b-256 388bef1cb003dfc2d0f74e20f61b7fc41bb8eb12c601f8058bb31119f141527c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastpluggy_db_purge-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 8ae37b11d73976b92054f9318ebf61029a0b20148b1f7afb5bacba320fd77d91
MD5 ecea163327d844fadd64ec4f6a5f6c0c
BLAKE2b-256 1278f8fd7bdb581c216869ac1d5dbca9154d1ba23d29f9f251e7ad8baeadab97

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