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

#388: Don't delete all the repos

Published Tue, Jun 18, 2024, recorded Tue, Jun 18, 2024
Watch this episode on YouTube
Play on YouTube
Watch the live stream replay

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


Want to go deeper? Check our projects