Python class for IMEI checking and fake IMEI generation.
You can validate using ImeiSupport::isValid() (support both integer and string representation of IMEI).
Also, you can generate fake IMEI using ImeiSupport::generateNew() or sequental IMEIs using ImeiSupport::next()
You can find additional description here: http://bohdan-danishevsky.blogspot.com/2016/11/imei-processing-in-python.html