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.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbfdf7add2fb526da48e04eca1230d6c8c9f80ed7b90f5b5085e3c17d8544624 |
|
MD5 | 5c5ee06cd3976ecada54b3b9d2a2aeec |
|
BLAKE2b-256 | c69465e17a06bd219c9442ef10847899c1fa343083d90fc764e434d3f3dcd642 |
Close
Hashes for useragent_classifier-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c377c1cfc87905681936ff1d0a4488c1cb9efd33ca9f742bc1b49d6e80ceef9e |
|
MD5 | 8e3bd95130a5b540e0ab2546b5224bbe |
|
BLAKE2b-256 | 76a898692d72f01e59c5eda10a9935ba073fbf6940f94f0136318bd6bce52cf4 |