Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Catalin George Festila: Python Qt5 - QtSql with QtOpenGL example.

Link: http://python-catalin.blogspot.com/2018/11/python-qt5-qtsql-with-qtopengl-example.html

Today I will show you how to deal with QtOpenGL.Let's make a test to see what is this:>>> import PyQt5>>> from PyQt5.QtOpenGL import *>>> dir(PyQt5.QtOpenGL)['QGL', 'QGLContext', 'QGLFormat', 'QGLWidg
Andrea Grandi: Why I mentor on Exercism.io

Link: https://www.andreagrandi.it/2018/11/04/why-i-mentor-on-exercism/

Exercism (https://exercism.io) is a platform that has been created to help people improving their coding skills, thanks to the volunteers mentoring the students. There are tracks for almost all the po
Simple is Better Than Complex: Django Authentication Video Tutorial

Link: https://simpleisbetterthancomplex.com/videos/2018/11/04/django-auth-video-tutorial.html

In this tutorial series, we are going to explore Django’s authentication system by implementing sign up, login, logout,
password change, password reset and protected views from non-authenticated users
Django Weblog: DSF Individual membership - call for implementation proposals

Link: https://www.djangoproject.com/weblog/2018/nov/04/individual-membership-system-cfp/

The DSF wishes to put in place a system for the nomination, approval and accession of Individual Members.
The DSF wants to expand its membership, not just in number, but also in diversity. The current
Peter Bengtsson: How to JSON schema validate 10x (or 100x) faster in Python

Link: https://www.peterbe.com/plog/jsonschema-validate-10x-faster-in-python

This is perhaps insanely obvious but it was a measurement I had to do and it might help you too if you use python-jsonschema a lot too.
I have this project which has a migration script that needs to t
Ned Batchelder: Careful with negative assertions

Link: https://nedbatchelder.com//blog/201811/careful_with_negative_assertions.html

A cautionary tale about testing that things are unequal...We had a test that was kind of like this:def test_thing():
    data = "I am the data"
    self.assertNotEqual(
        modify_another_way(chan
Mike Driscoll: PyDev of the Week: Bernat Gabor

Link: http://www.blog.pythonlibrary.org/2018/11/05/pydev-of-the-week-bernat-gabor/

This week we welcome Bernat Gabor (@gjbernat) as our PyDev of the Week! Bernat is a core developer of the tox automation project. You can check out his Github to see what other open source projects he
Bhishan Bhandari: Basic File Operations – Golang

Link: http://feedproxy.google.com/~r/TheTaraNights/~3/04PWh_zkIFU/

One of the most basic task when working on a server is the ability to effectively operate with the files and file system. Like many languages, Golang has convenient methods to work with files. The int
Julien Danjou: The Best flake8 Extensions for your Python Project

Link: https://julien.danjou.info/the-best-flake8-extensions/

In the last blog post about coding style, we dissected what the state of the art was regarding coding style check in Python.As we've seen, Flake8 is a wrapper around several tools and is extensible vi
Real Python: Writing Comments in Python (Guide)

Link: https://realpython.com/python-comments-guide/

When writing code in Python, it’s important to make sure that your code can be easily understood by others. Giving variables obvious names, defining explicit functions, and organizing your code are al
Catalin George Festila: Python Qt5 - tray icon example.

Link: http://python-catalin.blogspot.com/2018/11/python-qt5-tray-icon-example.html

This tutorial is about another tray icon application type.The base application is the same like any application with some changes with this steps:- QSystemTrayIcon this will start to create the applic
Erik Marsja: Data Manipulation with Pandas: A Brief Tutorial

Link: https://www.marsja.se/data-manipulation-pandas-tutorial/

Learn three data manipulation techniques with Pandas in this guest post by Harish Garg, a software developer and data analyst, and the author of Mastering Exploratory Analysis with pandas.
Modifying a
Nigel Babu: Testing Ansible With Molecule

Link: http://nigelb.me/2018-11-06-testing-ansible-with-molecule.html

My colleague was recently assigned a task to create tests for an ansible role
that she works on. She pinged me for help and we got started in figuring out
what to do.
The first thing we attempted was
Test and Code: 52: pyproject.toml : the future of Python packaging - Brett Cannon

Link: https://testandcode.com/52

Brett Cannon discusses the changes afoot in Python packaging as a result of PEP 517, PEP 518, starting with "How did we get here?" and "Where are we going?"
Discussed:

flit
Poetry
tox
Continuous Inte
Mike Driscoll: The Ultimate Programmer Super Stack Bundle

Link: http://www.blog.pythonlibrary.org/2018/11/06/the-ultimate-programmer-super-stack-bundle/

I recently had the opportunity to get my second book, Python 201: Intermediate Python added to a bundle of other interesting programming books.
It is called The Ultimate Programmer Super Stack and it