Upgrading to Pydantic 2: More quirky than you would expect.
Upgrading to Pydantic 2 was more painful than expected. Better do it now than later!
Read MoreUpgrading to Pydantic 2 was more painful than expected. Better do it now than later!
Read MoreDeepDiff introduces commandline feature in the 5.2.1 release:
Let’s dig in!
Read MoreDelta, Deep Distance, Numpy Support, granular results when ignoring the order and many optimizations are introduced! The Delta objects are like git commits but for structured data. Deep Distance is the distance between 2 objects. It is inspired by Levenshtein Distance
Read MoreOne of the features of DeepDiff that comes very handy is comparing nested data structures that include numbers. There are times that we do care about the exact numbers and want it to be reported if anything slightly changed. We explore different parameters that help when diffing numbers.
Read MoreAutocomplete in Python. Get familiar with various data structures in Python, from the built-in deque to creating Trie-tree and Directed Acyclic Word Graph (DAWG) and even fuzzy matching via phonetic algorithms and Levenshtein edit distance.
Read MoreMagic methods are a very powerful feature of Python and can open a whole new door for you. However, with great power comes great responsibility.
Read MoreDimistify lazy objects in Python, mainly focusing on lazy loading aspect but not lazy writing. However in order to do lazy loading, we need to have a good understanding of some of the Python’s magic methods.
Read MoreIntroducing RedisWorks. How to get more from Redis with less coding.
Read MoreFrom time to time I need to do some simple file/folder transfer/query from a Python app to a S3 bucket. There is a great Python library called Boto that offers a comprehensive low level interface to AWS. I consider it too low level for simple operations on S3. On the other hand there is a fantastic command line library called s3cmd written in Python but it is designed to be used from command line and not from Python apps. Every other Python library I found to be dealing with S3 buckets, seemed unmaintained.
Read MoreAnybody who has used git diff will know that your life is not the same once you start diffing. When you get to the habit, there is no going back. Now let’s look at diff for structured data!
Read MoreAn [outdated] comparison between different Distributed Task Queues
Read More