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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fluffer-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

fluffer-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file fluffer-0.1.0.tar.gz.

File metadata

  • Download URL: fluffer-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for fluffer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f21a3c0fdd30151b580eb78640623a5940ace8d37133d398e19c801c6fbf4ca5
MD5 55d7b69283c490440b1f9e3d97e29bf3
BLAKE2b-256 06d25ba8744dd9cfc91312d0cc66889c4eb214b77b7d13c3279c612b71a9bdba

See more details on using hashes here.

File details

Details for the file fluffer-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fluffer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for fluffer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1cafc8cb13697a5eedb25d88fbc646c86fd0bd9ea90a96340b2330f8c0d56e31
MD5 7ef8f076f9c0030fde1ca710a1cc7f2f
BLAKE2b-256 3054a5d094a8a24eec257c10c240bd175c84539852ebd065df086604c43ac188

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page