Brought to you by Michael and Brian - take a Talk Python course or get Brian's pytest book

#340: Snorkel not included

Published Tue, Jun 13, 2023, recorded Tue, Jun 13, 2023
Watch this episode on YouTube
Play on YouTube
Watch the live stream replay

About the show

Sponsored by InfluxDB from Influxdata.

Connect with the hosts

Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Tuesdays at 11am PT. Older video versions available there too.

Ask me anything episode: Submit your question(s) for our upcoming AMA episode: form here. Thank you!

Brian #1: PythonGUIS

  • Martin Fitzpatrick
  • A site with a collection of resources, guides, books, comparisons, etc, around GUIs in Python.
  • Martin recommends starting with PyQT6
  • However, there are tutorials covering
    • PyQT6
    • PySide6
    • PyQT5
    • TkInter
    • PySide
    • even Kivy

Michael #2: JupyterLab 4.0 is Here

  • The next major release of our full-featured development environment
  • You can upgrade by running pip install --upgrade jupyterlab or conda install -c conda-forge jupyterlab.
  • JupyterLab is now faster, thanks to improvements such as CSS rules optimization, CodeMirror 6, MathJax 3, and notebook windowing. JupyterLab 3 was when working with large notebooks.
  • There are additional performance improvements available via opt-in settings:
    • Faster tab-switching on Chromium browsers:
    • “Settings” → “JupyterLab Shell” → switch “Hidden mode” to “contentVisibility”
    • Better performance with long notebooks:
    • “Settings” → “Notebook” → switch “Windowing mode” to “full”
  • An upgraded text editor.
  • Better real time collaboration.
  • Bug fixes. More than 100 bugs have been addressed and resolved, enhancing JupyterLab’s stability and performance.

Brian #3: Proposing a struct syntax for Python

  • Brett Cannon
  • This would be a cool syntax for a data only type: struct Point(x: int, y: int)
  • No positional only parameters
  • No inheritance
  • No methods
  • Instances would be immutable, so p = Point(1, 2) would create an object that could be used as a key.
  • A data only focused set of types.

Michael #4: Python 3.13 Removes 20 Stdlib Modules

  • via PyCoders
  • From PEP 594 – Removing dead batteries from the standard library we’re saying goodbye to
    • aifc, audioop, cgi, cgitb, chunk, crypt, imghdr, mailcap, msilib, nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau, telnetlib, uu, xdrlib
  • As well as the 2to3 program and lib2to3 module in Python.
  • Python 3.12 final release is scheduled in 4 months (October 2023) and Python 3.13 final release is scheduled in 1 year and 4 months (October 2024).

Extras

Brian:

Michael:

Joke: Snorkel not included


Want to go deeper? Check our projects