Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Matt Layman: Announcing django-denied

Link: https://www.mattlayman.com/blog/2022/announcing-django-denied/

I have paranoia when it comes to my Django app.
I run a homeschool scheduling service called School Desk. My Software as a Service (SaaS) lets families plan their homeschool activities. Since the app
Real Python: Asynchronous Tasks With Django and Celery

Link: https://realpython.com/asynchronous-tasks-with-django-and-celery/

You’ve built a shiny Django app and want to release it to the public, but you’re worried about time-intensive tasks that are part of your app’s workflow. You don’t want your users to have a negative e
Python⇒Speed: The best way to find performance bottlenecks: observing production

Link: https://pythonspeed.com/articles/measure-performance-production/

Your customers are complainin’, your monitors are alertin’, your thumbs are a-twiddlin’—whatever the symptom, the problem is that your application is too slow.
And you want to find out why, so you can
Nikola: Nikola v8.2.3 is out!

Link: https://getnikola.com/blog/nikola-v823-is-out.html

On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v8.2.3. This is a bugfix release, which fixes
compatibility with python-markdown and two more minor bugs.
Wh
Python Insider: Python 3.10.6 is available

Link: https://pythoninsider.blogspot.com/2022/08/python-3106-is-available.html

Here you have a nice package of 200 commits of bugfixes and documentation improvements freshly made for Python 3.10. Go and download it when is still hot:https://www.python.org/downloads/release/pytho
Real Python: Python Basics: Finding and Fixing Code Bugs

Link: https://realpython.com/courses/python-basics-code-bugs/

Everyone makes mistakes—even seasoned professional developers!
IDLE is pretty good at catching mistakes like syntax errors and run-time errors, but there’s a third type of error that you may have alre
John Cook: Org-mode as a lightweight notebook

Link: https://www.johndcook.com/blog/2022/08/02/org-babel-vs-jupyter/

You can think of org-mode as simply a kind of markdown, a plain text file that can be exported to fancier formats such as HTML or PDF. It’s a lot more than that, but that’s a reasonable place to start
PyCharm: Flask tutorial: Create a Flask application in PyCharm

Link: https://blog.jetbrains.com/pycharm/2022/08/flask-tutorial/

If you are looking into building a simple web application with Python, the Flask microframework is probably one of the best choices. With Flask you can build a real web application with just a single
PyCoder’s Weekly: Issue #536 (Aug. 2, 2022)

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

#536 – AUGUST 2, 2022 View in Browser » Your Python Coding Environment on Windows: Setup Guide With this opinionated guide to setting up a basic, fully featured and flexible setup for Python cod
Shannon -jj Behrens: Python: My Favorite Python Tricks for LeetCode Questions

Link: http://www.jjinux.com/2022/08/python-my-favorite-python-tricks-for.html

I've been spending a lot of time practicing on LeetCode recently, so I thought I'd share some of my favorite intermediate-level Python tricks with an emphasis on newer features of Python you may not h
ABlog for Sphinx: ABlog v0.10.28 released

Link: https://ablog.readthedocs.org/release/ablog-v0.10-released/#ablog-v0-10-28-released

ABlog v0.10.28 released
Django Weblog: Django security releases issued: 4.0.7 and 3.2.15

Link: https://www.djangoproject.com/weblog/2022/aug/03/security-releases/

In accordance with our security release policy, the Django team
is issuing
Django 4.0.7, and
Django 3.2.15.
These releases addresses the security issue detailed below. We encourage all
users of Django
Django Weblog: Django 4.1 released

Link: https://www.djangoproject.com/weblog/2022/aug/03/django-41-released/

The Django team is happy to announce the release of Django 4.1.
The release notes
cover the profusion of new features in detail, but a few highlights are:

An async interface to the ORM, and the abili
Python for Beginners: Count Occurrences of Each Character in a String in Python

Link: https://www.pythonforbeginners.com/basics/count-occurrences-of-each-character-in-string-python

String manipulation is one of the critical components of text data analysis. While analyzing text data, we might need to count the frequency of characters in the text. In this article, we will discuss
Python Anywhere: We are hiring!

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

As you probably already know, PythonAnywhere is now part of the Anaconda family! As we expected Anaconda’s investment in PythonAnywhere will allow us to expand and improve to better serve our users. S
Real Python: Python Constants: Improve Your Code's Maintainability

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

In programming, the term constant refers to names representing values that don’t change during a program’s execution. Constants are a fundamental concept in programming, and Python developers use them
ItsMyCode: ModuleNotFoundError: No module named ‘flask_cors’

Link: https://itsmycode.com/no-module-named-flask-cors/

In Python, ModuleNotFoundError: No module named ‘flask_cors’ error occurs if we try to import the ‘Flask-Cors‘ module without installing the package or if you have not installed it in the correct envi
Stack Abuse: Transformer Token and Position Embedding with Keras

Link: https://stackabuse.com/transformer-token-and-position-embedding-with-keras/

Introduction
There are plenty of guides explaining how transformers work, and for building an intuition on a key element of them - token and position embedding.
Positionally embedding tokens allowed t
IslandT: Draw an image on top of a circle with pygame

Link: https://islandtropicaman.com/wp/2022/08/04/draw-an-image-on-top-of-a-circle-with-pygame/

In this article, I am going to draw a small hat image on top of a circle with Pygame. Basically, this program has two parts, the circle part, and the image part.
I am going to draw the circle’s part w