Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Matthew Rocklin: GPU Dask Arrays, first steps

Link: https://matthewrocklin.com/blog//work/2019/01/03/dask-array-gpus-first-steps

The following code creates and manipulates 2 TB of randomly generated data.
import dask.array as da

rs = da.random.RandomState()
x = rs.normal(10, 1, size=(500000, 500000), chunks=(10000, 10000))
(x
Stack Abuse: Python Context Managers

Link: https://stackabuse.com/python-context-managers/

Introduction
One of the most "obscure" features of Python that almost all Python programmers use, even the beginner ones, but don't really understand, is context managers. You've probably seen them in
PyPy Development: PyPy for low-latency systems

Link: http://feedproxy.google.com/~r/PyPyStatusBlog/~3/twVRZ18z204/pypy-for-low-latency-systems.html


PyPy for low-latency systems
Recently I have merged the gc-disable branch, introducing a couple of features
which are useful when you need to respond to certain events with the lowest
possible latenc
Simple is Better Than Complex: How to Use Date Picker with Django

Link: https://simpleisbetterthancomplex.com/tutorial/2019/01/03/how-to-use-date-picker-with-django.html

In this tutorial we are going to explore three date/datetime pickers options that you can easily use in a Django
project. We are going to explore how to do it manually first, then how to set up a cus
Programiz: Python time Module

Link: https://www.programiz.com/python-programming/time

In this article, we will explore time module in detail. We will learn to use different time-related functions defined in the time module with the help of examples.
Import Python: ImportPython Newsletter - Issue 188

Link: http://importpython.com/blog/post/importpython-newsletter-issue-188





Worthy
Read



Clean architectures in python - by leonardo giordani ( free book )
Vasudev Ram: Multiple item search in an unsorted list in Python

Link: http://jugad2.blogspot.com/2019/01/multiple-item-search-in-unsorted-list.html

- By Vasudev Ram - Online Python training / SQL training / Linux trainingHi, readers,I was reviewing simple algorithms with a view to using some as examples or exercises in my Python programming cours
Python Data: Quick Tip: Comparing two pandas dataframes and getting the differences

Link: https://pythondata.com/quick-tip-comparing-two-pandas-dataframes-and-getting-the-differences/

There are times when working with different pandas dataframes that you might need to get the data that is ‘different’ between the two dataframes (i.e.,g Comparing two pandas dataframes and getting the
Kushal Das: 2018 blog review

Link: https://kushaldas.in/posts/2018-blog-review.html


Last year, I made sure that I spend more time in writing, mostly by waking up
early before anyone else in the house. The total number of posts was 60, but,
that number came down to 32 in 2018. The nu
Rene Dudfield: Experiments with new low latency PyPy garbage collector in a thread.

Link: http://renesd.blogspot.com/2019/01/experiments-with-new-low-latency-pypy.html

TLDR; less performance spikes, faster average performance, PyPy is a good Python for games and multimedia apps on desktop systems, running GC in a thread is a good idea for GIL releasing apps.In March
Made With Mu: #CircuitPython2019

Link: https://madewith.mu/mu/users/2019/01/04/CircuitPython2019.html

Our friends, Mu allies and all-round superheroes at Adafruit have asked,
“What do you want from CircuitPython in 2019”?
This is my personal response. :-)

For those of you who don’t know, CircuitPytho
gamingdirectional: Increase the points that need to win the game

Link: http://gamingdirectional.com/blog/2019/01/04/increase-the-points-that-need-to-win-the-game/

What is up buddy? In this article, we will continue to edit our pygame project by increasing the difficulty to win this game. 1) We will increase the points that we need to win the game by double. 2)
Django Weblog: Django security releases issued: 2.1.5, 2.0.10, and 1.11.18

Link: https://www.djangoproject.com/weblog/2019/jan/04/security-releases/

In accordance with our security release policy, the Django team is issuing Django 1.11.18, Django 2.0.10, and Django 2.1.5. These release addresses the security issue detailed below. We encourage all
Stack Abuse: Introduction to Python Iterators

Link: https://stackabuse.com/introduction-to-python-iterators/

What are Iterators?
An iterator in Python refers to an object that we can iterate upon. The iterator consists of countable values, and it is possible to traverse through these values, one by one.
The
pgcli: Launching LiteCLI

Link: http://pgcli.com/launching-litecli.html

Today we are happy to announce the launch of LiteCLI!
LiteCLI is a user-friendly CommandLine client for SQLite database.

It is based on the popular pgcli and mycli projects.
LiteCLI is written in py
Patrick Kennedy: Monkeypatching with pytest

Link: http://www.patricksoftwareblog.com/monkeypatching-with-pytest/

Introduction
I was really excited when I figured out how to use the monkeypatch fixture in pytest, so I wanted to write a blog post about how it works.  This blog post describes what monkeypatching is
gamingdirectional: Complete rewrites of the level manager class

Link: http://gamingdirectional.com/blog/2019/01/05/complete-rewrites-of-the-level-manager-class/

In this chapter, we will rewrite the level manager class by deleting old functions and adding new functions into it. Besides that, we will also use the pickle file to replace the text file then save t
Filipe Saraiva: LaKademy 2018

Link: http://blog.filipesaraiva.info/?p=2042

Past October 2018, Florianópolis hosted the 6th edition of LaKademy, the Latin-American KDE sprint. That moment is an opportunity to put together several KDE developers – both veterans and newcomers –