The Real Python Podcast

Connecting to MongoDB and Updates on the Python Packaging Landscape


Listen Later

Have you heard about NoSQL databases, or wondered how to use one with Python? How does MongoDB store information and what packages can you use to connect this type of database to your Python project? This week on the show, David Amos is back, and he’s brought another batch of PyCoder’s Weekly articles and projects.

David talks about a recent Real Python video course about managing namespaces in Python. We also look at a few recent stories about the Python packaging ecosystem.

We cover several other articles and projects from the Python community including, generating customizable PDF reports with Python, how semantic versioning will not save you, PEP 621 is final, a user hits the Python community with 4,000 fake modules, making a synth with Python, and what is running on the Mars helicopter.

Course Spotlight: Navigating Namespaces and Scope in Python

In this course, you’ll learn about Python namespaces, the structures used to store and organize the symbolic names created during execution of a Python program. You’ll learn when namespaces are created, how they are implemented, and how they define variable scope.

Topics:

  • 00:00:00 – Introduction
  • 00:01:46 – Generate Customizable PDF Reports With Python
  • 00:04:54 – Semantic Versioning Will Not Save You
  • 00:14:55 – Sponsor: Digital Ocean
  • 00:15:34 – PEP 621 Is Final
  • 00:19:51 – Poison Packages: User Hits Python Community With 4000 Fake Modules
  • 00:26:01 – Python and MongoDB: Connecting to NoSQL Databases
  • 00:31:24 – Navigating Namespaces and Scope in Python
  • 00:35:22 – Making a Synth With Python:  Oscillators
  • 00:39:19 – Video Course Spotlight
  • 00:40:23 – Python Is Running on the Mars Helicopter
  • 00:44:14 – Thanks and goodbye
  • Show Links:

    Generate Customizable PDF Reports With Python – Learn how to generate custom PDF reports using reportlab and pdfrw with a PyQt GUI.

    Semantic Versioning Will Not Save You – Semantic versioning aims to both communicate the version of software as well as promise that certain versions won’t break anything. Sounds great, right? In a lot of cases it is, but a blind reliance on semantic versioning can come back to haunt you.

    PEP 621 Is Final – In the near future, you’ll be able to store project metadata in pyproject.toml.

    Brett Cannon

    Poison Packages: User Hits Python Community With 4000 Fake Modules – Recently, a PyPI user going by the name “Remind Supply Chain Risks” uploaded nearly 4,000 fake modules to the index, many of which were named as common misspellings of popular packages. Learn about the incident in this article, and read all the way to the end for four tips every Python developer should follow.

    Python and MongoDB: Connecting to NoSQL Databases – Learn how to use Python to interface with the NoSQL database system MongoDB. You’ll get an overview of the differences between SQL and NoSQL, and you’ll also learn about related tools, including PyMongo and MongoEngine.

    Navigating Namespaces and Scope in Python – Learn about Python namespaces, the structures used to store and organize the symbolic names created during the execution of a Python program. You’ll learn when namespaces are created, how they are implemented, and how they define variable scope.

    Projects:

    Making a Synth With Python: Oscillators – Learn how to create oscillators using Python as a foundation for creating your own software synthesizers. This article is one of a three-part series. The other articles cover modulators and controllers.

    Python Is Running on the Mars Helicopter

    How the First Helicopter on Mars Uses Off-the-Shelf Hardware and Linux

    Additional Links:

    • GUI Programming With PyQt - Real Python Learning Path
    • Episode 20: Building PDFs in Python with ReportLab
    • Python cryptography, Rust, and Gentoo: LWN.net
    • Every Change Breaks Someone’s Workflow: XKCD Comic
    • What the heck is pyproject.toml? – Brett Cannon’s Blog
    • TOML – Tom’s Obvious Minimal Language
    • PEP 518 – Specifying Minimum Build System Requirements for Python Projects
    • Python MongoDB Tutorial using Docker: CoderVlogger Medium Post
    • Korg DS-8: Vintage Synth Explorer
    • Level up your Python skills with our expert-led courses:

      • Navigating Namespaces and Scope in Python
      • How to Work With a PDF in Python
      • How to Publish Your Own Python Package to PyPI
      • Support the podcast & join our community of Pythonistas

        ...more
        View all episodesView all episodes
        Download on the App Store

        The Real Python PodcastBy Real Python

        • 4.7
        • 4.7
        • 4.7
        • 4.7
        • 4.7

        4.7

        136 ratings


        More shows like The Real Python Podcast

        View all
        Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

        Software Engineering Radio - the podcast for professional software developers

        272 Listeners

        The Changelog: Software Development, Open Source by Changelog Media

        The Changelog: Software Development, Open Source

        283 Listeners

        Thoughtworks Technology Podcast by Thoughtworks

        Thoughtworks Technology Podcast

        41 Listeners

        Talk Python To Me by Michael Kennedy

        Talk Python To Me

        592 Listeners

        Software Engineering Daily by Software Engineering Daily

        Software Engineering Daily

        624 Listeners

        Soft Skills Engineering by Jamison Dance and Dave Smith

        Soft Skills Engineering

        269 Listeners

        Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

        Super Data Science: ML & AI Podcast with Jon Krohn

        298 Listeners

        Python Bytes by Michael Kennedy and Brian Okken

        Python Bytes

        213 Listeners

        Data Engineering Podcast by Tobias Macey

        Data Engineering Podcast

        142 Listeners

        Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

        Syntax - Tasty Web Development Treats

        982 Listeners

        DataFramed by DataCamp

        DataFramed

        266 Listeners

        Kubernetes Podcast from Google by Abdel Sghiouar, Kaslin Fields

        Kubernetes Podcast from Google

        181 Listeners

        Practical AI by Practical AI LLC

        Practical AI

        190 Listeners

        The Stack Overflow Podcast by The Stack Overflow Podcast

        The Stack Overflow Podcast

        64 Listeners

        The Pragmatic Engineer by Gergely Orosz

        The Pragmatic Engineer

        52 Listeners