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.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50cdf2addc3b84b4b036457a1ba04a305cb2b7dccf2e33dbd30d15ba9dcdb6c0 |
|
MD5 | 07a2e7d0e667630be2c0d5f31a9139fa |
|
BLAKE2b-256 | f089777119d52f79e84aac7be155d3122c1be10a947883a6e4b15d2f802ff4f7 |
Close
Hashes for useragent_classifier-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61c6894b966abfbd52789b2dc1965e091990b413c94b6281b6c9be066b334078 |
|
MD5 | 811af2ef79a09402ee730ca8cb94f89d |
|
BLAKE2b-256 | 27f7837677d6b4a64f679f5ae366ae96f91292490bd5a52a4d25fa2758769c5b |