$npx skillfedfor your agent

fan-tools

Various python stuff: testing, aio helpers, etc

With conditionsPyPI Software DevelopmentReleased Oct 2024179.8K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — fan_tools-4.4.0-py2.py3-none-any.whl
v4.4.0 · released 2024-10-03 · 2 runtime deps: pyyaml, typing-extensions

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—the 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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later; the package explicitly supports only 3.8+ and does not backport async/await or similar features to earlier versions.
  • Low install friction with only two runtime dependencies (pyyaml, typing-extensions).
  • Maintenance is dormant—last release was 680 days ago with no recent commits, though the repository remains active and the package is marked Production/Stable.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you can use this package freely in commercial and open-source projects without significant legal constraints.

last release 2024-10-03 (680 days) · last repo commit 2024-10-03 · 2 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 179,778 downloads/mo, #10,164 on PyPI

Verify before relying

pip install fan-tools

from fan_tools.python import memoize

@memoize
def expensive_function(x):
    return x * 2

result = expensive_function(5)
  • Whether the package is actively maintained or if dormancy signals future incompatibility with newer Python or dependency versions.
  • Real-world stability and test coverage of the backup integrations (S3, GCloud) in production environments.
  • Whether all listed modules (Django middleware, DRF serializers, FastAPI metrics) are fully functional or partially deprecated.
Same gist for agents: .md · .json

What it is and 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+.

The 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—last updated 680 days ago—so it may not receive updates for compatibility with newer Python or dependency versions.

Use it for

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

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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—the 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.

Install

fan-tools on PyPI

Before you install

Low install friction with only two runtime dependencies (pyyaml, typing-extensions). Maintenance is dormant—last release was 680 days ago with no recent commits, though the repository remains active and the package is marked Production/Stable.

Requires Python 3.8 or later; the package explicitly supports only 3.8+ and does not backport async/await or similar features to earlier versions.

License in practice

Licensed under MIT (permissive), so you can use this package freely in commercial and open-source projects without significant legal constraints.

Quickstart

pip install fan-tools

from fan_tools.python import memoize

@memoize
def expensive_function(x):
    return x * 2

result = expensive_function(5)

Verify before relying

  • Whether the package is actively maintained or if dormancy signals future incompatibility with newer Python or dependency versions.
  • Real-world stability and test coverage of the backup integrations (S3, GCloud) in production environments.
  • Whether all listed modules (Django middleware, DRF serializers, FastAPI metrics) are fully functional or partially deprecated.

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pyyamltyping-extensions
MaintenanceDormant 680 days since the last release
Last repo commit
First released
Downloads179,778 / month, #10,164 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: MacOS :: MacOS XOperating System :: POSIXOperating System :: POSIX :: LinuxOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: ImplementationProgramming Language :: Python :: Implementation :: CPythonTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Utilities

Evidence: fan_tools-4.4.0-py2.py3-none-any.whl

Tags

Capabilities
testing utilities and helpersasync caching decoratorslazy initialization metaclassunix shell command wrappersstructured json loggingprometheus metrics serverbackup s3 gcloud
Topics
testing-utilitiesasync-helpersinternal-tools
PyPI keywords
asynciotesting

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “lazy initialization metaclass”

  • fan-toolsA collection of internal testing utilities, async helpers, and…
  • lazyProvides a @lazy decorator that defers computation of object…
  • lazy-importDefers module loading and ImportErrors until a module or callable is…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also prometheus-fastapi-instrumentator · wrapt · botoinator · asyncache · fastapi-decorators · methodtools · cache-to-disk · proxy_tools · prometheus-flask-exporter · undecorated