Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 5, 2018. It is now read-only.

Khan/uap-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is Khan Academy's fork of uap-python a Python user agent parser.
It has its own submodule uap-core which references the actual uap-core library,
we need this reference to get the regexes - which are actually used to parse
the user agents and updated to catch new user agents for new products. Since
this regexes may be updated, we need to update this library to reflect the changes.


To update:
1. cd uap-core && git pull origin master && cd ..
# This will pull the remote core module that has the most recent regexes for parsing
2. python update.py
# This will copy the regexes to the directory with the code
3. git commit -a -m "update the regexes to the most recent version"
4. git push
# This will record your changes to the "third party" library
5. Update and Deploy the submodule like you would always

About

Python implementation of ua-parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.3%
  • Makefile 1.7%