Skip to content
This project is a Python wrapper for the 51Degrees.mobi Trie C detector.
C Python Makefile
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
data
lib
._LICENSE.txt
LICENSE.txt
MANIFEST.in
Makefile
README.rst
setup.py
wrapper.c

README.rst

FiftyOneDegrees-Trie for Python Version 3.0.1.1

This is a Python wrapper for 51Degrees Device Detection Trie library.

It requires a recent Trie database file from 51Degrees.

Lite Trie data is included in the data folder. Lite data updates are in the Trie Python Github repository page. (https://github.com/51Degreesmobi/51Degrees-TrieWrapper-Python)

For information Premium and Enterprise Trie data and their benefits, see our website: https://51degrees.com/Products/DeviceDetection

INSTALLATION

This package is available on pip:

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

DEPENDENCIES

API Documentation

For documentation go to https://51degrees.com/Support/Documentation/Python

BUILDING FROM SOURCE

To build from source navigate to the directory and run:

python setup.py sdist

This will create a dist directory containing a pip package. To install, navigate to it and run:

pip install 51degrees-mobile-detector-v3-trie-wrapper-3.1.tar.gz --upgrade

COPYRIGHT AND LICENSE

Code is Copyright 51Degrees 2014. All code and Lite data is distributed under the Mozilla Public License Version 2.

CHANGE LOG

3.0.1.1

  • Added more error messages to diagnose problems with data initialisation.

3.0.0.0

  • Initial release.
Something went wrong with that request. Please try again.