Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

User Agent Mobile Detect

Project Description

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
Release History

Release History

This version
History Node

0.1rc4

History Node

0.1rc3

History Node

0.1rc1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
uamd-0.1rc4-py2.7.egg (20.9 kB) Copy SHA256 Checksum SHA256 2.7 Egg Nov 22, 2011
uamd-0.1rc4.tar.gz (109.9 kB) Copy SHA256 Checksum SHA256 Source Nov 22, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting