Planet Python RSS
215 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Ned Batchelder: Cairo in Jupyter, better

Link: https://nedbatchelder.com/blog/202205/cairo_in_jupyter_better.html

I finally came up with a way I like to create
PyCairo
drawings in a Jupyter notebook.A few years ago I wrote here about
how to draw Cairo
SVG in a Jupyter notebook. That worked, but wasn’t as conveni
"Morphex's Blogologue": JSON viewer for JSON database

Link: http://blogologue.com/blog_entry?id=1652643211X01

I was looking to get a little done on the ethereum-classic-taxman accounting tool today, and thought a bit outside-the-box, what could I need in there that isn't a direct priority.The tool uses JSON d
John Ludhi/nbshare.io: Save Pandas DataFrame as CSV file

Link: https://www.nbshare.io/notebook/283101430/Save-Pandas-DataFrame-as-CSV-file/








How To Save Pandas DataFrame As CSV File








To save Panda's DataFrame in to CSV or Excel file, use following commands...









df.to_csv('data.csv', index=False)

df.to_excel('data.xls'
Zato Blog: Integrating with Jira APIs

Link: https://zato.io/blog/posts/jira-python-api.html

Overview
Continuing in the series of articles about newest cloud connections in Zato 3.2, this episode covers Atlassian Jira
from the perspective of invoking its APIs to build integrations between Jir
Podcast.__init__: Take Control Of Your Digital Photos By Running Your Own Smart Library Manager With LibrePhotos

Link: https://www.pythonpodcast.com/librephotos-digital-photo-management-episode-364/

Digital cameras and the widespread availability of smartphones has allowed us all to generate massive libraries of personal photographs. Unfortunately, now we are all left to our own devices of how to
ListenData: Only size-1 arrays can be converted to Python scalars

Link: https://www.listendata.com/2022/05/only-size-1-arrays-can-be-converted-to-python-scalars.html

Numpy is one of the most used module in Python and it is used in a variety of tasks ranging from creating array to mathematical and statistical calculations. Numpy also bring efficiency in Python prog
Mike Driscoll: PyDev of the Week: Raza (Rython) Zaidi

Link: https://www.blog.pythonlibrary.org/2022/05/16/pydev-of-the-week-raza-rython-zaidi/

This week we welcome Raza Zaidi (@razacodes) as our PyDev of the Week! Raza is a content creator on Twitter and YouTube. You can learn about Python, data science, Django, and more on Raza's YouTube ch
Python for Beginners: Set Difference in Python

Link: https://www.pythonforbeginners.com/basics/set-difference-in-python

Sets are used to store unique objects. Sometimes, we might need to find the elements in a set that are not present in another given set. For this, we use the set difference operation. In this article,
Real Python: Linear Regression in Python

Link: https://realpython.com/linear-regression-in-python/

You’re living in an era of large amounts of data, powerful computers, and artificial intelligence. This is just the beginning. Data science and machine learning are driving image recognition, developm
Python Morsels: Reading binary files in Python

Link: https://www.pythonmorsels.com/reading-binary-files-in-python/

How can you read binary files in Python? And how can you read very large binary files in small chunks?



Table of contents

How to read a binary file in Python
Use a library to read your binary file
Kushal Das: OAuth Security Workshop 2022

Link: https://kushaldas.in/posts/oauth-security-workshop-2022.html


Last week I attended OAuth Security
Workshop at Trondheim, Norway. It
was a 3-day single-track conference, where the first half of the days were
pre-selected talks, and the second parts were unconfer
PyCon: PyCon US 2022 Recordings Update

Link: https://pycon.blogspot.com/2022/05/pycon-us-2022-recordings-update.html

We understand that the PyCon US recordings are an incredibly important resource to the community. We were looking forward to providing the PyCon US 2022 recordings very soon after the event – especial
A. Jesse Jiryu Davis: Why Should Async Get All The Love?: Advanced Control Flow With Threads

Link: https://emptysqua.re/blog/why-should-async-get-all-the-love/

I spoke at PyCon 2022 about writing safe, elegant concurrent Python with threads. The video is coming soon; here’s a written version of the talk.
asyncio.
Asyncio is really hip. And not just asyncio
Hynek Schlawack: Better Python Object Serialization

Link: https://hynek.me/articles/serialization/

The Python standard library is full of underappreciated gems. One of them allows for simple and elegant function dispatching based on argument types. This makes it perfect for serialization of arbitra
Test and Code: 188: Python's Rich, Textual, and Textualize - Innovating the CLI

Link: https://testandcode.com/188

Will McGugan has brought a lot of color to CLIs within Python due to Rich.
Then Textual started rethinking full command line applications, including layout with CSS.
And now Textualize, a new startup
Nicola Iarocci: Eve-Swagger v0.2 released

Link: https://nicolaiarocci.com/eve-swagger-v0.2-released/

I just released Eve-Swagger v0.2 on PyPI. Eve-Swagger is a Swagger/OpenAPI extension for Eve powered RESTful APIs. This maintenance release addresses a few issues and adds support for eve-auth-jwt. Ma
Real Python: Using Python Class Constructors

Link: https://realpython.com/courses/using-python-class-constructors/

Class constructors are a fundamental part of object-oriented programming in Python. They allow you to create and properly initialize objects of a given class, making those objects ready to use. Class
Python Insider: Python 3.9.13 is now available

Link: https://pythoninsider.blogspot.com/2022/05/python-3913-is-now-available.html

 This is the thirteenth maintenance release of Python 3.9. Get it here:Python 3.9.13


According to the release calendar specified in PEP 596, Python 3.9.13 is the final
regular maintenance release.
PyCoder’s Weekly: Issue #525 (May 17, 2022)

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

#525 – MAY 17, 2022 View in Browser » Python’s min() and max(): Find Smallest and Largest Values In this tutorial, you’ll learn how to use Python’s built-in min() and max() functions to find the
Django Weblog: Django 4.1 alpha 1 released

Link: https://www.djangoproject.com/weblog/2022/may/18/django-41-alpha-1-released/

Django 4.1 alpha 1 is now available. It represents the first stage in the 4.1
release cycle and is an opportunity for you to try out the changes coming in
Django 4.1.
Django 4.1 has an profusion of ne
Zato Blog: Web scraping as an API service

Link: https://zato.io/blog/posts/web-scraping-api-integrations.html

Overview
In systems-to-systems integrations, there comes an inevitable time when we have to employ some kind of a web scraping tool
to integrate with a particular application. Despite its not being ou