From dict Records To Simple (Data) Classes#

Setup#

  • Virtual Environments

    Create virtual environment (“sandbox”)

    $ python -m venv ~/My-Environments/2025-10-13
    

    Activate that environment

    Linux#
    $ source ~/My-Environments/2025-10-13/bin/activate
    (2025-10-13) $                          # <-- prompt changes!
    
    Windos cmd#
    $ C:\Users\Myself\My-Projects\2025-10-13\Scripts\activate.bat
    
  • Python Package Index

    In the environment (note the prompt)

    (2025-10-13) $ python -m pip install pytest
    

Contents#