5 wicked-fast Python frameworks you have to try

...

thoughtco.com

Free Online HTML Classes - Find the Best Free Online HTML Classes for Programmers

Travis Bradberry

Science Says These Five Things Prove You're Smart

dmarge.com

Study Reveals That Material Goods Don't Bring Happiness

flipboard.com

Web 2.0 on Flipboard

Noman Ur Rehman

Working with JSON in MySQL

Ian Johnson

The Hitchhiker’s Guide to d3.js

smashingmagazine.com

Better Form Design: One Thing Per Page!

Sailing With Sails.js: An MVC-style Framework For Node.js – Smashing Magazine

What Everyone Should Know About The Process Behind App Design...

bestdesign2themes.com

Why Laravel Development Is Popular Php Frameworks

reindex.io

You Might Not Need Underscore

Laurence Bradford

8 Tech Tools To Communicate Your Ideas More Effectively

readwrite.com

5 predictions for artificial intelligence for for the coming year

Jose Aguinaga

How it feels to learn JavaScript in 2016

css-tricks.com

Adding and Leveraging a CDN on Your Website

lifehack.org

5 Secret Hacks for More Powerful Web Designs

androidauthority.com

Google Wallet's new web app is here!

Serdar Yegulalp

5 wicked-fast Python frameworks you have to try

hbr.org

Machine Learning Is No Longer Just for Experts

humaan.com

Custom HTML Markers with Google Maps - Websites, Mobile and eCommerce – Humaan

Philleep Florence

Get the next record in a SQL table!

Getting More with LESS! - Mixins!

Code Snippets - Get DOM Element Content

A New Year, A New Site

PhilleepEdit Webmaster

Philleep Florence Bug Tracker and Project Management has moved!

Code Snippets - HandleBars.js Helpers - ONE

2017-10-20 : 04:53


If old Python networking and web libraries aren't fast enough for you, these new additions break speed limits and unleash new possibilities...

Faster, simpler, more “Pythonic” – those are the rallying cries for each new web framework in the Python ecosystem. There’s nothing wrong with tried-and-true solutions, but the big leap from Python 2 to Python 3 has brought all sorts of potential improvements, including a powerful asynchronous event framework that is perfect for network libraries.

Here are five recently minted web and network frameworks for Python that ramp up the speed, take advantage of new breakthroughs, and provide fresh spins on old ideas.

Sanic

The concept for Sanic is simple: Provide a web framework with a syntax based on the widely used Flask, but build it on top of the wicked-fast asynchronous event handlers available in Python 3.5 and up. The result? A framework that can serve 33,000-plus requests per second to Flask’s 4,988, and at almost one-tenth of the latency. (Benchmarks provided by the authors.) Routing and middleware are both included, too. It’s not clear how readily Flask can be swapped out for Sanic in an existing app, but it’s worth a try if you want to see how much of an improvement you can have.

Eve

If you’re looking to build web services and want a quick way to get started with known-good components, Eve has been designed with all that in mind. It uses Flask as its web framework, and it can plug into MongoDB, SQL-Alchemy, Elasticsearch, or Neo4js back ends for data access. The developers stress simplicity of deployment: “All you need to bring your API online is a database, a configuration file (defaults to settings.py), and a launch script.”

Morepath

Morepath bills itself as a “super-powered” Python web framework with a minimal setup footprint. It’s designed to get many typical use cases up and running quickly, such as turning common Python data structures into RESTful web services. One unique feature: It automatically turn paths defined in Morepath into links to create applications with elegant and clean URLs.

ButterflyNet

If you’re looking for a network library that’s designed to be async and secure by default, ButterflyNet was built with those goals in mind. It’s Python 3.5 and up only, since it uses the asyncio library for its magic, but setting up servers and passing it certificates and keys can be done in a dozen or so lines of code; a simple chatroom example is only 75 lines.

Uvloop

With a pitch like “blazing fast Python networking,” this one’s hard to ignore. Uvloopis a drop-in replacement for the asyncio event loop, so it can either be used as the basis for a new asyncio-based application or to replace asyncio in an existing one. It also gets points for working with the Python accelerator Cython, so the most crucial code is actually written in C. Its creators claim it’s “at least 2x faster than Nodejs, gevent, as well as any other Python asynchronous framework,” but test it for yourself and see.


infoworld.com
Philleep Florence LLC

This unknown unknown does not support some features required to view Philleep Florence LLC. Please download a newer unknown Browser.

 
 
Philleep Florence LLC
 
Philleep Florence LLC
Image Preview