Better Python Object Serialization
Explores Python's functools.singledispatch for elegant, extensible JSON serialization of custom objects, moving beyond the standard json module's limitations.
Explores Python's functools.singledispatch for elegant, extensible JSON serialization of custom objects, moving beyond the standard json module's limitations.
A guide to using class-based tests in Python to make test suites more extensive, expressive, and maintainable, demonstrated with an API login endpoint.
A curated list of five interesting Python tutorials covering music generation, computer vision, data science, and popular modules.
A deep dive into Python exception handling, covering the BaseException hierarchy, internal implementation, and best practices for defining custom exceptions.
The author reflects on the global reach of their book 'Intermediate Python', which has been read in 181 countries and used for training.
A critique of common Python decorator patterns that break function signatures and introspection, with advice on how to fix them.
A Python developer shares insights from the HTTP Workshop in Stockholm, discussing HTTP/2, web standards, and Python's role in the ecosystem.
A developer shares insights from reading the entire Python standard library, advising it's not necessary for proficiency and recommending community learning.
Explains why including a requirements.txt file in Python package releases helps document dependency versions for users and future maintainers.
Guide to using Jupyter Notebooks with Oracle Big Data Discovery 1.2 for advanced data science and Python/Spark integration.
Guide to setting up Big Data Discovery Shell and Jupyter Notebooks on Oracle's Big Data Lite VM for advanced data science work.
A guide to creating presentation slides using Jupyter Notebook and Reveal.js, including automation and hosting on GitHub Pages.
A summary of the author's experience and key takeaways from attending the PyData Berlin 2016 conference, including notable talks.
Explains improvements in joblib's compressed persistence for Python, focusing on reduced memory usage and single-file storage for large numpy arrays.
Explains how to handle conditional Python package dependencies based on Python version, covering PEP 508, setuptools versions, and workarounds.
An introduction to Python sorted collections, explaining the need for libraries like SortedContainers for efficient sorted data types.
The Intermediate Python book is now available in a Chinese translation, which quickly gained popularity on GitHub.
A technical critique of Sucuri Security's flawed analysis of TLS certificate verification, focusing on errors in their assessment of Python's Requests library.
A Python script called csv2vw converts CSV data into Vowpal Wabbit's input format for machine learning, with examples for label handling.
A guide for academics with math/physics backgrounds transitioning into data science, covering skills, learning paths, and practical advice.