Offline Speech to Text, Logging with Loguru and more
How to publish a Python package with GitHub Actions using Poetry, How to Create Pivot Tables with Pandas with some more interesting news, articles, packages and projects
News
Python 3.12.4 released
This is the third maintenance release of Python 3.12. It contains more than 250 bug fixes, build improvements and documentation changes.
Python 3.13.0 beta 2 released
This is the second of four beta release previews of 3.13
PySimpleGUI has deleted [almost] all old LGPL versions from PyPI; update your dependencies
Months ago, PySimpleGUI relicensed from LGPL3 to a proprietary license/subscription model with the release of version 5. Up until recently, the old versions of PySimpleGUI remained on PyPI. However, all but two of these have been deleted and those that remain are yanked.
If you are trying to install you are either getting version 5 so be sure about the license part, if you are trying to install the older version then you might be getting an error message or an unsupported version.
Details about added features in the releases of Polars 0.20.17 to Polars 0.20.31
Polars development is going pretty active & adding many things to it. They aggregated all interesting things done from Polars 0.20.17 to Polars 0.20.31.
Uvicorn 0.30.0 released
A multiprocess manager was introduced which imitates gunicorn.
pygame-ce 2.5.0 released
It has new additions, performance enhancements, bugfixes and more!
Articles
How to publish a Python package with GitHub Actions using Poetry
John Franey added steps to his previous article because things got changed the time he published previous article like trusted publishing at PyPI. If you are interested to know how to publish your package using poetry check out this article. It's easy compared to the conventional way.
# John Franey
Offline Speech to Text in Python
In this article, Nimrita Koul explained about vosk, pyaudio packages and showed a simple solution to record your own audio and convert your words to text and save it in a text file. The best part is the whole thing can be done offline.
# Nimrita Koul
An Intro to Logging with Loguru
If you don’t like the Python logging module or want to try something new then there are several good options for logging in Python. One of them is Loguru. Mike Driscoll covered it with simple and easy-to-understand examples.
# Mike Driscoll
Apache Kafka is a popular event streaming platform. If you want to connect to it and do the stream processing then you should see this tutorial. Kris Jenkins covered this topic using the quixstreams package with an amazing example.
# Kris Jenkins
How to Create Pivot Tables with Pandas
Data analysts/Business teams love to pivot tables to analyze data in Excel. Many things we can clearly understand with the help of pivot tables. When you have huge data which can’t be handled in Excel we all know pandas are one of the best options. In this article, Ian Eyre how we can create & use pandas tables with pandas.
# Ian Eyre
Python's many command-line utilities
Another great article by Trey Hunner. This time he covered handy command-line tools that come with Python. For example, python -m webbrowser http://example.com opens a web browser, python -m sqlite3 launches an SQLite prompt python -m json.tool to parse JSON data, etc.
# Trey Hunner
100 most-watched Python 2023 conference talks
Tech Talks Weekly newsletter has put together a list of the most watched Python conference talks from 2023 as a YouTube playlist. The list is ordered by the view count for your convenience. The talks come from conferences like PyCon (all locations), PyData (all locations), EuroPython, Conf42 and many more.
# Tech Talks Weekly
Interesting Packages and Projects to explore
black - The uncompromising Python code formatter
Hyperdiv - Build reactive web UIs in Python
Voilà - Turns Jupyter notebooks into standalone web applications
About Upcoming Python Events
PyCamp Leipzig 2024
Jun 15 – 16, 2024
BangPypers - Bangalore Python Users Group
Jun 15, 2024
HydPy June Meetup
Jun 15, 2024
World Conference on Data Science & Statistics
Jun 17 – 19, 2024
Inland Empire Python Users Group monthly meeting
Jun 18, 2024
NZPUG-Auckland: Data Science: Pandas and PyArrow
Jun 19, 2024
PyLadies Dublin x PyData Ireland Special Meetup @ Travelport
Jun 19, 2024
Wagtail Space US
Jun 20 – 22, 2024
PyRustLin: PyDelhi x Rust Delhi x ILUG-D Meetup
Jun 22, 2024