semvec/pypi-packages huggingface dataset:
fastapi-audit-log 1.4.0
Audit logging middleware for FastAPI apps
License: MIT
Requires Python: >=3.9
Keywords: fastapi, audit, logging, middleware

# FastAPI Audit Log

`fastapi-audit-log` is a middleware package for **FastAPI** that automatically logs API requests and responses to a database. It supports **MySQL, PostgreSQL, Oracle**, and **SQLite**.

## Features

- Logs requests and responses for POST, PUT, PATCH, DELETE methods
- Skips files in multipart/form-data
- Background DB writes for non-blocking performance
- Automatic cleanup of old logs (configurable retention)
- Exclude specific paths (e.g., `/health`, `/users`)
- Include specific paths (e.g., `/health`, `/users`)
- Works with MySQL, PostgreSQL, Oracle, SQLite

## Installation

```bash
# Install main package
pip install fastapi-audit-log

# Optional database drivers
pip install fastapi-audit-log[mysql]      # MySQL
pip install fastapi-audit-log[postgres]   # PostgreSQL
pip install fastapi-audit-log[oracle]     # Oracle
newapi-mcp 0.1.0
New API MCP - Model Context Protocol implementation
License: MIT
Requires Python: >=3.10
Keywords: ai, mcp, model-context-protocol, newapi

# newapi-mcp
A Model Context Protocol (MCP) server for managing AI model prices in [NewAPI](https://github.com/Calcium-Ion/new-api). Enables AI assistants to compare and update model pricing through natural language.