Planet Python RSS
212 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Abhijeet Pal: Using Email As Username For Authentication In Django

Link: http://example.com/using-email-as-username-for-authentication-in-django/

Django ships with an extensive built-in authentication system that uses a username and password combination for authentication. However, sometimes you might want to use email as the username therefore
Abhijeet Pal: Django Admin Making Model Fields Required

Link: http://example.com/django-admin-making-model-fields-required/

In this tutorial, we will learn how to make optional model fields required in Django admin to make sure that data for these fields are populated on the creation of new records from the Django admin in
Abhijeet Pal: Displaying Custom Validation Exception in Django Admin

Link: http://example.com/displaying-custom-validation-exception-in-django-admin/

In this tutorial, we will learn how to show custom validation exceptions on Django admin. Understanding The Problem Django admin site will raise exceptions when we try to save objects with non-accepta
Abhijeet Pal: Creating Custom Model Validation In Django

Link: http://example.com/custom-model-validation-in-django/

In this tutorial, we will learn how to create custom model validators using Django. Understanding The Problem Django models come with their own built-in validations, that we put while creating models.
Abhijeet Pal: Creating NumPy Arrays

Link: http://example.com/creating-numpy-arrays/

NumPy is one of the most popular packages in the Python ecosystem. NumPy adds support to large multidimensional arrays and matrices with great efficiency. Numpy arrays are a lot faster than traditiona
Abhijeet Pal: Find Missing Number in a given Array Using Python

Link: http://example.com/find-missing-number-in-an-array-using-python/

Problem Definition Find the missing numbers in a given list or array using Python. For example in the arr = [1,2,4,5] the integer '3' is the missing number. There are multiple ways to solve this probl
Mike Driscoll: Creating GUIs with PySimpleGUI (Video)

Link: https://www.blog.pythonlibrary.org/2022/02/15/creating-guis-with-pysimplegui-video/

My talk, Creating GUIs with PySimpleGUI, is up on YouTube. I gave this talk to the SFPython / PyBay groups in January 2022.
I used Jupyter Notebook for the slides of this talk. All the slides and exam
Real Python: Python any(): Powered Up Boolean Function

Link: https://realpython.com/courses/python-any-boolean-function/

As a Python programmer, you’ll frequently deal with Booleans and conditional statements—sometimes very complex ones. In those situations, you may need to rely on tools that can simplify logic and cons
PyCoder’s Weekly: Issue #512 (Feb. 15, 2022)

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

#512 – FEBRUARY 15, 2022 View in Browser » Documentation Unit Tests Interesting approach to keeping documentation and code in sync: introspecting the code to figure out what needs to be document
Paolo Amoroso: How to Use Kivy on Repl.it

Link: http://blog.paoloamoroso.com/2019/10/how-to-use-kivy-on-replit.html

I made the Kivy Python cross-platform GUI framework work in a GFX REPL on Repl.it. Repl.it is a multi-language cloud IDE with good support for Python.To use Kivy on Repl.it, just create a Pygame REPL,
Paolo Amoroso: Repl.it Redesigned the Mobile Experience

Link: http://blog.paoloamoroso.com/2020/07/replit-redesigned-mobile-experience.html

The cloud IDE Repl.it was redesigned to improve the user experience on mobile devices.On smartphones, now the focused REPL pane takes up most of the screen. The redesign takes advantage of native mobi
Paolo Amoroso: Code With Repl.it Review

Link: http://blog.paoloamoroso.com/2020/12/code-with-replit-review.html

Code With Repl.it: From Beginner to Expert Through Guided Tutorials is a free ebook by Gareth Dwyer sponsored by Repl.it.The cover of Code with Repl.it in Google Play Books on my Pixel 4 XL.It contain
Paolo Amoroso: A NASA TV Still Frame Viewer in Python

Link: http://blog.paoloamoroso.com/2021/04/a-nasa-tv-still-frame-viewer-in-python.html

I wrote Spacestills, a Python program for viewing NASA TV still frames.The main window of Spacestills running on Replit.As a hobbyist wishing to improve my Python programming skills, for some time I’v
Paolo Amoroso: Python with Replit: A Journey in the Cloud

Link: http://blog.paoloamoroso.com/2021/05/python-with-replit-journey-in-cloud.html

Can I use only Replit for all my Python development? It’s what I set out to find.Follow along my journey to coding in Python on Chrome OS only with the tools and resources of Replit. I want to learn t
Paolo Amoroso: An Intel 8080 Assembly Suite in Python

Link: http://blog.paoloamoroso.com/2021/11/an-intel-8080-assembly-suite-in-python.html

A blog post I stumbled upon made me start a new project, crank out lots of Python code, slip down a rabbit hole of arcane and fascinating corners of retrocomputing, and overflow with fun.The project i
Paolo Amoroso: Publishing Python Documentation to Read The Docs With Jupyter Books

Link: http://blog.paoloamoroso.com/2022/01/publishing-python-documentation-to-read.html

I published the documentation of Suite8080, a suite of Intel 8080 Assembly cross-development tools I’m writing in Python with Replit.The Suite8080 documentation website built with Jupyter Book and Sph
PyCharm: PyCharm 2022.1 EAP 2: Basic Authorization for Custom Package Repositories, Updated QA Tools, and More

Link: https://blog.jetbrains.com/pycharm/2022/02/2022-1-eap-2/

PyCharm 2022.1 EAP 2 is now out! This time around, we added a nice code insight enhancement for TypedDict, the ability to manage Python packages from custom repositories under authorization, several n
PyCon: On holding an in-person PyCon US 2022

Link: https://pycon.blogspot.com/2022/02/on-holding-in-person-pycon-us-2022.html

As we're ramping up preparations for an in-person PyCon US 2022 in Salt Lake City, the PyCon US organization wants to take a moment to talk about the decisions we made, the precautions we are taking,
Real Python: Providing Multiple Constructors in Your Python Classes

Link: https://realpython.com/python-multiple-constructors/

Sometimes you need to write a Python class that provides multiple ways to construct objects. In other words, you want a class that implements multiple constructors. This kind of class comes in handy w
Python Morsels: Dunder Variables

Link: https://www.pythonmorsels.com/topics/dunder-variables/

Have you ever seen a variable in Python that has two underscores on either side of it (__like_this__)?
These are officially referred to as special attributes or special methods, but many Python progra