VapiServe
A lightweight framework for creating and deploying API servers for Vapi custom tools.
Installation
pip install vapiserve
Quick Example
from vapiserve import tool, serve
@tool(name="echo")
async def echo(message: str = "Hello") -> dict:
# Add your tool logic here
...
message = f"You said: {message}"
return {"message": message}
if __name__ == "__main__":
serve(echo, port=8000)
Your tool is now available at http://localhost:8000/tools/echo.
Features
- Create tools with simple
@tooldecorator - Built on FastAPI for high performance
- Structured error handling and validation
- Multiple service integrations in modular design
- Expose local servers with ngrok for development
- Comprehensive type hints and documentation
Service Integrations
VapiServe provides integrations across various categories:
- Scheduling: Google Calendar, Outlook Calendar
- Tasks: Todoist
- Communication: Slack, Twilio
- Storage: AWS S3, Google Cloud Storage
- Email: SendGrid
- AI: OpenAI, Anthropic
Documentation
Kindly refer to our documentation for detailed usage instructions.
Contributing
Contributions are welcome. Kindly fork the repository, create a feature branch, and submit a pull request.
License
This project is licensed under the MIT License.
Made with ❤️ by Mahimai Raja
Metadata
Release files for vapiserve 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vapiserve-0.0.5.tar.gz | 172.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vapiserve-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 223.0 kB
Release files / vapiserve-0.0.5.tar.gz
| Download URL | vapiserve-0.0.5.tar.gz |
|---|---|
| Size | 172.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ced44a44d203569e35fb11daa9f16539a5ed6643e45b20752a3041c8d917a0e7
|
|
BLAKE2b-256 checksum How to use checksums |
41119f8741d9c664757514b2d4e9c5c738506ac32d6e32b9cacaa70c448f7139
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.6
|
Release files / vapiserve-0.0.5-py3-none-any.whl
| Download URL | vapiserve-0.0.5-py3-none-any.whl |
|---|---|
| Size | 51.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6ee5c2db143016074b32fef933e513ff6ddc9967381a94e73646d8e0fc0d8ec
|
|
BLAKE2b-256 checksum How to use checksums |
cd3ed04a3118a56f25eba4ac743aad6a91f1e05f557227f4128c722c6c57d390
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.6
|