Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

uamd (User Agent Mobile Detect) is for detecting japanese mobile phone from HTTP_USER_AGENT and return device information include UID from HTTP Header and spoof check by CIDR of each carrier

Install

sudo pip install uamd

or:

sudo pip install git+git://github.com/lambdalisue/uamd.git#egg=uamd

Required (Automatically installed)

  • IPy

  • BeautifulSoup

How to use

>>> META = {
>>>     'HTTP_USER_AGENT': u"J-PHONE/2.0/J-SH02",
>>>     'HTTP_X_JPHONE_UID': u"XXXXXXX",
>>>     'REMOTE_ADDR': u"123.108.237.0",                        # Valid IP for Softbank (2011/03/22)
>>> }
>>> deice = uamd.detect(META)
>>> device.name
u'J-SH02'
>>> device.type
u'J-Phone'
>>> device.uid
u'XXXXXXX'
>>> device.spoof
False

Metadata

Release files for uamd 0.1rc4

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

Source distribution (sdist)

Source distribution for uamd 0.1rc4
File Size Uploaded Provenance Actions
uamd-0.1rc4.tar.gz 109.9 kB Without provenance Details for uamd-0.1rc4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for uamd 0.1rc4
File Interpreter ABI Platform Actions
uamd-0.1rc4-py2.7.egg Legacy Egg format - - Details for uamd-0.1rc4-py2.7.egg

Total release size: 130.8 kB

Release files / uamd-0.1rc4.tar.gz

Download URL uamd-0.1rc4.tar.gz
Size 109.9 kB
Tags Source
SHA-256 checksum
How to use checksums
688d56a09a9882d6cc1f6736360ae47df053fa9e1164cc9b19d082c9b13a5918
BLAKE2b-256 checksum
How to use checksums
bce177d0da188fc78b55b4a334d532958d2f8cf69f9ec311dd4a48b119cd3a4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / uamd-0.1rc4-py2.7.egg

Download URL uamd-0.1rc4-py2.7.egg
Size 20.9 kB
Tags Egg
SHA-256 checksum
How to use checksums
58e78fe2f853d5c22ed6a02c380aac86abc9b8d5e6f887c8f79517ddaf976311
BLAKE2b-256 checksum
How to use checksums
a2b0037fb616d43f0903463aac8cfe623e24a599164fac30d894f576e55be7b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for uamd 0.1rc4

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.

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