Complex custom class converters for attrs. Contribute to Tinche/cattrs development by creating an account on GitHub. (more…)
Read more »
One of my first TIL entries was about how you can imitate Node’s node_modules semantics in Python on UNIX-like operating systems. A lot has happened since then (to the better!) and it’s time for an update. direnv still rocks, though. (more…)
Read more »
If you are learning how to code in python, it is invariable that you come across lists. List is one of the most versatile, fundamental, data structures in python. (more…)
Read more »
Retrying library for Python. Contribute to jd/tenacity development by creating an account on GitHub. (more…)
Read more »
Python has a function called sys.getrefcount() that tells you the reference count of an object. For example, the following code,import sysprint sys.getrefco... (more…)
Read more »