Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Simple is Better Than Complex: How to Use JWT Authentication with Django REST Framework

Link: https://simpleisbetterthancomplex.com/tutorial/2018/12/19/how-to-use-jwt-authentication-with-django-rest-framework.html

JWT stand for JSON Web Token and it is an authentication strategy used by client/server applications where the
client is a Web application using JavaScript and some frontend framework like Angular, Re
Real Python: How to Write Beautiful Python Code With PEP 8

Link: https://realpython.com/python-pep8/

PEP 8, sometimes spelled PEP8 or PEP-8, is a document that provides guidelines and best practices on how to write Python code. It was written in 2001 by Guido van Rossom, Barry Warsaw, and Nick Coghla
gamingdirectional: The game is ready for upload

Link: http://gamingdirectional.com/blog/2018/12/19/the-game-is-ready-for-upload/

Welcome to the final chapter of this pygame project where we have finally concluded the pygame project which has been ongoing for some time already. In this chapter I have just made a slight modificat
Andrea Grandi: Installing Python and virtualenv on OSX

Link: https://www.andreagrandi.it/2018/12/19/installing-python-and-virtualenv-on-osx/

Every time I need to install Python on OSX or whenever a colleague asks for help, I have to search fo the most updated instructions on Google, and every time I find different ways of doing the exact s
John Cook: RSA with one shared prime

Link: https://www.johndcook.com/blog/2018/12/19/rsa-with-one-known-prime/

The RSA encryption setup begins by finding two large prime numbers. These numbers are kept secret, but their product is made public. We discuss below just how difficult it is to recover two large prim
Python Software Foundation: PyPI Security and Accessibility Q1 2019 Request for Proposals Update

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/HPqp93-tF3M/pypi-security-and-accessibility-q1-2019.html


Earlier this year we launched a Request for Information (RFI) followed by the launch of a Request for Proposals (RFP) in November to fulfill a contract for the Open Technology Fund (OTF) Core Infrast
Red Hat Developers: What, No Python in RHEL 8 Beta?

Link: https://developers.redhat.com/blog/2018/11/27/what-no-python-in-rhel-8-beta/

TL;DR Of course we have Python! You just need to specify if you want Python 3 or 2 as we didn’t want to set a default. Give yum install python3 and/or yum install python2 a try. Or, if you want to see
Python Data: Forecasting with Random Forests

Link: https://pythondata.com/forecasting-with-random-forests/

When it comes to forecasting data (time series or other types of series), people look to things like basic regression, ARIMA, ARMA, GARCH, or even Prophet but don’t discount the use of Random Forests
PyBites: 2 years of PyBites, Our Pythonic Journey and the Creation of an Awesome Community

Link: https://pybit.es/special-pybites-2years.html


There is nothing like a challenge to bring out the best in man. - Sean Connery



You don't have to be great to start, but you have to start to be great. - Zig Ziglar

Today marks exactly 2 years sin
Ned Batchelder: Advent of code presentation

Link: https://nedbatchelder.com//blog/201812/advent_of_code_presentation.html

At Boston Python last night, I did a presentation about solutions to a particular
Advent of Code puzzle.
If you haven’t seen Advent of Code, give it a look. A new puzzle each day
in December
codingdirectional: Convert an image from one format to another with pillow

Link: http://codingdirectional.info/2018/12/20/convert-an-image-from-one-format-to-another-with-pillow/

Hello again and in this article, we will continue to explore what else can the pillow module do besides displaying a picture on the screen as we have already seen it before in the previous article. In
The Digital Cat: Clean Architectures in Python: the book

Link: http://blog.thedigitalcatonline.com/blog/2018/12/20/cabook/

I'm excited to announce that the success of the post on clean architectures encouraged me to expand the subject and to write a book that I titled "Clean Architectures in Python. A practical approach t
Mike Driscoll: Python 101: Episode #39 – Python wheels

Link: http://www.blog.pythonlibrary.org/2018/12/20/python-101-episode-39-python-wheels/


In this screencast you will learn about Python wheels and how to make your own. A Python wheel is a packaging format that allows installing a package without the need for compiling or building.
You c
Stack Abuse: Python Logging Basics

Link: https://stackabuse.com/python-logging-basics/

Introduction
Logging helps you keep track of events happening during the execution of your code, which can then be used in the future for debugging purposes. It provides a better picture of the flow o
PyCharm: Webinar: “Live Development of a PyCharm Plugin” with Joachim Ansorg

Link: http://feedproxy.google.com/~r/Pycharm/~3/EwubWc3K9rM/

PyCharm comes with a lot of functionality, yet perhaps something you’d like is missing. Luckily it’s made to be enhanced by plugins to be suitable for a much wider range of users. This webinar with no
Python Software Foundation: Upcoming PyPI Improvements for 2019

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/UJLhXUl_Le8/upcoming-pypi-improvements-for-2019.html


The Python Package Index (PyPI) is far and away the largest and most visible service that the Python Software Foundation (PSF) supports for the Python community. Throughout the project’s 16 year hist
Python Anywhere: Slow scheduled tasks after yesterday's system update

Link: https://blog.pythonanywhere.com/174/

After our system update yesterday, there was a period when some people's scheduled tasks were running slowly. This is an update on what caused the issue and what we did to fix it.
The slowdown
Differ