eve:REST API 框架,由 Flask, MongoDB 等驱动

网友投稿 689 2022-10-21

eve:REST API 框架,由 Flask, MongoDB 等驱动

eve:REST API 框架,由 Flask, MongoDB 等驱动

Eve

Eve is an open source Python REST API framework designed for human beings. It allows to effortlessly build and deploy highly customizable, fully featured RESTful Web Services.

Eve is powered by Flask, Redis, Cerberus, Events and offers support for both MongoDB and SQL backends.

The codebase is thoroughly tested under Python 2.6, 2.7, 3.3, 3.4, 3.5 and PyPy.

Eve is Simple

from eve import Eveapp = Eve()app.run()

The API is now live, ready to be consumed:

$ curl -i http://example.com/peopleHTTP/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.

Check out the Eve Website

Features

Emphasis on RESTFull range of CRUD operationsCustomizable resource endpointsCustomizable, multiple item endpointsFiltering and SortingPaginationHATEOASJSON and XML RenderingConditional RequestsData Integrity and Concurrency ControlBulk InsertsData ValidationExtensible Data ValidationResource-level Cache ControlAPI VersioningDocument VersioningAuthenticationCORS Cross-Origin Resource SharingJSONPRead-only by defaultDefault ValuesPredefined Database FiltersProjectionsEmbedded Resource SerializationEvent HooksRate LimitingCustom ID FieldsFile StorageGeoJSONInternal ResourcesEnhanced LoggingOperations LogMongoDB Aggregation FrameworkMongoDB and SQL SupportPowered by Flask

License

Eve is a Nicola Iarocci open source project, distributed under the BSD license.

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:03 如何利用Markdown实现极速排版
下一篇:09 如何通过搜索引擎寻找海量的免费商用图片
相关文章

 发表评论

暂时没有评论,来抢沙发吧~