semvec/pypi-packages huggingface dataset:
networking-fujitsu 8.0.0
FUJITSU ML2 plugins/drivers for OpenStack Neutron

==================
networking-fujitsu
==================

FUJITSU plugins/drivers for OpenStack Neutron.

* Free software: Apache license
* Source: https://git.openstack.org/cgit/openstack/networking-fujitsu
* Bugs: https://bugs.launchpad.net/networking-fujitsu

ML2 driver for FUJITSU Converged Fabric Switch(CFX2000)
-------------------------------------------------------

* For more detail, please refer https://github.com/openstack/networking-fujitsu/blob/master/doc/source/ml2_cfab.rst.

.. include:: ml2_cfab.rst

ML2 driver for FUJITSU FOS Switch(Draft)
----------------------------------------

* For more detail, please refer https://github.com/openstack/networking-fujitsu/blob/master/doc/source/ml2_fossw.rst.

.. include:: ml2_fossw.rst
check-device-code 1.0.1
校验手机设备码
Keywords: imei emid

# check-device-code
校验手机设备码

## 介绍
本库用于校验手机IMEI设备码的最后一位是否正确，如没有最后一位则自动补齐。

## 使用方法
```python
import check_device_code as cdc

# 输入imei = 14位
print(cdc.check_device_doce('imei',str(86379103507858)))
# 校验失败，自动补齐
{'check': False, 'imei': '863791035078583'}

# 输入imei < 14位
print(cdc.check_device_code('imei',str(8637910350785)))
# 输入imei > 15位
print(cdc.check_device_code('imei',str(8637910350785836)))
# 输入imei != 全数字
print(cdc.check_device_code('imei',str('A63791035078583')))
# 校验失败，返回None
{'check': False, 'imei': None}

# 输入错误的imei
print(cdc.check_device_code('imei',str(863791035078587)))
# 校验失败，返回正确值
{'check': False, 'imei': '863791035078583'}

# 输入正确的imei
print(cdc.check_device_code('imei',str(863791035078583)))
# 校验成功，返回原值
{'check': True, 'imei': '863791035078583'}


```