Mike

Python 3 – An Intro to asyncio

The asyncio module was added to Python in version 3.4 as a provisional package. What that means is that it is possible that asyncio receives backwards incompatible changes or could even be removed in a future release of Python. According to the documentation asyncio “provides infrastructure for writing single-threaded concurrent code using coroutines, multiplexing I/O

Python 3 – An Intro to asyncio Read More »

Yet Another Python datetime Replacement: Pendulum

I stumbled across another new library that purports that it is better than Python’s datetime module. It is called Pendulum. Pendulum is heavily influenced by Carbon for PHP according to its documentation. These libraries are always interesting, although I am not sure what makes this one better than Arrow or Delorean. There were some comments

Yet Another Python datetime Replacement: Pendulum Read More »

Python 3 Testing: An Intro to unittest

The unittest module is actually a testing framework that was originally inspired by JUnit. It currently supports test automation, the sharing of setup and shutdown code, aggregating tests into collections and the independence of tests from the reporting framework. The unittest frameworks supports the following concepts: Test Fixture – A fixture is what is used

Python 3 Testing: An Intro to unittest Read More »