James Bennett: Compile your Python
Link: https://www.b-list.org/weblog/2023/dec/06/compile-python-bytecode/
This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Link: https://www.b-list.org/weblog/2023/dec/06/compile-python-bytecode/
This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Christian Ledermann: 'Hypermodernize' your Python Package
Link: https://dev.to/ldrscke/hypermodernize-your-python-package-3d9m
In the original Hypermodern Python Blogpost, Poetry was recommended as the preferred tool.
There are quite a lot of packaging tools out there which I do not want to go into in depth, instead I recomme
Link: https://dev.to/ldrscke/hypermodernize-your-python-package-3d9m
In the original Hypermodern Python Blogpost, Poetry was recommended as the preferred tool.
There are quite a lot of packaging tools out there which I do not want to go into in depth, instead I recomme
DEV Community
'Hypermodernize' your Python Package
Convert your legacy 'setup.py' into a modern 'pyproject.toml'
CodersLegacy: Pytest Tutorial: Mastering Unit Testing in Python
Link: https://coderslegacy.com/pytest-tutorial-unit-testing-in-python/
Welcome to a ALL-IN-ONE Tutorial designed to meet all your testing requirements. Whether you’re just starting with the fundamentals to build a solid conceptual foundation or aiming to craft profession
Link: https://coderslegacy.com/pytest-tutorial-unit-testing-in-python/
Welcome to a ALL-IN-ONE Tutorial designed to meet all your testing requirements. Whether you’re just starting with the fundamentals to build a solid conceptual foundation or aiming to craft profession
CodersLegacy
Pytest Tutorial: Mastering Unit Testing in Python - CodersLegacy
By the end of this tutorial, you will be able professional test-cases on a project level using the popular "Pytest" Library.
Python Engineering at Microsoft: Python in Visual Studio Code – December 2023 Release
Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-december-2023-release/
We’re excited to announce the December 2023 release of the Python and Jupyter extensions for Visual Studio Code!
This release includes the following announcements:
Configurable debugging options adde
Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-december-2023-release/
We’re excited to announce the December 2023 release of the Python and Jupyter extensions for Visual Studio Code!
This release includes the following announcements:
Configurable debugging options adde
Microsoft News
Python in Visual Studio Code – December 2023 Release
The December 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. Learn more about the latest release!
Python Insider: Python 3.12.1 is now available
Link: https://pythoninsider.blogspot.com/2023/12/python-3121-is-now-available.html
Python 3.12.1 is now available.https://www.python.org/downloads/release/python-3121/ This is the first maintenance release of Python 3.12
Python 3.12 is the newest major release of the Python program
Link: https://pythoninsider.blogspot.com/2023/12/python-3121-is-now-available.html
Python 3.12.1 is now available.https://www.python.org/downloads/release/python-3121/ This is the first maintenance release of Python 3.12
Python 3.12 is the newest major release of the Python program
Blogspot
Python Insider: Python 3.12.1 is now available
Glyph Lefkowitz: Annotated At Runtime
Link: https://blog.glyph.im/2023/12/annotated-at-runtime.html
PEP 0593 added the ability to add
arbitrary user-defined metadata to type annotations in Python.
At type-check time, such annotations are… inert. They don’t do anything.
Annotated[int,
X] just
means
Link: https://blog.glyph.im/2023/12/annotated-at-runtime.html
PEP 0593 added the ability to add
arbitrary user-defined metadata to type annotations in Python.
At type-check time, such annotations are… inert. They don’t do anything.
Annotated[int,
X] just
means
blog.glyph.im
Annotated At Runtime
PEP 593 is a bit vague on how you’re supposed to actually consume arguments to Annotated; here is my proposal.
James Bennett: Use "pip install" safely
Link: https://www.b-list.org/weblog/2023/dec/07/pip-install-safely/
This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Link: https://www.b-list.org/weblog/2023/dec/07/pip-install-safely/
This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Real Python: The Real Python Podcast – Episode #183: Exploring Code Reviews in Python and Automating the Process
Link: https://realpython.com/podcasts/rpp/183/
What goes into a code review in Python? Is there a difference in how a large organization practices code review compared to a smaller one? What do you do if you're a solo developer? This week on the s
Link: https://realpython.com/podcasts/rpp/183/
What goes into a code review in Python? Is there a difference in how a large organization practices code review compared to a smaller one? What do you do if you're a solo developer? This week on the s
Realpython
Episode #183: Exploring Code Reviews in Python and Automating the Process – The Real Python Podcast
What goes into a code review in Python? Is there a difference in how a large organization practices code review compared to a smaller one? What do you do if you're a solo developer? This week on the show, Brendan Maginnis and Nick Thapen from Sourcery return…
Django Weblog: 2023 Malcolm Tredinnick Memorial Prize awarded to Djangonaut Space
Link: https://www.djangoproject.com/weblog/2023/dec/08/2023-malcolm-tredinnick-memorial-prize-awarded-to/
The Django Software Foundation Board is pleased to announce that the 2023 Malcolm Tredinnick Memorial Prize has been awarded to Djangonaut Space.
Djangonaut Space, run by organizers Dawn Wages, Rache
Link: https://www.djangoproject.com/weblog/2023/dec/08/2023-malcolm-tredinnick-memorial-prize-awarded-to/
The Django Software Foundation Board is pleased to announce that the 2023 Malcolm Tredinnick Memorial Prize has been awarded to Djangonaut Space.
Djangonaut Space, run by organizers Dawn Wages, Rache
Django Project
2023 Malcolm Tredinnick Memorial Prize awarded to Djangonaut Space
Posted by Chaim Kirby on December 8, 2023
James Bennett: Don't mock Python's HTTPX
Link: https://www.b-list.org/weblog/2023/dec/08/mock-python-httpx/
This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Link: https://www.b-list.org/weblog/2023/dec/08/mock-python-httpx/
This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Matt Layman: Operations, WhiteNoise, and Tailwind - Building SaaS with Python and Django #177
Link: https://www.mattlayman.com/blog/2023/operations-whitenoise-and-tailwind-building-saas-with-python-and-django-177/
In this episode, I worked through a couple of issues discovered after having the site be operational for real use. From there, we moved onto some fundamental technology and integrated WhiteNoise to ha
Link: https://www.mattlayman.com/blog/2023/operations-whitenoise-and-tailwind-building-saas-with-python-and-django-177/
In this episode, I worked through a couple of issues discovered after having the site be operational for real use. From there, we moved onto some fundamental technology and integrated WhiteNoise to ha
Matt Layman
Operations, WhiteNoise, and Tailwind - Building SaaS with Python and Django #177
In this episode, I worked through a couple of issues discovered after having the site be operational for real use. From there, we moved onto some fundamental technology and integrated WhiteNoise to handle static files for the application. After adding WhiteNoise…
Matt Layman: WhiteNoise For Static Files - Building SaaS
Link: https://www.mattlayman.com/blog/2023/whitenoise-for-static-files-building-saas/
This video is all about adding the popular WhiteNoise package into my Django app to serve static files (e.g., CSS, JavaScript, and images) directly from the app. I walk through the process from start
Link: https://www.mattlayman.com/blog/2023/whitenoise-for-static-files-building-saas/
This video is all about adding the popular WhiteNoise package into my Django app to serve static files (e.g., CSS, JavaScript, and images) directly from the app. I walk through the process from start
Matt Layman
WhiteNoise For Static Files - Building SaaS
This video is all about adding the popular WhiteNoise package into my Django app to serve static files (e.g., CSS, JavaScript, and images) directly from the app. I walk through the process from start to finish and deploy it live to show how things work.
Alexey Evseev: SQLALchemy vs Django ORM
Link: https://st4lk.github.io/en/blog/2023/12/09/sqlalchemy-vs-django-orm/
Link: https://st4lk.github.io/en/blog/2023/12/09/sqlalchemy-vs-django-orm/
Alexey Evseev
SQLALchemy vs Django ORM
If you are working with Django ORM most of the time and then switching to SQLAlchemy - you may face some unexpected behavior. In this post I’ll try to describe the most important differences from my point of view. All examples for SQLAlchemy will be shown…
James Bennett: Use unittest's subtest helper
Link: https://www.b-list.org/weblog/2023/dec/09/python-unittest-subtest/
This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Link: https://www.b-list.org/weblog/2023/dec/09/python-unittest-subtest/
This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Python Insider: Python 3.11.7 is now available
Link: https://pythoninsider.blogspot.com/2023/12/python-3117-is-now-available.html
This is the sixth maintenance release of Python 3.11Python 3.11.7 is the newest major release of the Python programming language, and it contains many new features and optimizations. Get it here:htt
Link: https://pythoninsider.blogspot.com/2023/12/python-3117-is-now-available.html
This is the sixth maintenance release of Python 3.11Python 3.11.7 is the newest major release of the Python programming language, and it contains many new features and optimizations. Get it here:htt
Blogspot
Python Insider: Python 3.11.7 is now available
Ned Batchelder: Real-world match/case
Link: https://nedbatchelder.com/blog/202312/realworld_matchcase.html
Python 3.10 brought us structural pattern matching, better known as
match/case. At first glance, it looks like a switch statement from C or
JavaScript, but it’s very different.You can use match/case
Link: https://nedbatchelder.com/blog/202312/realworld_matchcase.html
Python 3.10 brought us structural pattern matching, better known as
match/case. At first glance, it looks like a switch statement from C or
JavaScript, but it’s very different.You can use match/case
Nedbatchelder
Real-world match/case
A real-world example where Python’s match/case shows its power.
James Bennett: Test your documentation
Link: https://www.b-list.org/weblog/2023/dec/10/python-doctest/
This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Link: https://www.b-list.org/weblog/2023/dec/10/python-doctest/
This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Paolo Melchiorre: Database generated columns⁽³⁾: GeoDjango & PostGIS
Link: https://www.paulox.net/2023/12/11/database-generated-columns-part-3-geodjango-and-postgis/
An introduction to database generated columns, using PostgGIS, GeoDjango and the new GeneratedField added in Django 5.0.
Link: https://www.paulox.net/2023/12/11/database-generated-columns-part-3-geodjango-and-postgis/
An introduction to database generated columns, using PostgGIS, GeoDjango and the new GeneratedField added in Django 5.0.
Paolo Melchiorre
Paolo Melchiorre - Database generated columns⁽³⁾: GeoDjango & PostGIS
An introduction to database generated columns, using PostgGIS, GeoDjango and the new GeneratedField added in Django 5.0.
Real Python: Python News: What's New From November 2023
Link: https://realpython.com/python-news-november-2023/
November brought exciting news to the Python community, from PyPI’s first security audit to a new version of PyScript! The month also gave Python developers like you ample opportunities to get involve
Link: https://realpython.com/python-news-november-2023/
November brought exciting news to the Python community, from PyPI’s first security audit to a new version of PyScript! The month also gave Python developers like you ample opportunities to get involve
Realpython
Python News: What's New From November 2023 – Real Python
November 2023 was a busy month for Python, with PyPI's first security audit and new versions of Pydantic and PyScript. There's also still time to submit a proposal to PyCon US and to participate in the annual Python Developers Survey.
CodersLegacy: Python __init__.py – Best Practices and Customizations
Link: https://coderslegacy.com/python-init-py-best-practices/
The __init__.py file is a special Python script that is executed when a package or module is imported. Its primary purpose is to initialize the package or module and define the package’s namespace. In
Link: https://coderslegacy.com/python-init-py-best-practices/
The __init__.py file is a special Python script that is executed when a package or module is imported. Its primary purpose is to initialize the package or module and define the package’s namespace. In
CodersLegacy
Python __init__.py - Best Practices and Customizations - CodersLegacy
The __init__.py file is a Python script, executed when a module is imported. Its presence indicates that a directory is meant to be a package.