# Example 1
In [1]: from mobile_address import MobileAddress
In [2]: ma = MobileAddress('15764235174')
In [3]: ma.get_full()
Out [1]:
{
'mts': '1576423',
'province': '山东',
'catName': '中国移动',
'telString': '15764235174',
'areaVid': '30501',
'ispVid': '3236139',
'carrier': '山东移动'
}
# Example 2
In [1]: from mobile_address import get_address
In [2]: get_address('15764235174')
Out [1]:
{
'mts': '1576423',
'province': '山东',
'catName': '中国移动',
'telString': '15764235174',
'areaVid': '30501',
'ispVid': '3236139',
'carrier': '山东移动'
}
# Example 3
In [1]: from mobile_address import get_province
In [2]: get_province('15764235174')
Out [1]: '山东'# Example 4
In [1]: from mobile_address import get_carrier
In [2]: get_carrier('15764235174')
Out [1]: '山东移动'
The Tidelift Subscription provides access to a continuously curated stream of human-researched and maintainer-verified data on open source packages and their licenses, releases, vulnerabilities, and development practices.