No project description provided
Project description
Useragent_classifier
Installation
pip install useragent_classifier
Basic Usage
Text
useragent_classifier -f /tmp/mylist_of_User_agent.csv
Where mylist_of_User_agent.csv file is in the following format, one user agent by row, with no header
Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0 |
Opera/6.11 (Linux 2.4.18-bf2.4 i686; U) [en] |
It will produce a two files:
- a file with cluster number attributed to each User agent
- a file usefull to explain cluster with the most important word or set of word in this cluster
Graphical analysis of cluster
useragent_classifier -f /tmp/mylist_of_User_agent.csv --graphical-explanation
Launch a graphical analysis of cluster on local host on port 8050
More advanced Usage
To display the help
useragent_classifier --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for useragent_classifier-0.8.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfd08ffc73afba84c0a93dcea43b87d53dbdb7da5d37b90b4b585c61877049b0 |
|
MD5 | 9a59cbc026502870245d2d38b7d9c4b6 |
|
BLAKE2b-256 | c57ea5ccbc52cfbc4c816eb7fad15bb1a3249b0b3a0f848dfaadc424cf987d51 |
Close
Hashes for useragent_classifier-0.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04b91572115a8b7380d54808e0b8db2cc0be1e8946ea3131ea56d676017c4413 |
|
MD5 | d59eb46753203060754dcd42f6143055 |
|
BLAKE2b-256 | 47aa6dd31b842f7dd03f2a3d949709ada5f991f6c68e8c7fc0bd41432f8ba914 |