Latest Articles

Snake_Byte #23: Counter

Hola and welcome to this 20+ installment of Snake Bytes, counter_bytes. While Python is the supreme choice for the data scientists, there is often a...

Snake_Byte #22: Keeping Secrets Secret

There is a rise in the number of leaked Electronic Medical Records (EMRs). In 2014-2015, the cost of a partial EMR could fetch around $50....

Snake_Byte #21: Python and API Clients

In his Writing Made Easy SnakeByte, our own Alec Macrae wrote about Python's speed of development stemming from easily importable third party modules and extensive...

Snake_Byte #20: Python for Non-Python People

PokitDok's Snake_Bytes blogs are a weekly glimpse into how our developers use Python in their day to day work to build APIs or analyze large...

Snake_Byte #19: Lazy Coding with List Comprehensions

You may have heard the quip "I will always choose a lazy person to do a difficult job because a lazy person will find an...

Snake_Byte #18: namedtuples with defaults

I would estimate namedtuple to be the most commonly used container type in Python's supplemental collections module, and it doesn't take long for new Python...

Snake_Byte #17: raise Hell()

The raise statement is an often used, but rarely understood feature of Python. Case in point: the official Python tutorial reads, "The sole argument to...

Snake_Byte #16: REST-assured with SOAP and Python

It's easy to use Python and REST with SOAP, without having to cleanout the tools cupboard. Once you have the WSDL and/or a sample request,...

Snake_Byte #15: Processing the CMS NPPES-NPI dataset with python csv and json

Today, we're going to look at the python csv module and the CMS NPI dataset. If you'd like to follow/code along using python/ipython browse to...

Snake_Byte #14: Writing Made Easy

Python, as a language, has its strengths and weaknesses as any other language does. Some of its biggest strengths are its productivity and speed of...

Snake_Byte #13: Metaclasses: But Why?

Python is one of a handful of languages that allow the use of Metaclasses. Usage of the feature is fairly controversial, as you can solve...