Latest Articles

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...

Snake_Byte #12: t-SNE?...Gesundheit

I can see clearly now the dimensionality is gone… Often, when investigating a new dataset, it is helpful to create visualizations of the data to...

Snake_Byte #11: ? faster with PyPy

Earlier this year, I spoke at PyCon about running our Python code with PyPy and how it has sped up our healthcare transaction processing. After...

Snake_Byte #10: Astute Assertions

Welcome to the 10th installment of Snake_Bytes! In this installment we will implement test cases using Nose and Rednose.   Test cases are an important...