Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Awesome Python Applications: Aim

Link: https://github.com/aimhubio/aim


Aim: Aim is a self-hostable machine learning experiment tracker designed to handle 10,000s of training runs.
Links:

Repo
Home
Blog
TestDriven.io: Working with Static and Media Files in Django

Link: https://testdriven.io/blog/django-static-files/

This article looks at how to work with static and media files in a Django project, locally and in production.
death and gravity: This is not interview advice: a priority-expiry LRU cache without heaps or trees in Python

Link: https://death.andgravity.com/lru-cache

It's not your fault I got nerdsniped,
but that doesn't matter.
Hi, I'm Adrian, and today we're implementing a
least recently used cache with priorities and expiry,
using only the Python standard libra
TechBeamers Python: IndexError: List Index Out of Range in Python

Link: https://www.techbeamers.com/python-list-index-out-of-range/

An “IndexError: list index out of range” in Python typically occurs when you’re trying to access an index in a list that does not exist. This typically happens when attempting to access an index that
Doug Hellmann: virtualenvwrapper 6.1.0 - hook scripts in project directories

Link: https://doughellmann.com/releases/virtualenvwrapper-6-1-0/

What’s new in 6.1.0? source project-dir/.virtualenvwrapper/predeactivate when deactivating source project_dir/.virtualenvwrapper/postactivate during activation
PyCharm: PyCharm 2024.1 EAP 2 Is Out!

Link: https://blog.jetbrains.com/pycharm/2024/01/2024-1-eap2/

The second EAP build of PyCharm 2024.1 has landed and is now available for you to explore.  
You can download this new build from our website, through the free Toolbox App, or via snaps for Ubuntu.

D
Real Python: Python Exceptions: An Introduction

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

A Python program terminates as soon as it encounters an error. In Python, an error can be a syntax error or an exception. In this tutorial, you’ll see what an exception is and how it differs from a sy
Anarcat: router archeology: the Soekris net5001

Link: https://anarc.at/hardware/server/roadkiller/

Roadkiller was a Soekris net5501 router I used as my main gateway
between 2010 and 2016 (for réseau and
téléphone).
It was upgraded to FreeBSD 8.4-p12 (2014-06-06) and pkgng. It was
retired in favor o
Brian Okken: pytest 8 is here

Link: https://pythontest.com/pytest/pytest-8-is-here/

pytest 8.0.0 was released on 17-Jan-2024, and I’m pretty excited about it.
I’m not going to cover all fo the changes, I’ll just highlight a few.
For full set of changes, see the pytest changelog:
Cha
Erik Marsja: Pandas: Cumulative Sum by Group

Link: https://www.marsja.se/pandas-cumulative-sum-by-group/

The post Pandas: Cumulative Sum by Group appeared first on Erik Marsja.
In this post, we learn how to use Pandas to calculate a cumulative sum by group, a sometimes important operation in data analysi
death and gravity: Limiting concurrency in Python asyncio: the story of async imap_unordered()

Link: https://death.andgravity.com/limit-concurrency

So, you're doing some async stuff, repeatedly, many times.
Like, hundreds of thousands of times.
Maybe you're scraping some data.
Maybe it's more complicated
– you're calling an API,
and then passing
Kay Hayen: Nuitka this week #15

Link: https://nuitka.net/posts/nuitka-this-week-15.html

This is a weekly update, or at least it’s supposed to be of what’s going
on in Nuitka land, for you to learn about ongoing developments and
important changes to the project.
In this issue, I am first
Real Python: Building Enumerations With Python’s enum

Link: https://realpython.com/courses/python-enum/

Some programming languages, such as Java and C++, have built-in support for a data type called enumerations, commonly referred to as enums. Enums enable you to create sets of logically related constan
Python⇒Speed: Profiling your Numba code

Link: https://pythonspeed.com/articles/numba-profiling/

pre {
font-size: 90% !important;
}


If you’re writing numeric Python code, Numba can be a great way to speed up your program.
By compiling a subset of Python to machine code, Numba lets you write
ListenData: 4 Ways to Correct Grammar with Python

Link: https://www.listendata.com/2024/01/4-ways-to-correct-grammar-with-python.html

This tutorial explains various methods for checking and correcting grammatical errors using Python.

To read this article in full, please click hereThis post appeared first on ListenData