Python Bytes is a weekly podcast hosted by Michael Kennedy and Brian Okken. The show is a short discussion on the headlines and noteworthy news in the Python, developer, and data science space.

#388 Don't delete all the repos

June 18, 2024 00:21:59 21.23 MB Downloads: 0
Topics covered in this episode:
Watch on YouTube

About the show

Sponsored by ScoutAPM: pythonbytes.fm/scout

Connect with the hosts

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

Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.

Brian #1: PSF Elections coming up

Michael #2: Cloud engineer gets 2 years for wiping ex-employer’s code repos

  • Miklos Daniel Brody, a cloud engineer, was sentenced to two years in prison and a restitution of $529,000 for wiping the code repositories of his former employer in retaliation for being fired.
  • The court documents state that Brody's employment was terminated after he violated company policies by connecting a USB drive.

Brian #3: Python: Import by string with pkgutil.resolve_name()

  • Adam Johnson
  • You can use pkgutil.resolve_name("[HTML_REMOVED]:[HTML_REMOVED]")to import classes, functions or modules using strings.
  • You can also use importlib.import_module("[HTML_REMOVED]")
  • Both of these techniques are so that you have an object imported, but the end thing isn’t imported into the local namespace.

Michael #4: DuckDB goes 1.0

  • via Alex Monahan
  • The cloud hosted product @MotherDuck also opened up General Availability
  • Codenamed "Snow Duck"
  • The core theme of the 1.0.0 release is stability.

Extras

Brian:

Michael:

Joke: .gitignore thoughts won't let me sleep