Planet Python RSS
213 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Quansight Labs Blog: metadsl: A Framework for Domain Specific Languages in Python

Link: https://labs.quansight.org/blog/2019/05/metadsl-dsl-framework/




metadsl: A Framework for Domain Specific Languages in Python¶Hello, my name is Saul Shanabrook and for the past year or so I have been at Quansight exploring the array computing ecosystem. This sta
Stack Abuse: The Python zip() Function

Link: https://stackabuse.com/the-python-zip-function/

In this article, we'll examine how to use the built-in Python zip() function.
The zip() function is a Python built-in function that allows us to combine corresponding elements from multiple sequences
Talk Python to Me: #214 Dive into CPython 3.8 and beyond

Link: https://talkpython.fm/episodes/show/214/dive-into-cpython-3.8-and-beyond

Python 3.8 is coming soon. It's scheduled for release at the end of October 2019 and you can already download test versions today. Given that Python ships on an 18-month cycle, it's time to talk about
Stack Abuse: The Python String strip() Function

Link: https://stackabuse.com/the-python-string-strip-function/

In this article, we'll examine how to strip characters from both ends of a string in Python.
The built-in String type is an essential Python structure, and comes with a built-in set of methods to simp
Davy Wybiral: Always Secure Your localhost Servers

Link: http://davywybiral.blogspot.com/2019/05/always-secure-your-localhost-servers.html

Recently I was surprised to learn that web browsers allow any site you visit to make requests to resources on localhost (and that they will happily allow unreported mixed-content). If you'd like to te
Davy Wybiral: Always Secure Your localhost Servers

Link: https://davywybiral.blogspot.com/2019/05/always-secure-your-localhost-servers.html

Recently I was surprised to learn that web browsers allow any site you visit to make requests to resources on localhost (and that they will happily allow unreported mixed-content). If you'd like to te
Peter Bengtsson: Generate a random IP address in Python

Link: https://www.peterbe.com/plog/generate-a-random-ip-address-in-python

A fun trick to generate random, but seeded, IPv4 addresses in a Django app.
Red Hat Developers: How to build a Raspberry Pi photo booth

Link: https://developers.redhat.com/blog/2019/06/03/how-to-build-a-raspberry-pi-photo-booth/

The Coderland booth at the recent Red Hat Summit was all about serverless computing as implemented in the Compile Driver. If you haven’t gone through that example (you really should), that code create
Peter Bengtsson: Build an XML sitemap of XML sitemaps

Link: https://www.peterbe.com/plog/build-an-xml-sitemap-of-xml-sitemaps

Suppose that you have so many thousands of pages that you can't just create a single /sitemap.xml file that has all the URLs (aka <loc>) listed. Then you need to make a /sitemaps.xml that points to th
Weekly Python StackOverflow Report: (clxxx) stackoverflow python report

Link: http://python-weekly.blogspot.com/2019/06/clxxx-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-06-01 19:46:19 GMTDictionary size reduces upon increasing one elem
Learn PyQt: Using the PyQt5 ModelView Architecture to build a simple Todo app

Link: https://www.learnpyqt.com/courses/model-views/modelview-architecture/


As you start to build more complex applications with PyQt5 you'll likely come across issues keeping widgets in sync with your data.
Data stored in widgets (e.g. a simple QListWidget) is not readily a
Codementor: The Easiest Way To Get Started on Python

Link: https://www.codementor.io/aschrad2/the-easiest-way-to-get-started-on-python-vje29orlt

The easiest way to get started on Python is by using Anaconda Navigator. Anaconda Navigator is a fantastic program that installs not only Python, but the popular modules that you need to get up and ru
Lintel Technologies: How to configure django app using gunicorn?

Link: https://howto.lintel.in/configure-django-app-using-gunicorn/

Django
Django is a python web framework used for developing web applications. It is fast, secure and scalable. Let us see how to configure the Django app using gunicorn.
Before proceeding to actual co
Brett Cannon: The challenges in designing a library for PEP 425 (aka wheel tags)

Link: https://snarky.ca/the-challenges-in-designing-a-library-for-pep-425/

If you have  ever looked at a project that has a lot of wheels (like numpy), you may have wondered what the part that comes after the project name and version mean. Well, they are known as platform co
Quansight Labs Blog: TDK-Micronas partners with Quansight to sponsor Spyder

Link: https://labs.quansight.org/blog/2019/06/tdk-partners-with-quansight-labs/

TDK-Micronas is sponsoring Spyder development efforts through Quansight Labs.
This will enable the development of some features that have been requested by
our users, as well as new features that will
ListenData: Python Lambda Function with Examples

Link: https://www.listendata.com/2019/04/python-lambda-function.html

This article covers detailed explanation of lambda function of Python. You will learn how to use it in some of the common scenarios with examples. Table of ContentsIntroduction : Lambda Function In no
Django Weblog: Django security releases issued: 2.2.2, 2.1.9 and 1.11.21

Link: https://www.djangoproject.com/weblog/2019/jun/03/security-releases/

In accordance with our security release policy, the Django team is issuing Django 1.11.21, Django 2.1.9, and Django 2.2.2. These releases addresses the security issues detailed below. We encourage all
CodeGrades: Why Python?

Link: https://blog.codegrades.com//post/2019/06/03/why_python.html

CodeGrades (initially) targets Python as a language for learning programming.
This post explains why.

The most obvious answer is that the folks involved in CodeGrades are
professional Python programm