Planet Python RSS
217 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python⇒Speed: Not just NVIDIA: GPU programming that runs everywhere

Link: https://pythonspeed.com/articles/gpu-without-cuda/

If you’re doing computations on a GPU, NVIDIA is the default, alongside its CUDA libraries.
Some libraries like PyTorch support do support AMD GPUs and Macs.
But from the re-implementations of NumPy,
PyCoder’s Weekly: Issue #616 (Feb. 13, 2024)

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

#616 – FEBRUARY 13, 2024 View in Browser » Using Python for Data Analysis In this tutorial, you’ll learn the importance of having a structured data analysis workflow, and you’ll get the opportun
Talk Python to Me: #449: Building UIs in Python with FastUI

Link: https://talkpython.fm/episodes/show/449/building-uis-in-python-with-fastui

Building web UIs in Python has always been in interesting proposition. On one end, we have a the full web design story with artisanal HTML and CSS. On another end there are several Python platforms th
Python GUIs: Q&A: How Do I Display Images in PyQt6? — Using QLabel to easily add images to your applications

Link: https://www.pythonguis.com/faq/adding-images-to-pyqt6-applications/

Adding images to your application is a common requirement, whether you're building an image/photo viewer, or just want to add some decoration to your GUI. Unfortunately, because of how this is done in
Peter Bengtsson: How to avoid a count query in Django if you can

Link: http://www.peterbe.com/plog/how-to-avoid-a-count-query-in-django-if-you-can

Suppose you have a complex Django QuerySet query that is somewhat costly (in other words slow). And suppose you want to return:

The first N results
A count of the total possible results

So your im
TechBeamers Python: Selenium 4 With Python Guide

Link: https://www.techbeamers.com/selenium-4-with-python-guide/

Selenium 4 has been around now for quite a bit of time. It came out with many new features, some you can directly use while some will benefit you in the background. Despite it is not new anymore but s
Robin Wilson: How to get segment-geospatial working on Microsoft Planetary Computer

Link: https://blog.rtwilson.com/how-to-get-segment-geospatial-working-on-microsoft-planetary-computer/

Just a quick one today to document the solution to a problem I ran into earlier today.
I was using Microsoft Planetary Computer to access some Landsat satellite data, and I wanted to run it through th
PyCon: Support PyLadies: Donate to the PyLadies Charity Auction at PyCon US 2024!

Link: https://pycon.blogspot.com/2024/02/support-pyladies-auction-with-a-donation.html

PyCon US 2024 is quickly approaching and we can’t wait to see all of you there! This year, we are reaching out to our community to help support one of our favorite events: the PyLadies Charity Auction
ListenData: How to use variable in a query in pandas

Link: https://www.listendata.com/2020/12/how-to-use-variable-in-query-in-pandas.html

Suppose you want to reference a variable in a query in pandas package in Python. This seems to be a straightforward task but it becomes daunting sometimes. Let's discuss it with examples in the articl
Armin Ronacher: Rye Grows With UV

Link: http://lucumr.pocoo.org/2024/2/15/rye-grows-with-uv

Two weeks ago I asked the question again about What Rye should be. There has been one thing that I have not
publicly shared before and that is that ever since Rye exists I have also
been talking to C
Python Insider: Python 3.13.0 alpha 4 is now available

Link: https://pythoninsider.blogspot.com/2024/02/python-3130-alpha-4-is-now-available.html

 Python 3.13.0 alpha 4 is now available:
https://www.python.org/downloads/release/python-3130a4/


This is an early developer preview of Python 3.13
Major new features of the 3.13 series, compared to
PyCharm: PyCharm 2024.1 EAP 5: Enhanced Support for GitHub Actions, Updates for the HTTP Client, and More

Link: https://blog.jetbrains.com/pycharm/2024/02/2024-1-eap-5/

Our new EAP build for PyCharm 2024.1 is now available for you to download!
Packed with numerous new features and enhancements, PyCharm 2024.1 EAP 5 brings extended support for GitHub Actions, updates
Real Python: The Real Python Podcast – Episode #192: Practical Python Decorator Uses & Avoiding datetime Pitfalls

Link: https://realpython.com/podcasts/rpp/192/

What are real-life examples of using Python decorators? How can you harness their power in your code? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly arti
TechBeamers Python: Python SQL Database Connection Guide

Link: https://www.techbeamers.com/python-sql-database-connection-guide/

Connecting Python with an SQL database is easy. First, get a suitable database library like mysql-connector or sqlite3. Now, import the library in your Python code and make a connection to your databa
Matt Layman: Algorithmic Art with Python

Link: https://www.mattlayman.com/blog/2024/algorithmic-art-with-python/

NOTE: The audio is a bit low. I did my best to boost the volume. Sorry for not dialing this in better during recording
TechBeamers Python: Difference Between 3 Python SQL Libraries

Link: https://www.techbeamers.com/difference-between-python-sql-libraries-packages/

Check out this short tutorial to check the difference between the Python SQL libraries that are used in Python to connect to SQL databases. There are mostly 3 such libraries or call them adaptors name