Skip to main content

fluffer

Pre-warming helper for application startup. Run a set of preload callables (optionally in parallel) and get a readiness report covering successes and failures.

Install

pip install fluffer

Usage

from fluffer import warm

def load_config():
    return {"env": "dev"}

def connect_cache():
    return True

report = warm([load_config, connect_cache], parallel=True)
assert report.ready is True
assert len(report.tasks) == 2

Roadmap

This is an early 0.1.0 release with active development planned:

  • Async/await warm paths
  • Timeout and cancellation per task
  • Integration hooks for health endpoints

Author

Coldbricks — coldbricks@gmail.com

Metadata

Release files for fluffer 0.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 fluffer 0.1.0
File Size Uploaded
fluffer-0.1.0.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fluffer 0.1.0
File Interpreter ABI Platform
fluffer-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / fluffer-0.1.0.tar.gz

Download URL fluffer-0.1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f21a3c0fdd30151b580eb78640623a5940ace8d37133d398e19c801c6fbf4ca5
BLAKE2b-256 checksum
How to use checksums
06d25ba8744dd9cfc91312d0cc66889c4eb214b77b7d13c3279c612b71a9bdba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / fluffer-0.1.0-py3-none-any.whl

Download URL fluffer-0.1.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1cafc8cb13697a5eedb25d88fbc646c86fd0bd9ea90a96340b2330f8c0d56e31
BLAKE2b-256 checksum
How to use checksums
3054a5d094a8a24eec257c10c240bd175c84539852ebd065df086604c43ac188
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

0.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