Eve is an open source Python framework for building and deploying RESTful web services with MongoDB support and SQL via community extensions.
Overview
Eve is a Python REST API framework aimed at making full-featured HTTP services quick to stand up. With a database, a configuration file or settings dictionary, and a small launch script, you can expose resources over REST and begin serving clients.
The design emphasizes REST conventions: CRUD across resources, filtering, sorting, pagination, HATEOAS, JSON and XML output, conditional requests, and concurrency controls. You can customize endpoints, validation, caching headers, API and document versioning, authentication, CORS, JSONP, rate limits, file storage, GeoJSON, and MongoDB aggregation.
MongoDB is supported natively. SQL, Elasticsearch, and Neo4j backends are available through community extensions. Eve builds on Flask and Cerberus and targets recent Python 3 and PyPy runtimes.
Defaults lean toward read-only APIs until you widen permissions. Event hooks, bulk inserts, embedded resource serialization, internal resources, and operational logging help operational teams tailor behavior without rewriting core plumbing.
Key features
- Full CRUD REST endpoints
- MongoDB native data store
- Filtering sorting and pagination
- Data validation with Cerberus
- Authentication and CORS support
- API and document versioning
- Rate limiting and event hooks
- JSON and XML rendering
Use cases
- Exposing MongoDB data over HTTP
- Building internal JSON APIs
- Prototyping REST backends quickly
- Read-only public data services
- Multi-resource web services