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.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | edd8dba1d32d44046e8cbf9d4de4d76c19c86ef1a7ca6e6e428aee029b644d86 |
|
MD5 | 698539d7255bd072929b0cb0ce0222e0 |
|
BLAKE2b-256 | f073fad490bc350f1645ff10b8e4282b06df07e770aecdd6ea901ff954b61eaf |
Close
Hashes for useragent_classifier-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70fd69d10f702883e190e6634575d8b8caacc41fa1d63d9d5b074a7697229fc8 |
|
MD5 | 2c0881e711adb408484e3a5fbce3318b |
|
BLAKE2b-256 | 9eb59594415ff90c9c00d6eda9aff3df8701b0f24718b83165adb6850c37f311 |