Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Evennia: Into 2019!

Link: http://evennia.blogspot.com/2019/01/into-2019.html

A new year has come around and it's time to both look back at the old and onward to the future of Evennia, the Python MUD creation system!     Last year  Last year saw the release of Evennia 0.8. This
pgcli: Release v2.0.2

Link: http://pgcli.com/v2.0.2.html

Pgcli is a command line interface for Postgres database that does
auto-completion and syntax highlighting. You can install this version using:

$ pip install -U pgcli

After the update of pgcli to use
Calvin Spealman: Using a React Context as a Dispatch Replacement

Link: http://techblog.ironfroggy.com/2019/01/using-react-context-as-dispatch.html

React Contexts are the pretty little bows of the React world.Here's a really quick example of the kind of messy code you can cleanup by using contexts, without dragging in a larger dependency like Red
Dan Yeaw: How to Rock Python Packaging with Poetry and Briefcase

Link: https://dan.yeaw.me/posts/python-packaging-with-poetry-and-briefcase/

As part of modernizing Gaphas, the
diagramming widget for Python, I took another look at what the best practices
are for packaging and releasing a new version of a Python library or
application. There
Mike Driscoll: wxPython: Changing Custom Renderers for Columns / Rows

Link: http://www.blog.pythonlibrary.org/2019/01/03/wxpython-changing-custom-renderers-for-columns-rows/

The wxPython GUI toolkit has a very rich and powerful Grid widget that I have written about previously on this blog. It allows you to create sheets of cells similar to those in Microsoft Excel.
There
codingdirectional: Solving tic tac toe problem with python

Link: http://codingdirectional.info/2019/01/03/solving-tic-tac-toe-problem-with-python/

Hello again, today we are going to continue exploring py.checkio.org site by solving this tic tac toe question with python, this question requires us to find out which player has won the tic tac toe g
gamingdirectional: Move the enemy ship up and down

Link: http://gamingdirectional.com/blog/2019/01/03/move-the-enemy-ship-up-and-down/

Hello and welcome back, in this article we will create a mechanism to move the horizontal moving enemy ship up and down within a certain vertical range. It will be very boring if the horizontal moving
Graham Dumpleton: Integrating the workshop notes with the image

Link: http://blog.dscpl.com.au/2019/01/integrating-workshop-notes-with-image.html

If you are still following this series of blog posts, we now have a dashboard for our workshop environment which combines workshop notes with the interactive terminal in the users browser.This enabled
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