Laravel 4 enables me to develop both small scale and enterprise scale app's easily and efficiently, and its modular concepts allow me to extend it core, build custom reusable packages, and easily follow TDD practices.
I have been diving into the wonderful world of python (v3) and wondered what the equivalent web framework would be in the python community? A framework that follows some of the same core concepts built into Laravel 4 such as MVC design pattern, easy testing, modular design, packages etc.
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling.
Laravel and Django were tested head-to-head in 2018 for JSON serialization and since python's quite a speedy language it won by a landslide difference. Django performed 69k JSON responses/second while Laravel was at a humble 8kresponses/second. In terms of speed, Laravel doesn't compare with Django, unfortunately.
Django comes out on top in terms of speed (thanks in part to the faster Python), scalability and maintenance. Its built-in tools include decorators, SEO tools and third-party libraries. Laravel, on the other hand, is easier to use thanks to its simpler features, and contains strategy infusion as well.
When running huge Laravel project with lacs or records, for processing them you might want to use node. js or Python language. Or you want to use OCR, then you need Python which can process the task easily. In these cases you create the Python script, but you need to trigger from Laravel application.
Yes. Pyramid is what you are looking for. It's written from the ground up to be based in common Python libraries and components, and you can swap out pieces for other pieces as you wish. Python as a language is geared for TDD, and Pyramid takes advantage of that. You can push your own libraries, if they are abstract enough, out to PyPi for yourself, if you wish, but you can of course just keep them within your own projects too.
There are other Python frameworks, but if you're looking for modular and extensible, without a whole lot of framework interference in your working style preference, Pyramid is the way to go.
P.S. this question is better suited for programmers.stackexchange.com.
Python also has a web framework called Masonite which is a lot like Laravel. Heavily inspired by Laravel and a lot of Laravel developers can pick it up really easily.
Also has an ORM called Masonite ORM which is heavily inspired by eloquent
You can look at the framework I'm currently building, namely glim. There exists inspiration from play framework & laravel in it. You can get more information from the docs page.
It also has an extension system where developers can integrate to it. You can look at the extensions I have built;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With