A collection of Python sample applications integrated with Keploy for API testing, mocking, and observability.
This repository hosts sample Python applications that demonstrate how to integrate Keploy into various Python frameworks and databases. These examples are designed to help developers learn how to capture API calls, auto-generate test cases, and mock dependencies for faster, more reliable testing.
💡 Looking to contribute? We welcome new sample applications and improvements to existing ones!
⚠️ Note: Issue creation is disabled on this repository. Please submit issues via the main Keploy issue tracker.
Application | Tech Stack | Description |
---|---|---|
Flask-Mongo | Flask + MongoDB | Task management API with CRUD operations on student records. Supports CORS for cross-origin requests. |
Django-Postgres | Django + PostgreSQL | User management API supporting CRUD operations on user records. |
FastAPI-Postgres | FastAPI + PostgreSQL | Student management API with CRUD operations on student data. |
FastAPI-Twilio | FastAPI + Twilio | SMS-sending API using Twilio’s messaging service. |
Flask-Redis | Flask + Redis | Book management API with caching and storage using Redis. Supports CRUD and optimized search. |
Need help, have questions, or want to connect with other developers?
👉 Join our Slack community: Keploy Slack
We’re happy to help you get started or discuss your ideas!
We ❤️ contributions! Here’s how you can help:
- ✨ Add new sample applications or integrations
- 📝 Improve existing examples
- 🐛 Report issues on Keploy main repo
Please make sure to read and follow our Code of Conduct.
Each sample application comes with its own README explaining:
- 🔹 How to set it up
- 🔹 How to run it with Keploy
- 🔹 How to generate tests
👉 Check inside each application’s folder for detailed instructions.
This repository is licensed under the Apache License 2.0.
Keploy is an open-source tool that generates test cases and data mocks by recording real API traffic — helping you test faster with high coverage and no manual effort.