{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/18"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/9"},{"label":"HTTP Servers","url":"https://skillfed.io/packages/category/internet-www-http-http-servers"},{"label":"Application","url":"https://skillfed.io/packages/category/internet-www-http-wsgi-application"},{"label":"Server","url":"https://skillfed.io/packages/category/internet-www-http-wsgi-server"}],"enrichment":{"capability":"Provides reusable utilities for FastAPI applications including scheduled task decorators, TTL-based LRU caching, request timing middleware, session management, and a CLI tool for project scaffolding.","skillfed_tags":["fastapi-addon","task-scheduling","caching"],"use_cases":["Schedule periodic background tasks (e.g., cleanup, health checks) using @repeat_every or @repeat_at cron decorators within FastAPI startup.","Add automatic request timing and performance logging to all endpoints via add_timer_middleware.","Cache expensive function results with automatic expiration using @ttl_lru_cache with configurable TTL and size limits.","Manage database sessions across requests using FastAPISessionMaker context manager instead of manual get_db patterns.","Generate a FastAPI project skeleton quickly using the CLI tool to avoid manual boilerplate setup."],"what_it_does":"fastapi-utilities is a collection of helper functions and decorators for FastAPI applications. It reduces boilerplate by providing task scheduling (via repeat_every and repeat_at decorators), a TTL-aware LRU cache decorator, middleware for logging request timing, and a session manager that wraps SQLAlchemy. The package also includes a CLI tool to scaffold new FastAPI projects.\n\nThe package depends on click-spinner, croniter, fastapi, pydantic, and sqlalchemy. It is classified as Alpha and has not been actively maintained for over a year, so some features may not align with the latest FastAPI API changes\u2014the description includes guidance on adapting to newer lifespan patterns. It is suitable for developers seeking quick utilities to avoid writing common patterns, but should be evaluated against current FastAPI best practices before adoption in production.","worth_installing":"Yes, with conditions. The package offers genuine utility for FastAPI developers seeking to reduce boilerplate\u2014particularly task scheduling and caching\u2014and carries no security vulnerabilities. However, the aging maintenance status (507 days since last release) and Alpha classification mean you should verify that features work with your FastAPI version and be prepared to adapt or fork if compatibility issues arise. Best suited for projects where you can tolerate limited upstream support or are willing to maintain patches yourself."},"id":"fastapi-utilities","links":{"html":"https://skillfed.io/packages/fastapi-utilities","md":"https://skillfed.io/packages/fastapi-utilities.md","pypi":"https://pypi.org/project/fastapi-utilities/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-03-25","license_spdx":null,"license_treatment":"permissive","name":"fastapi-utilities","python_support":"supports_current","summary":"Reusable utilities for FastAPI"},"popularity":{"monthly_downloads":140447,"position":11272,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.1"}
