Check out the latest documentation.

Distributions Version 3

As of Version 3 51Degrees device detector for Python will work with both free and pay-for device data files. So you won't need to download a different detector, only your data file will change depending on which one you need. Device data is now available in 3 flavours:

  1. Lite - free to use data with 30 000 devices and 40 device properties. Included in all distributions by default.
  2. Premium - pay-for version with 70 000 devices, regular automatic updates and even more properties.
  3. Enterprise - pay-for version with over 150 000 devices, over 150 device properties, daily updates and additional scripts to improve accuracy for iPhone detections and scripts to monitor bandwidth.

Please visit the Compare Data Options page for more information and a visual comparison table. For a full list of supported device properties please visit the Property Dictionary .

If you have already purchased Premium or Enterprise data then all you have to do is follow the steps outlined in Getting Started section and then edit your settings file to choose the appropriate detection method (v3-wrapper or v3-trie-wrapper) and device data file location for your chosen method. For more information on configuration please visit the Config section.

Distributions Version 2

The 51Degrees Device Detector for Python can be used with either Premium or Lite Device Data as well as either device detection methods, Trie and Pattern.

51Degrees Premium Python Wrapper for C is available to download from the 51Degrees downloads page. You will need to have a valid license key to download the Premium Data.

51Degrees Lite Python wrapper for C is available to download from PyPI . This can be download and installed using the following command in your terminal window.

										
										$ 
										
									sudo pip install 51degrees-mobile-detector-v3-wrapper

									

51Degrees Trie wrapper for Python is available to download from PyPI . This can be download and installed using the following command in your terminal window.

										
										$ 
										
									sudo pip install 51degrees-mobile-detector-v3-trie-wrapper