How to Use the Walrus Operator to Write Less Code

:= assigns and returns in one expression. Combine assignment with conditions. It looks illegal. It's not.

#python #walrus #:= #python38 #oneliner #howto

https://www.youtube.com/watch?v=OOnbYPkT6tM

How to Use the Walrus Operator to Write Less Code #python

YouTube

Just released! PrettyTable 3.12 ๐Ÿš€

https://pypi.org/project/prettytable/3.12.0/

๐Ÿช‘ Add new themes to ColorTable
๐Ÿช‘ Drop support for Python 3.8
๐Ÿช‘ Deprecate hrule and tableStyle constants
๐Ÿช‘ Use SPDX license identifier
๐Ÿช‘ Add lots of type annotations
๐Ÿช‘ Generate __version__ at build to avoid slow importlib.metadata
๐Ÿช‘ Release to PyPI using Trusted Publishing and PEP 703 digital attestations
๐Ÿช‘ Fix drawing headerless coloured tables with title
๐Ÿช‘ And more!

#Python #PrettyTable #release #PEP703 #Python38

prettytable

A simple Python library for easily displaying tabular data in a visually appealing ASCII table format

PyPI

Just released! stravavis 0.5.0 ๐Ÿš€

Create artistic visualisations with your exercise data.

https://pypi.org/project/stravavis/0.5.0/

๐Ÿšด Drop support for EOL Python 3.8

๐Ÿƒ Skip segments in GPX tracks with empty trkseg

๐Ÿ›ถ Fix pandas warnings

#Python #strava #stravavis #release #CLI #Python38

stravavis

Create artistic visualisations with your exercise data

PyPI

Just released: blurb 1.3.0 ๐Ÿš€

blurb is the CLI we use for managing CPython's news/changelog entries.

๐Ÿ—ž๏ธ Add support for Python 3.13

๐Ÿ—ž๏ธ Drop support for Python 3.8

๐Ÿ—ž๏ธ Generate digital attestations for PyPI (PEP 740)

๐Ÿ—ž๏ธ Allow running blurb test from blurb-* directories by

๐Ÿ—ž๏ธ Add version subcommand

๐Ÿ—ž๏ธ Generate __version__ at build to avoid slow importlib.metadata

https://pypi.org/project/blurb/1.3.0/

#Python #CPython #blurb #release #CLI #changelog #news #PEP740 #Python313 #Python38

blurb

Command-line tool to manage CPython Misc/NEWS.d entries.

PyPI

Just released: pepotron 1.3.0 ๐Ÿš€

๐Ÿ”ฉ Generate digital attestations for PyPI (PEP 740)

๐Ÿ”ฉ Drop support for Python 3.8

๐Ÿ”ฉ Generate __version__ at build to avoid slow importlib.metadata

๐Ÿ”ฉ Test on CI with uv

https://pypi.org/project/pepotron/1.3.0/

Pepotron is a CLI for opening PEPs in your browser. For example, try:

$ pep 8

$ pep 3.14

$ pep dead batteries

$ pep calendar

#Python #release #pepotron #PEP #CLI #PEP740 #Python38

pepotron

CLI to open PEPs in your browser

PyPI

Just released: pypistats 1.7.0 ๐Ÿš€

๐Ÿ“ˆ Generate digital attestations for PyPI (PEP 740)

๐Ÿ“‰ Drop support for EOL Python 3.8

๐Ÿ“ˆ Generate __version__ at build to avoid slow importlib.metadata

https://pypi.org/project/pypistats/1.7.0/

#Python #release #pypistats #CLI #PEP740 #Python38

pypistats

Python interface to PyPI Stats API https://pypistats.org/api

PyPI

Python 3.8 is officially EOL ๐Ÿ”š

As @ambv wrote:
"... itโ€™s time to move on to newer, greater things. Whether itโ€™s typing generics in built-in collections, pattern matching, except*, low-impact monitoring, or a new pink REPL ... So upgrade today!"

https://discuss.python.org/t/python-3-8-is-now-officially-eol/66983

#Python #Python313 #Python38

Python 3.8 is now officially EOL

PEP 569 updated and marked as final. The Downloads page and the devguide updated. The branch is deleted, and a new 3.8 tag is placed in its stead for posterity. Thanks, 3.8. You were a good one. You brought us assignment expressions, and with that, the Steering Councils. But this wasnโ€™t the only cool new feature. Things that we take for granted today, like the debugging equals sign in f-strings, or positional-only arguments, or audit events, or the asyncio REPL, were all added in that version....

Discussions on Python.org

๐Ÿ2๏ธโƒฃ๐Ÿš€ The **final** release candidate of Python 3.13 is out!

โžก๏ธ Library maintainers, please upload wheels to PyPI **now**, especially if you have compiled extensions (there are no more ABI changes), so everything is in place for the big 3.13.0 release in 3 weeks!

๐Ÿ”’ Also! Security releases have been made for the full set of Python 3.8 - 3.12. Please upgrade!

โ„น๏ธ https://discuss.python.org/t/python-3-13-0rc2-3-12-6-3-11-10-3-10-15-3-9-20-and-3-8-20-are-now-available/63161?u=hugovk

๐Ÿงช https://dev.to/hugovk/help-test-python-313-14j1

#Python #Python313 #RC #RC2 #Python312 #Python311 #Python310 #Python39 #Python38

Python 3.13.0RC2, 3.12.6, 3.11.10, 3.10.15, 3.9.20, and 3.8.20 are now available!

Hi there! A big joint release today. Mostly security fixes but we also have the final release candidate of 3.13 so letโ€™s start with that! Python 3.13.0RC2 Final opportunity to test and find any show-stopper bugs before we bless and release 3.13.0 final on October 1st. Get it here: Call to action We strongly encourage maintainers of third-party Python projects to prepare their projects for 3.13 compatibilities during this phase, and where necessary publish Python 3.13 wheels on PyPI to be re...

Discussions on Python.org

Python library developers! Python 3.8 is out today! ๐Ÿš€

aka Python 3.7 is EOL so we can now use Python 3.8 features! ๐ŸŽˆ

https://devguide.python.org/versions/
https://docs.python.org/3/whatsnew/3.8.html
https://pyreadiness.org/3.7/
https://github.com/hugovk/norwegianblue

#Python #Python37 #Python38 #EOL

Status of Python versions

The main branch is currently the future Python 3.15, and is the only branch that accepts new features. The latest release for each Python version can be found on the download page.(See below for a ...

Python Developer's Guide
Nolan (@[email protected])

"Things I Was Wrong About: Types " by Chris Krycho https://v5.chriskrycho.com/journal/things-i-was-wrong-about/1-types/ I'm still a type-skeptic (or at least, TypeScript-skeptic), but it's interesting to look at the tradeoffs of different type systems. Maybe my experience with Java really colored my perception.

toot.cafe