bitflags (pypi): Bit flags implementation using a C Union. This library removes the need to use ctypes and helps you quickly access what bits are toggled.
Keywords: bit|flags|Union|bitflags