Planet Python RSS
213 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Stack Abuse: Building a Todo App with Flask in Python

Link: https://stackabuse.com/building-a-todo-app-with-flask-in-python/

Introduction
In this tutorial, we are going to build an API, or a web service, for a todo app. The API service will be implemented using a REST-based architecture.
Our app will have the following main
Zato Blog: Broadcasting messages to WebSocket API clients

Link: https://zato.io/blog/posts/wsx-broadcast.html

Invoking individual WebSocket connections has been supported since
Zato
3.0
and Zato
3.1
adds new functionality on top of it - message broadcasting - which lets one notify all the clients connected to
Doug Hellmann: sphinxcontrib.datatemplates 0.4.0

Link: http://feeds.doughellmann.com/~r/doughellmann/python/~3/dctEjyvL_Wg/

sphinxcontrib.datatemplates is an extension for Sphinx to render parts of reStructuredText pages from data files in formats like JSON, YAML, XML, and CSV. NOTE: This release deprecates the “datatempla
Reuven Lerner: Playing with Python strings, lists, and variable names — or, a complex answer to a simple question

Link: https://lerner.co.il/2019/06/13/playing-with-python-strings-lists-and-variable-names-or-a-complex-answer-to-a-simple-question/

I recently received a question from a reader of my “Better developers” list. He asks:
Is there any way to turn a str type into a list type? For example, I have a list of elements, and want to turn t
PyCharm: PyCharm 2019.2 EAP 3 is here

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

Third PyCharm 2019.2 EAP is out and we’re happy to share with you a whole bunch of new features and improvements. Check out what’s new and get your PyCharm EAP build from our website.
New in the EAP
S
Dataquest: Master Data Cleaning with Our New Python Data Cleaning Advanced Course

Link: https://www.dataquest.io/blog/data-cleaning-python-advanced/

Learn to clean data and replace missing values in Python using advanced skills like regular expressions (regex), list comprehensions, lambda functions, etc.
The post Master Data Cleaning with Our New
Learn PyQt: Create custom Widgets in PyQt5 with this hands-on tutorial

Link: https://www.learnpyqt.com/courses/custom-widgets/creating-your-own-custom-widgets/


In the previous tutorial we introduced QPainter and looked at some basic bitmap drawing operations which you can used to draw dots, lines, rectangles and circles on a QPainter surface such as a QPixm
Glyph Lefkowitz: Toward a “Kernel Python”

Link: https://glyph.twistedmatrix.com/2019/06/kernel-python.html

Prompted by Amber Brown’s presentation at the Python Language
Summit
last month, Christian Heimes has followed up on his own earlier
work on slimming down the Python standard
library, and created a pr
EuroPython: EuroPython 2019: Warning - Spoiler alert!

Link: https://blog.europython.eu/post/185584014022

Usually, we try to have something as surprise for our attendees every year. However, for this year’s conference, we have decided to give our attendees something to play with and this needs a little mo
Gocept Weblog: Undo transactions by truncating ZODB Data.fs

Link: https://blog.gocept.com/2019/06/14/undo-transactions-by-truncating-zodb-data-fs/

Sometimes I break the Data.fs of my ZODB in a way that the Zope instance cannot start any more or I want to try again a migration. In such situations it is handy that writing to a Data.fs means extend
Stack Abuse: Run-Length Encoding

Link: https://stackabuse.com/run-length-encoding/

In this article we'll go over how the run-length encoding algorithm works, what it's used for, and how to implement its encode and decode functions in Python.
Run-length encoding (RLE) is a very simpl
Python Anywhere: Using MongoDB on PythonAnywhere with MongoDB Atlas

Link: https://blog.pythonanywhere.com/178/

.jab-post img {
border: 2px solid #eeeeee;
padding: 5px;
}



This requires a paid PythonAnywhere account

Lots of people want to use MongoDB with PythonAnywhere; we don't have support for it
Talk Python to Me: #216 Digging into Visual Studio Code

Link: https://talkpython.fm/episodes/show/216/digging-into-visual-studio-code

One of the questions I often ask at the end of the show is "When you write some Python code, what editor do you use?" Increasingly the most common answer is Visual Studio Code. Despite it's Windows on
Doug Hellmann: sphinxcontrib-spelling 4.3.0

Link: http://feeds.doughellmann.com/~r/doughellmann/python/~3/Y8SHpGzRXcM/

sphinxcontrib-spelling is a spelling checker for Sphinx-based documentation. It uses PyEnchant to produce a report showing misspelled words. What’s new in 4.3.0? Logging: use warning() instead of its
NumFOCUS: NumFOCUS Hires First Ever Development Director

Link: https://numfocus.org/blog/numfocus-hires-first-ever-development-director

The post NumFOCUS Hires First Ever Development Director appeared first on NumFOCUS.
J. Pablo Fernández: Converting a Python data into a ReStructured Text table

Link:

This probably exist but I couldn’t find it. I wanted to export a bunch of data from a Python/Django application into something a non-coder could understand. The data was not going to be a plain CSV, b