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