Python Data Insights, Hardware, and Security
·28m 58s
Shared point
–
Overview of Tools and Libraries
This episode of Python Bytes covers a diverse range of tools designed to enhance data quality, hardware interaction, and application security.
Data Validation with Great Expectations
- Great Expectations is a powerful package for data pipelines that ensures datasets meet specific criteria.
- It functions by checking for structural integrity and data norms, returning results as JSON objects for easy integration into automated workflows.
Python on Hardware: MicroPython and CircuitPython
- Nina Zakarenko introduces the Circuit Playground Express, an accessible microcontroller board for Python beginners.
- MicroPython is the core, efficient implementation for microcontrollers, while CircuitPython provides an optimized experience for Adafruit devices.
Data Class CSV Parsing
- A new approach to reading CSV files using data classes allows for automatic type conversion and validation.
- This method provides better IDE support through autocomplete and cleaner, type-safe code compared to traditional dictionary readers.
Best Practices and Security
Packaging Ecosystem
- Discussion surrounds using Poetry alongside Briefcase to manage dependencies and package applications for native distribution, including desktop and mobile platforms.
Security Resources
- The Awesome Python Security repository is highlighted as a comprehensive hub for tools like Bandit (vulnerability scanner) and DetectSecrets (credential leak detection).
- The use of passlib for secure password hashing is recommended to mitigate risks like dictionary attacks.
Developer Productivity
"Instead of just printing out like, 'I'm here', it'll actually give you a higher level statement without doing more work."
- PyDBG: An implementation of the Rust DBG macro for Python, which allows developers to debug with more context than traditional print statements.
-
Google Takeout: A utility to back up Drive data into standard Office formats to ensure permanent accessibility.
-
PyCon US 2019: Exciting community updates regarding the Art of Python festival and mentored sprints for diverse beginners.