Ray, the new Python Framework, was recently released. Ray Python Framework has been making rounds across social media for its capabilities and offerings around REST APIs. The design philosophy of Ray framework is centred around the idea of giving you complete freedom. You can also make decisions based on your project and not be restricted by the framework.

Ray is developed by Felipe Volpone, who is a Python enthusiast and open source contributor. He also loves to write and speak in front of large audiences. His love for technology and his ability to understand the nitty-gritty of technology has enabled him to develop a Python framework.

Ray Vs. Django Vs. Flask

With only a few weeks into the release, it is hard to get an objective view of how the three frameworks compare against each other. The main motivation behind the framework is to provide more flexibility and freedom when compared to Django.

In the words of the author himself, “The Ray framework it’s a kind of mix of Django and Flask. Django it’s the kind of framework that you’re stuck with it (this is not always a problem), once you start using it, will become hard to get out of it. On the other side, Flask is a micro-framework that you can connect with a lot of plugins from the Python community. Ray tries to get the best of both sides, having a small, but powerful core, and allowing plugins to connect with it.”

As you can see, it borrows heavily from the philosophy of Django and Flask. Flask being a micro-framework provides enough incentive for customization and experimentation. Whereas Django is a well-structured framework which requires time to master. With Ray framework, anyone can quickly get started with a project.

The end result is a powerful framework that lets you build REST APIs. The core philosophy makes it easy for the APIs to be uncoupled from the project you are working on.

Ray Framework Features

So, we learned a lot about the core philosophy of Ray framework and its author. Let’s get started with the features of Ray framework.

Easy APIs

Authentication

Integration with Pewee, SQLAlchemy, Google App Engine

Database Hooks

Actions in APIs

uWSGI built-in server

API Protection.

Conclusion

Ray framework looks promising, but it still has a long way to go. As a Python enthusiast, what do you think about the framework? Will it stand the test of time? Or it is just another framework that will be lost in the internet glory? Comment below and let us know.

You can read more about the framework here and here.

New to Rest API development? Check out how KillRoy, a developer with 22 years of experience from Sliema, Malta develop REST APIs using node.js below.