pAPI
Health Warn
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
This tool is a modular micro-framework built on top of FastAPI, designed to help developers create composable, plugin-oriented web APIs with native support for LLM tooling and multiple databases.
Security Assessment
The overall risk is rated as Low. A light code scan of 12 files found no dangerous patterns, hardcoded secrets, or requests for dangerous permissions. Because it is an API framework designed to expose endpoints and connect with databases (MongoDB, SQL, Redis), it inherently handles network requests and potentially sensitive data routing. However, the core framework itself does not appear to execute malicious shell commands or compromise your system.
Quality Assessment
The project is actively maintained, with its most recent push happening just today. However, it currently lacks a license file, which is a significant drawback for open-source collaboration and enterprise use as it legally restricts how the code can be used or modified. Additionally, it has low community visibility with only 5 GitHub stars, meaning it has not been extensively peer-reviewed or battle-tested by a large user base. Documentation is available but noted as a work in progress.
Verdict
Use with caution: the underlying code appears safe to run, but the lack of a license and minimal community adoption means you should evaluate it for internal use rather than relying on it for critical, untested production workflows.
pAPI (Python API / Pluggable API) modular micro-framework built on top of FastAPI, designed for creating composable, plugin-oriented web APIs.
pAPI – Python/Pluggable API Framework
pAPI is a modular micro-framework built on top of FastAPI for composing scalable, tool-oriented APIs. It extends FastAPI’s routing system with native support for modular service architectures, app discovery, and LLM tooling.
📚 Documentation: Full documentation is currently a work in progress (WIP).
👉 https://efirvida.github.io/pAPI/
🧪 Example apps are available in theextra_appsbranch
✨ Key Features
🔌 Plug-and-Play Architecture
Modular app system with automatic route discovery and dependency resolution.🧠 LLM Tooling & MCP Integration
Expose endpoints as tools for agent frameworks using SSE and standard response models.🧬 Multi-Database Support
Native support for MongoDB (Beanie), SQL databases (SQLAlchemy), and Redis.📦 Standardized API Responses
Unified success/error format with automatic metadata injection and exception handling.⚡ Performance-Optimized
Fully async, lazily loaded, and built on FastAPI’s high-performance core.🛠️ Developer Tooling
Async-enabled IPython shell for rapid development.
🧩 App System
pAPI is built around a composable app architecture, where each app functions like a LEGO® piece—self-contained, reusable, and designed to interlock with others.
These apps can:
- Register API routes (
RESTRouter) - Define database models (Beanie or SQLAlchemy)
- Hook into startup, shutdown processes (
AppSetupHook)
Together, they form a cohesive and scalable API system, enabling you to build robust, modular services by simply connecting or extending the building blocks your application needs.
Apps are declared in config.yaml, allowing clean separation of concerns and easy configuration.
📊 Use Cases
AI Agent Tooling
Build modular tools for LLMs and agents.Composable Microservices
Create reusable, pluggable service components.Rapid API Prototyping
Launch structured APIs quickly with standardized behavior.Security and Auth Systems
Implement RBAC/ABAC policies using app-based security modules.
🚀 Getting Started
git clone https://github.com/efirvida/pAPI.git
cd pAPI
rye sync
rye run python papi/cli.py --help
🧠 Learn More
Check the documentation for:
- App development
- CLI usage
- Response formatting
- Database integrations
- MCP/LLM support
👉 https://efirvida.github.io/pAPI/
🤝 Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/my-feature) - Commit your changes
- Push and open a Pull Request
🪪 License
MIT License © 2025 — Eduardo Miguel Firvida Donestevez
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found