Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
Catalin George Festila: Python Qt5 - QColorDialog example.

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

Today I will show you how to use the QColorDialog and clipboard with PyQt5.You can read documentation from the official website.This example used a tray icon with actions for each type of code color.T
Python Celery - Weekly Celery Tutorials and How-tos: Quick Guide: Custom Celery Task Logger

Link: https://www.distributedpython.com/2018/11/06/celery-task-logger-format/

I previously wrote about how to customise your Celery log handlers. But there is another Celery logger, the celery.task logger. The celery.task logger is a special logger set up by the Celery worker.
Stack Abuse: Applying Wrapper Methods in Python for Feature Selection

Link: https://stackabuse.com/applying-wrapper-methods-in-python-for-feature-selection/

Introduction
In the previous article, we studied how we can use filter methods for feature selection for machine learning algorithms. Filter methods are handy when you want to select a generic set of
PyCoder’s Weekly: Issue #341 (Nov. 6, 2018)

Link: https://pycoders.com/issues/341

Come work on PyPI, the future of Python packaging, and more
body,#bodyTable,#bodyCell{
height:100% !important;
margin:0;
padding:0;
width:100% !important;
}
t
Erik Marsja: Pandas Excel Tutorial: How to Read and Write Excel files

Link: https://www.marsja.se/pandas-excel-tutorial-how-to-read-and-write-excel-files/

In this tutorial we will learn how to work with Excel files and Python. It will provide an overview of how to use Pandas to load and write these spreadsheets to Excel. In the first section, we will go
PyCharm: PyCharm 2018.2.5 RC

Link: http://feedproxy.google.com/~r/Pycharm/~3/QmO-6Mz0Jv4/

We have a couple of fixes for PyCharm 2018.2 which you can now try in the 2018.2.5 Release Candidate.
New in 2018.2.5 RC

An issue that causes PyCharm to crash on Ubuntu 16.04 has been resolved
Matplo