Questions tagged [eve]

Eve is a Python REST API framework powered by Flask and MongoDB.

Eve is a Python REST API framework powered by Flask and MomngoDB. Allows to effortlessly build and deploy highly customizable, fully featured RESTful Web Services.

Eve is Simple

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, 2.7, 3.3, 3.4 and PyPy.

Philosophy

You have data stored somewhere and you want to expose it to your users through a RESTful Web API. Eve is the tool that allows you to do so.

Eve provides a robust, feature rich, REST-centered API implementation, and you just need to configure your API settings and behavior, plug in your datasource, and you’re good to go. See Features for a list of features available to Eve-powered APIs.

API settings are stored in a standard Python module (defaults to settings.py), which makes customization quite a trivial task. It is also possible to extend some key features, namely Authentication and Authorization, Data Validation and Data Access, by providing the Eve engine with custom objects.

Documentation

See the Eve Website.

483 questions
-1
votes
1 answer

how to update mongo_prefix dynamically for an python eve app

i have defined two mongo dbs using different mongo_db_prefixes like: USER1_MONGO_DBNAME = 'user1db' USER2_MONGO_DBNAME = 'user2db' and remaining mongodb settings are same for both users. if i want to change the mongodb name to be used for an eve…
-1
votes
1 answer

call parent class in run.py from a authentication class child in setting.py

I have started using Python-Eve to access an existing database. I want use a Token-Based Authentication but for SignIn I want use a Basic Authentication with bcrypt. I create a specific endpoint: DOMAIN = { .... 'signin': signin_setting, …
-2
votes
2 answers

getting error while following db connection details used in settings.py

while executing eve documentation example, I am getting following error about database. Anybody know help me. technologies are used eve framework and mongodb. basic error so anybody can solve it. settings.py MONGO_HOST = 'localhost' MONGO_PORT =…
1 2 3
32
33