Eve is an out-of-the-box, highly customizable and fully featured RESTful Web API framework that you can use to effortlessly build and deploy your own APIs
from eve import Eve
app = Eve()
app.run()
The API is now live, ready to be consumed:
$ curl -i http://example.com/people/
HTTP/1.1 200 OK
All you need to bring your API online is a database, a configuration file
(defaults to settings.py
) and a launch script. Overall, you will find that
configuring and fine-tuning your API is a very simple process.
Eve is thoroughly tested under Python 2.6, Python 2.7 and Python 3.3.
- Emphasis on REST
- Full range of CRUD operations
- Customizable resource endpoints
- Customizable, multiple item endpoints
- Filtering and Sorting
- Pagination
- HATEOAS
- JSON and XML Rendering
- Conditional Requests
- Data Integrity and Concurrency Control
- Multiple Insertions
- Data Validation
- Extensible Data Validation
- Resource-level Cache Control
- Versioning
- CORS Cross-Origin Resource Sharing
- Read-only by default
- Default Values
- Predefined Database Filters
- Projections
- Event Hooks
- Native MongoDB Support
- SQL Alchemy Support (WIP)
- Powered by Flask
Eve is a Nicola Iarocci and Gestionali Amica open source project, distributed under the BSD license.