Downloading and installing Flask-RestlessΒΆ

Flask-Restless can be downloaded from its page on the Python Package Index. The development version can be downloaded from its page at GitHub. However, it is better to install with pip (hopefully in a virtual environment provided by virtualenv):

pip install Flask-Restless

Flask-Restless has the following dependencies (which will be automatically installed if you use pip):

  • Flask version 0.7 or greater
  • SQLAlchemy
  • python-dateutil version strictly greater than 2.0 if you are using Python 2.6 or Python 2.7, version strictly less than 2.0 if you are using Python 2.5
  • simplejson, only if you are using Python 2.5
  • Flask-SQLAlchemy, only if you want to define your models using Flask-SQLAlchemy (which we highly recommend)

Flask-Restless requires Python version 2.5, 2.6 or 2.7. Python 3 support will come when Flask has it.

Related Topics

This Page