Skip to main content
```
# 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]: '山东移动'
```

Metadata

Release files for mobile-address 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mobile-address 0.0.1
File Size Uploaded Provenance Actions
mobile-address-0.0.1.tar.gz 2.5 kB Without provenance Details for mobile-address-0.0.1.tar.gz

Release files / mobile-address-0.0.1.tar.gz

Download URL mobile-address-0.0.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9a1f6b67521e36c0b897312c054753a6f27f8025137ba40539dafe10920bef0a
BLAKE2b-256 checksum
How to use checksums
5e93b13967b97027b107f5f35ec26c10cbdfed57d57ee4e667b27f8fefd94e86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for mobile-address 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page