Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Peter Bengtsson: A good Django view function cache decorator for http.JsonResponse

Link: https://www.peterbe.com/plog/json_response_cache_page_decorator

I use this a lot. It has served me very well. The code:

import hashlib
import functools

import markus # optional
from django.core.cache import cache
from django import http
from django.utils.enco
PyCharm: PyCharm 2018.2 EAP 4

Link: http://feedproxy.google.com/~r/Pycharm/~3/-LYCtWANNL4/

We’re now in our fourth installment of a pretty big 2018.2 Early Access Program cycle. Lots to take a look at by downloading EAP 4 from our website.
New in PyCharm 2018.2 EAP 4
Pipenv support
We know
Curtis Miller: Learn Basic Python and scikit-learn Machine Learning Hands-On with My Course: Training Your Systems with Python Statistical Modelling

Link:

In this course I cover statistics and machine learning topics. The course assumes little knowledge about what statistics or machine learning involves. I touch lightly on the theory of statistics and m
NumFOCUS: Ethical Algorithms — Notes from the DISC Unconference

Link: https://www.numfocus.org/blog/ethical-algorithms-notes-from-the-disc-unconference

The post Ethical Algorithms — Notes from the DISC Unconference appeared first on NumFOCUS.
Dan Crosta: Flask-PyMongo, Back from the Dead

Link: https://late.am/post/2018/06/21/flask-pymongo-back-from-the-dead.html


homesteading.com
Long ago, when I worked at MongoDB I created
Flask-PyMongo to make it
easy for programmers using Flask to use the
database. Fast forward almost 8 years, during which time I wasn't a
Andre Roberge: Javascript tools for Python hobbyists

Link: https://aroberge.blogspot.com/2018/06/javascript-tools-for-python-hobbyists.html

I am just a hobbyist, Python enthusiast who has been, over the course of many years, writing what is now a relatively big Javascript program (close to 20,000 lines of code so far). If you like Python
Wallaroo Labs: Implementing Time Windowing in an Evented Streaming System

Link: https://blog.wallaroolabs.com/2018/06/implementing-time-windowing-in-an-evented-streaming-system/

Hi there! Welcome to the second and final installment of my trending twitter hashtags example series. In part 1, we covered the basic dataflow and logic of the application. In part 2, we are going to
Trey Hunner: How to make an iterator in Python

Link: http://treyhunner.com/2018/06/how-to-make-an-iterator-in-python/

I wrote an article sometime ago on the iterator protocol that powers Python’s for loops.
One thing I left out of that article was how to make your own iterators.
In this article I’m going to discuss w
qutebrowser development blog: qutebrowser v1.3.3 released (security update!)

Link: https://blog.qutebrowser.org/qutebrowser-v133-released-security-update.html

I've just released qutebrowser v1.3.3, which fixes an XSS vulnerability
on the qute://history page (:history).
qutebrowser is a keyboard driven browser with a vim-like, minimalistic
interface. It's wr
Weekly Python StackOverflow Report: (cxxxi) stackoverflow python report

Link: http://python-weekly.blogspot.com/2018/06/cxxxi-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2018-06-24 06:26:59 GMTWhy does `None is None is None` return True? - [
Stefan Behnel: Cython for web frameworks

Link: http://blog.behnel.de/posts/cython-for-web-frameworks.html

I'm excited to see the Python web community pick up Cython more and more to speed up their web frameworks.
uvloop as a fast drop-in replacement for asyncio has been around for a while now, and it's mo
Davy Wybiral: Encrypted reverse proxy in Go

Link: http://davywybiral.blogspot.com/2018/06/encrypted-reverse-proxy-in-go.html

This was part of an interview technical challenge but I decided to write it out as an actual Golang tool. It has a program for starting the reverse proxy from command line as well as package interface
Ned Batchelder: Coverage.py is on GitHub

Link: https://nedbatchelder.com//blog/201806/coveragepy_is_on_github.html

After many years on Bitbucket, today I moved
coverage.py development to GitHub.
I’ve long wanted to use Git instead of Mercurial, but I didn’t want to lose
the issues that were on Bitbucket.I thought
Mike Driscoll: PyDev of the Week: Mario Corchero

Link: http://www.blog.pythonlibrary.org/2018/06/25/pydev-of-the-week-mario-corchero/

This week we welcome Mario Corchero (@mariocj89) as our PyDev of the Week! He is the chair of PyLondinium18, PyConES and PyCon Charlas, the Spanish track at this year’s PyCon US. Let’s spend some time
Yasoob Khalid: A FIFA 2018 World Cup SMS bot using Twilio, Heroku and Flask

Link: https://pythontips.com/2018/06/25/a-fifa-world-cup-sms-bot-using-twilio-heroku-and-flask/

Hi everyone! I am back with yet another tutorial. Its World Cup season and every other person is rooting for his/her favorite team. I was thinking about the next blog post idea and I thought why not c
Made With Mu: PyWeek, PyGameZero, Paperchase and Mu

Link: https://madewith.mu/mu/pygame/pygamezero/2018/06/22/paperchase.html

Have you ever wanted to write a game? It turns out that Mu and PyGame Zero make
this really easy for beginner programmers. Read on to learn how the author used
both to create a goofy game for the wond