Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Learn PyQt: Display tables in PyQt5/PySide2, QTableView with conditional formatting, numpy and pandas

Link: https://www.learnpyqt.com/courses/model-views/pyqt5-qtableview-modelviews-numpy-pandas/


In the previous chapter we covered an introduction to the Model View architecture. However, we only touched on one of the model views — QListView. There are two other Model Views available in Qt5 — Q
Learn PyQt: Display tables in PyQt5/PySide2, QTableView with conditional formatting, numpy and pandas

Link: https://www.learnpyqt.com/courses/model-views/qtableview-modelviews-numpy-pandas/


In the previous chapter we covered an introduction to the Model View architecture. However, we only touched on one of the model views — QListView. There are two other Model Views available in Qt5 — Q
Daniel Roy Greenfeld: Our New Django Book Has Launched!

Link: https://daniel.roygreenfeld.com/crash-into-django.html

Audrey and I wrote a new book titled Django Crash Course. You can get it right now on our website at roygreenfeld.com/products/django-crash-course. Right now it's in alpha, which means only the e-book
tryexceptpass: Episode 3 - Decoupling Database Migrations at Application Startup

Link: https://tryexceptpass.org/podcast/ep3-decouple-db-migration-at-startup/


Data models change and evolve with your application.
There’s plenty of tools that keep track of database schemas and automatically generate scripts to upgrade or downgrade them.
It’s common for devel
Continuum Analytics Blog: 6 Reasons Your Open-Source Data Science Pipeline Needs Attention Now

Link: https://www.anaconda.com/open-source-data-science-pipeline/

Your enterprise data scientists are almost certainly using Anaconda Distribution alongside 20 million other practitioners worldwide. The Anaconda Distribution is a package and environment manager desi
PyBites: Introduction to Python Functions

Link: https://pybit.es/python-functions.html

While seemingly "simple" to comprehend and use, functions can definitely be a bit of a hurdle to overcome when you're new to Python or programming in general.
In this article I'm going to break down w
Mike Driscoll: How to Check if a File is a Valid Image with Python

Link: https://www.blog.pythonlibrary.org/2020/02/09/how-to-check-if-a-file-is-a-valid-image-with-python/

Python has many modules in its standard library. One that is often overlooked is imghdr which lets you identify what image type that is contained in a file, byte stream or path-like object.
The imghdr
Mike Driscoll: PyDev of the Week: Paul Sokolovsky

Link: https://www.blog.pythonlibrary.org/2020/02/10/pydev-of-the-week-paul-sokolovsky/

This week we welcome Paul Sokolovsky as our PyDev of the Week! Paul is the creator of Pycopy, which is described as “a minimalist and memory-efficient Python implementation for constrained systems, mi
Catalin George Festila: Python 3.7.5 : Using the hug framework - part 001.

Link: http://python-catalin.blogspot.com/2020/02/python-375-using-hug-framework-part-001.html

Today I will come with another tutorial series about the hug framework.
The hug framework is on the top 3 performing web frameworks for Python and comes with the cleanest way to create HTTP REST APIs
PyCoder’s Weekly: Issue #407 (Feb. 11, 2020)

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

#407 – FEBRUARY 11, 2020 View in Browser » Understanding Best-Practice Python Tooling by Comparing Popular Project Templates “Use Flake8, pytest, and Sphinx in your current Python project. Also
Mike Driscoll: The NSA Has a Beginner Python Course

Link: http://www.blog.pythonlibrary.org/2020/02/11/the-nsa-has-a-beginner-python-course/

The National Security Agency (NSA) recently released a free Python programming course for beginners after a Freedom of Information Act (FOIA) request according to ZDNet. There is almost 400 pages of m
Codementor: K-Nearest Neighbors explained

Link: https://www.codementor.io/volodymyrlut/k-nearest-neighbors-explained-13jm2ii1gx

In this post, I explain the intuition and logic behind KNN algorithm and show simple implementation written in pure pandas which yield 98% accuracy on the IRIS dataset.
Zato Blog: Generating API documentation for both external and internal users

Link: https://zato.io/blog/posts/apispec-multi.html

A recurring need in larger integration projects is generation of API documentation for users belonging to different, yet related, target groups. Read on to learn how to generate Zato-based API specifi