{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/14"},{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/8"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/8"}],"enrichment":{"capability":"A collection of internal testing utilities, async helpers, and operational tools including caching decorators, API URL builders, lazy-initialization metaclasses, Unix shell wrappers, JSON logging, metrics servers, and backup integrations.","skillfed_tags":["testing-utilities","async-helpers","internal-tools"],"use_cases":["Build test fixtures with lazy-initialized connections and cached properties using PropsMeta to avoid complex setUp methods.","Define nested API endpoint URLs in test fixtures with ApiUrls for parameterized test requests.","Cache expensive async function results during test runs with cache_async decorator.","Run shell commands from Python with real-time logging and error checking via asucc and succ wrappers.","Output structured JSON logs with environment variables for ingestion into ELK or similar observability platforms.","Expose application metrics in Prometheus format using MetricsServer with FastAPI."],"what_it_does":"fan-tools is a collection of internal utilities originally built for testing but expanded to cover async helpers, Unix operations, logging, monitoring, and backup tasks. It provides decorators for caching async and sync functions, a metaclass for lazy-initialized properties in test classes, wrappers around shell commands with async support, structured JSON logging for ELK-style systems, a Prometheus metrics server, and backup helpers for S3 and Google Cloud. The package depends on pyyaml and typing-extensions and is designed for Python 3.8+.\n\nThe toolkit is most useful for teams running internal testing infrastructure or operational scripts that need consistent patterns across projects. Its testing helpers (PropsMeta, ApiUrls, caching decorators) reduce boilerplate in test suites, while its Unix and logging modules simplify shell integration and observability. However, the package is dormant\u2014last updated 680 days ago\u2014so it may not receive updates for compatibility with newer Python or dependency versions.","worth_installing":"Yes, if you are maintaining internal testing infrastructure or operational scripts that benefit from its specific patterns (lazy initialization, shell wrappers, structured logging). No, if you need active maintenance or expect compatibility updates\u2014the package is dormant and may not adapt to future Python or dependency changes. The low install friction and permissive license make it low-risk to try, but plan for potential maintenance burden if the project evolves."},"id":"fan-tools","links":{"html":"https://skillfed.io/packages/fan-tools","md":"https://skillfed.io/packages/fan-tools.md","pypi":"https://pypi.org/project/fan-tools/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-10-03","license_spdx":null,"license_treatment":"permissive","name":"fan-tools","python_support":"unspecified","summary":"Various python stuff: testing, aio helpers, etc"},"popularity":{"monthly_downloads":179778,"position":10164,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"4.4.0"}
