Test and Code: 189: attrs and dataclasses - Hynek Schlawack
Link: https://testandcode.com/189
In Python, before dataclasses, we had attrs.
Before attrs, it wasn't pretty.
The story of attrs and dataclasses is actually intertwined.
They've built on each other.
And in the middle of it all, Hyne
Link: https://testandcode.com/189
In Python, before dataclasses, we had attrs.
Before attrs, it wasn't pretty.
The story of attrs and dataclasses is actually intertwined.
They've built on each other.
And in the middle of it all, Hyne
Test & Code in Python
Test & Code in Python 189: attrs and dataclasses - Hynek Schlawack
Using classes in Python is a lot easier today thanks to attrs and dataclasses.
Hynek joins the show today to discuss some history of attrs and dataclasses, and some differences.
Hynek joins the show today to discuss some history of attrs and dataclasses, and some differences.
Mike Driscoll: An Intro to the contextlib Module in Python (Video)
Link: https://www.blog.pythonlibrary.org/2022/06/08/an-intro-to-the-contextlib-module-in-python-video/
Learn how to create different types of context managers using Python's contextlib module!
You can learn more in the contextlib documentation.
Related Articles
Python's with Statement and Context Man
Link: https://www.blog.pythonlibrary.org/2022/06/08/an-intro-to-the-contextlib-module-in-python-video/
Learn how to create different types of context managers using Python's contextlib module!
You can learn more in the contextlib documentation.
Related Articles
Python's with Statement and Context Man
Mouse Vs Python
An Intro to the contextlib Module in Python (Video) - Mouse Vs Python
Learn how to create different types of context managers using Python's contextlib module! You can learn more in the contextlib documentation. Related
Python for Beginners: Check if a Key Exists in a Dictionary in Python
Link: https://www.pythonforbeginners.com/basics/check-if-a-key-exists-in-a-dictionary-in-python
We use python dictionaries to store key-value pairs. Sometimes, we need to check if a key exists in the dictionary or not. In this python tutorial, we will discuss different ways with working examples
Link: https://www.pythonforbeginners.com/basics/check-if-a-key-exists-in-a-dictionary-in-python
We use python dictionaries to store key-value pairs. Sometimes, we need to check if a key exists in the dictionary or not. In this python tutorial, we will discuss different ways with working examples
PythonForBeginners.com
Check if a Key Exists in a Dictionary in Python - PythonForBeginners.com
Check if a Key Exists in a Dictionary in Python will help you improve your python skills with easy to follow examples and tutorials.
Go Deh: Python: Yield the first item of consecutive series of equal items, from an iterable.
Link: http://paddy3118.blogspot.com/2022/06/python-yield-first-item-of-consecutive.html
I was reading the source to the more_itertools.unique_unseen function. The function takes an iterator that may have regions where successive items are the same, and yields the item if next item is no
Link: http://paddy3118.blogspot.com/2022/06/python-yield-first-item-of-consecutive.html
I was reading the source to the more_itertools.unique_unseen function. The function takes an iterator that may have regions where successive items are the same, and yields the item if next item is no
Blogspot
Python: Yield the first item of consecutive series of equal items, from an iterable.
I was reading the source to the more_itertools.unique_unseen function. The function takes an iterator that may have regions where successi...
Nicola Iarocci: Eve 2.0 released
Link: https://nicolaiarocci.com/eve-2.0-released/
It’s been a long time coming, but I’m glad to announce that Eve 2 has finally been released today. This release drops support for Python 2, Python 3.5 and Python 3.6 hence the major version bump. Othe
Link: https://nicolaiarocci.com/eve-2.0-released/
It’s been a long time coming, but I’m glad to announce that Eve 2 has finally been released today. This release drops support for Python 2, Python 3.5 and Python 3.6 hence the major version bump. Othe
Nicola Iarocci
Eve 2.0 released
It’s been a long time coming, but I’m glad to announce that Eve 2 has finally been released today. This release drops support for Python 2, Python 3
Python Software Foundation: PyCon US: Successful Return to In-Person in 2022
Link: http://pyfound.blogspot.com/2022/06/pycon-us-successful-return-to-in-person.html
We held our first in-person event since 2019 in Salt Lake City last month and it was well-attended, celebratory, and safe. We had 1,753 in-person attendees and 669 online attendees. Of the in-person a
Link: http://pyfound.blogspot.com/2022/06/pycon-us-successful-return-to-in-person.html
We held our first in-person event since 2019 in Salt Lake City last month and it was well-attended, celebratory, and safe. We had 1,753 in-person attendees and 669 online attendees. Of the in-person a
Python Software Foundation Blog
PyCon US: Successful Return to In-Person in 2022
We held our first in-person event since 2019 in Salt Lake City last month and it was well-attended, celebratory, and safe. We had 1,753 in-p...
Real Python: Build a Quiz Application With Python
Link: https://realpython.com/python-quiz-application/
In this tutorial, you’ll build a Python quiz application for the terminal. The word quiz was first used in 1781 to mean eccentric person. Nowadays, it’s mostly used to describe short tests of trivia o
Link: https://realpython.com/python-quiz-application/
In this tutorial, you’ll build a Python quiz application for the terminal. The word quiz was first used in 1781 to mean eccentric person. Nowadays, it’s mostly used to describe short tests of trivia o
Realpython
Build a Quiz Application With Python – Real Python
In this step-by-step project, you'll build a Python quiz application for the terminal. Your app will ask you multiple-choice questions that you can use to strengthen your own knowledge or challenge your friends to test theirs.
Matt Layman: You Don't Need JavaScript
Link: https://www.mattlayman.com/blog/2022/you-dont-need-javascript/
What If I Told You… You Don’t Need JavaScript.
This talk explores why JavaScript is not good fit for most web apps.
I then show how most web apps can do dynamic things using htmx. htmx is an extension
Link: https://www.mattlayman.com/blog/2022/you-dont-need-javascript/
What If I Told You… You Don’t Need JavaScript.
This talk explores why JavaScript is not good fit for most web apps.
I then show how most web apps can do dynamic things using htmx. htmx is an extension
Matt Layman
You Don't Need JavaScript
What If I Told You... You Don't Need JavaScript. This talk explores why #JavaScript is not good fit for most web apps. I then show how most web apps can do dynamic things using htmx. I provide examples using #Django, #Flask, #RubyOnRails, and #Laravel.
Python Morsels: Python's setattr function
Link: https://www.pythonmorsels.com/python-setattr/
Python's built-in setattr function can dynamically set attributes given an object, a string representing an attribute name, and a value to assign.
Table of contents
Need to dynamically set an attri
Link: https://www.pythonmorsels.com/python-setattr/
Python's built-in setattr function can dynamically set attributes given an object, a string representing an attribute name, and a value to assign.
Table of contents
Need to dynamically set an attri
Pythonmorsels
Python's setattr function and __setattr__ method
Python's built-in setattr function can dynamically set attributes given an object, a string representing an attribute name, and a value to assign.
Python⇒Speed: Pandas vectorization: faster code, slower code, bloated memory
Link: https://pythonspeed.com/articles/pandas-vectorization/
When you’re processing data with Pandas, so-called “vectorized” operations can significantly speed up your code.
Or at least, that’s the theory.
In practice, in some situations Pandas vectorized opera
Link: https://pythonspeed.com/articles/pandas-vectorization/
When you’re processing data with Pandas, so-called “vectorized” operations can significantly speed up your code.
Or at least, that’s the theory.
In practice, in some situations Pandas vectorized opera
Python⇒Speed
Pandas vectorization: faster code, slower code, bloated memory
Vectorization in Pandas can make your code faster—except when it will make your code slower.
Python Software Foundation: The PSF's 2021 Annual Report
Link: http://pyfound.blogspot.com/2022/06/annual-report-2021.html
2021 was a challenging and exciting year for the PSF. We’ve done our best to capture some of the key numbers, details, and context in our latest annual report. Some highlights of what you’ll find in t
Link: http://pyfound.blogspot.com/2022/06/annual-report-2021.html
2021 was a challenging and exciting year for the PSF. We’ve done our best to capture some of the key numbers, details, and context in our latest annual report. Some highlights of what you’ll find in t
Python Software Foundation Blog
The PSF's 2021 Annual Report
2021 was a challenging and exciting year for the PSF. We’ve done our best to capture some of the key numbers, details, and context in our la...
Mike Driscoll: An Intro to Python Web Frameworks (Video)
Link: https://www.blog.pythonlibrary.org/2022/06/09/an-intro-to-python-web-frameworks-video/
Learn about some of the many Python web frameworks that are available to you in this video.
Web frameworks mentioned in this video
Django - https://www.djangoproject.com/
Flask - https://flask.palle
Link: https://www.blog.pythonlibrary.org/2022/06/09/an-intro-to-python-web-frameworks-video/
Learn about some of the many Python web frameworks that are available to you in this video.
Web frameworks mentioned in this video
Django - https://www.djangoproject.com/
Flask - https://flask.palle
Mouse Vs Python
An Intro to Python Web Frameworks (Video) - Mouse Vs Python
Learn about some of the many Python web frameworks that are available to you in this video. Web frameworks mentioned in this video Django -
Python Engineering at Microsoft: Python in Visual Studio Code – June 2022 Release
Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-june-2022-release/
We’re excited to announce that the June 2022 release of the Python and Jupyter extensions for Visual Studio Code are now available.
This release includes improvements to:
Localization support
Pyt
Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-june-2022-release/
We’re excited to announce that the June 2022 release of the Python and Jupyter extensions for Visual Studio Code are now available.
This release includes improvements to:
Localization support
Pyt
Microsoft News
Python in Visual Studio Code – June 2022 Release
We’re excited to announce that the June 2022 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes improvements to: Localization support Python interpreter discovery Jupyter extension support on…
PyCharm: Webinar Recording: “10 Git Things You Wish You Knew… in PyCharm” With Michael Kennedy
Link: https://blog.jetbrains.com/pycharm/2022/06/webinar-recording-10-git-things-you-wish-you-knew-in-pycharm-with-michael-kennedy/
Last Tuesday, June 7, 2022, Michael Kennedy joined us for a webinar about Git to explain his pragmatic GUI-based approach in detail. Here’s the recording for you to watch if you missed the live stream
Link: https://blog.jetbrains.com/pycharm/2022/06/webinar-recording-10-git-things-you-wish-you-knew-in-pycharm-with-michael-kennedy/
Last Tuesday, June 7, 2022, Michael Kennedy joined us for a webinar about Git to explain his pragmatic GUI-based approach in detail. Here’s the recording for you to watch if you missed the live stream
The JetBrains Blog
Webinar Recording: “10 Git Things You Wish You Knew… in PyCharm” With Michael Kennedy | The PyCharm Blog
Last Tuesday, June 7, 2022, Michael Kennedy joined us for a webinar about Git to explain his pragmatic GUI-based approach in detail. Here's the recording for you to watch if you missed the live stream
EuroPython: The Humans of EuroPython: Laís Carvalho 🍀
Link: https://blog.europython.eu/a-chat-with-lais-carve/
Hi, my name is Laís Carvalho and I am a committee member of Python Ireland since 2019 and volunteer organiser of EuroPython since 2020 (the first online edition) and co-organiser of Pyjamas (a Python
Link: https://blog.europython.eu/a-chat-with-lais-carve/
Hi, my name is Laís Carvalho and I am a committee member of Python Ireland since 2019 and volunteer organiser of EuroPython since 2020 (the first online edition) and co-organiser of Pyjamas (a Python
EuroPython Blog
The Humans of EuroPython: Laís Carvalho 🍀
Grab your favorite beverage & come read our chat with Laís Carvalho!
Real Python: The Real Python Podcast – Episode #113: Build Streamlit Data Science Dashboards & Verbose Regex f-Strings
Link: https://realpython.com/podcasts/rpp/113/
Would you like a fast way to share your data science project results as an interactive dashboard instead of a Jupyter notebook? Streamlit is a library for creating simple web apps and dashboards using
Link: https://realpython.com/podcasts/rpp/113/
Would you like a fast way to share your data science project results as an interactive dashboard instead of a Jupyter notebook? Streamlit is a library for creating simple web apps and dashboards using
Realpython
Episode #113: Build Streamlit Data Science Dashboards & Verbose Regex f-Strings – The Real Python Podcast
Would you like a fast way to share your data science project results as an interactive dashboard instead of a Jupyter notebook? Streamlit is a library for creating simple web apps and dashboards using just Python. This week on the show, Christopher Trudeau…
Python for Beginners: Python Idle: A Beginners Guide
Link: https://www.pythonforbeginners.com/basics/python-idle-a-beginners-guide
If you are here, you have recently installed python on your machine or you want to do so. Python IDLE is one of the first software you will use to learn python. This article will discuss everything yo
Link: https://www.pythonforbeginners.com/basics/python-idle-a-beginners-guide
If you are here, you have recently installed python on your machine or you want to do so. Python IDLE is one of the first software you will use to learn python. This article will discuss everything yo
PythonForBeginners.com
Python Idle: A Beginners Guide - PythonForBeginners.com
Python Idle: A Beginners Guide will help you improve your python skills with easy to follow examples and tutorials.
PyBites: The gift of time
Link: https://pybit.es/articles/pp73-the-gift-of-time/
Listen now:
In this episode we talk about the gift of time.
Are you intentional in how you spend time with people?
We talk about several advantages, why it’s so important for your career, personal
Link: https://pybit.es/articles/pp73-the-gift-of-time/
Listen now:
In this episode we talk about the gift of time.
Are you intentional in how you spend time with people?
We talk about several advantages, why it’s so important for your career, personal
PyBites
The Gift Of Time - PyBites
In this episode we talk about the gift of time.
Will Kahn-Greene: Dennis v1.0.0 released! Retrospective! Handing it off!
Link: https://bluesock.org/~willkg/blog/dev/dennis_1_0_0.html
What is it?
Dennis is a Python command line utility
(and library) for working with localization. It includes:
a linter for finding problems in strings in .po files like invalid Python
variable synta
Link: https://bluesock.org/~willkg/blog/dev/dennis_1_0_0.html
What is it?
Dennis is a Python command line utility
(and library) for working with localization. It includes:
a linter for finding problems in strings in .po files like invalid Python
variable synta
Will's Blog
Dennis v1.0.0 released! Retrospective! Handing it off!
What is it?
Dennis is a Python command line utility
(and library) for working with localization. It includes:
a linter for finding problems in strings in .po files like invalid Python
variable syntax
Dennis is a Python command line utility
(and library) for working with localization. It includes:
a linter for finding problems in strings in .po files like invalid Python
variable syntax
Quansight Labs Blog: Checking for accessibility: thoughts and a checklist!
Link: https://labs.quansight.org/blog/2022/06/checking-for-accessibility/
JupyterLab Accessibility Journey Part 4
Remember how my last post in this series
called out accessibility as much more complex than a checklist? True to my
sense of humor, this blog post is now a c
Link: https://labs.quansight.org/blog/2022/06/checking-for-accessibility/
JupyterLab Accessibility Journey Part 4
Remember how my last post in this series
called out accessibility as much more complex than a checklist? True to my
sense of humor, this blog post is now a c
Quansight Labs
Checking for accessibility: thoughts and a checklist!
JupyterLab Accessibility Journey Part 4
Remember how my last post in this series
called out accessibility as much more complex than a checklist? True to my
sense of humor, this blog post is now a ch
Remember how my last post in this series
called out accessibility as much more complex than a checklist? True to my
sense of humor, this blog post is now a ch
Andre Roberge: Nicer arithmetic with Python
Link: https://aroberge.blogspot.com/2022/06/nicer-arithmetic-with-python.html
Beginning programmers are often surprised by floating point arithmetic inaccuracies. If they use Python, many will often write posts saying that Python is "broken" when the see results as follows:>>>
Link: https://aroberge.blogspot.com/2022/06/nicer-arithmetic-with-python.html
Beginning programmers are often surprised by floating point arithmetic inaccuracies. If they use Python, many will often write posts saying that Python is "broken" when the see results as follows:>>>
Blogspot
Nicer arithmetic with Python
Beginning programmers are often surprised by floating point arithmetic inaccuracies. If they use Python, many will often write posts saying ...