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)
| File | Size | Uploaded | |
|---|---|---|---|
| fluffer-0.1.0.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|