Sleepsort, The new REPL in Python 3.13, Understanding AI Similarity Search and more
pytest 8.2.1 released, 101 Python Automation Scripts: Streamlining Tasks and Boosting Productivity with some more interesting articles, packages and projects
News
pytest 8.2.1 released
This is a bug-fix release.
Articles
101 Python Automation Scripts: Streamlining Tasks and Boosting Productivity
Using Python we can automate many things and sometimes I feel like everything. Tushar Aggarwal shared 101 Python scripts with explanations to automate different things from Web Scraping to System Monitoring.
# Tushar Aggarwal
Sleepsort: Sorting while sleeping
There are several Sorting Algorithms there. Sleep sorting is one of them. Of course, it’s not efficient but it is simple and interesting. We outsource our sorting headache to the scheduler. If you want to know about it then you should check this article by Animesh Chouhan.
# Animesh Chouhan
The new REPL in Python 3.13
new REPL is going to come in Python 3.13. It’s cool. Trey Hunner covered it already in this article. He showed examples of cool features which are coming: colored prompt, auto-indentation, Block-level history and Support of Code Pasting. But sorry Windows users it doesn’t work in Windows due to “curses” & readline modules which are not available in Windows.
# Trey Hunner
One pytest Marker to Track the Performance of Your Tests
Do you feel your tests are running slow and you want to find out the reason behind it then you should check this article by Adrien Cacciaguerra & Arthur Pastel and pytest-codspeed package.
# Adrien Cacciaguerra & Arthur Pastel
Useful Python tips and tricks — #2
Johni Douglas Marangon covered nice tips in this article and in the previous one. He covered many interesting ones like Generics Functions, Ellipsis, etc.
# Johni Douglas Marangon
Understanding AI Similarity Search
If you are trying to understand vectors and how Similarity search works then you should definitely check this article. Kane Hooper explained the whole stuff in an easy-to-understand way.
# Kane Hooper
Create your own Gemini AI-chatbot with a twist using Python, Jinja2 and NiceGUI
Volker Janz explained in this article how to build your own chatbot with personalities you like using Google Gemini, NiceGUI and jinja2 in this article. The best part is he explained the basics of NiceGUI and jinja2 in this journey.
# Volker Janz
Interesting Packages and Projects to explore
deep-translator - A flexible free and unlimited python tool to translate between different languages in a simple way using multiple translators.
PyRIT - The Python Risk Identification Tool for generative AI (PyRIT) is an open access automation framework to empower security professionals and machine learning engineers to proactively find risks in their generative AI systems.
pytest-asyncio - pytest-asyncio is a pytest plugin. It facilitates the testing of code that uses the asyncio library.
Modin - Scale your Pandas workflows by changing a single line of code.
blessed - An easy, practical library for making Python terminal apps.
About Upcoming Python Events
GeoPython 2024
May 27 – 29, 2024
csv,conf,v8
May 29 – 30, 2024
PyLadies Amsterdam: NLP projects with spaCy
May 29, 2024
SPb Python Drinkup
May 30, 2024