Cluster url pattern automatically.
Project description
Automatically generate URL pattern.
Install
Install with pip
$ pip install os-urlpattern
Install extra packages
subpackage
install command
enables
memory
pip install os-urlpattern[memroy]
Show memory useage
ete-tree
pip install os-urlpattern[ete_tree]
Enable ete3 pattern tree formatter
Usage
Command line:
$ pattern-make -h usage: pattern-make [-h] [-f FILE [FILE ...]] [-L {NOTSET,DEBUG,INFO,WARN,ERROR,FATAL}] [-c CONFIG [CONFIG ...]] [-F {JSON,ETE}] optional arguments: -h, --help show this help message and exit -f FILE [FILE ...], --file FILE [FILE ...] file to be processed (default: stdin) -L {NOTSET,DEBUG,INFO,WARN,ERROR,FATAL}, --loglevel {NOTSET,DEBUG,INFO,WARN,ERROR,FATAL} log level (default: NOTSET) -c CONFIG [CONFIG ...], --config CONFIG [CONFIG ...] config file -F {JSON,ETE}, --formatter {JSON,ETE} output formatter (default: JSON)
$ pattern-match -h usage: pattern-match [-h] [-f FILE [FILE ...]] [-L {NOTSET,DEBUG,INFO,WARN,ERROR,FATAL}] -p PATTERN_FILE [PATTERN_FILE ...] optional arguments: -h, --help show this help message and exit -f FILE [FILE ...], --file FILE [FILE ...] file to be processed (default: stdin) -L {NOTSET,DEBUG,INFO,WARN,ERROR,FATAL}, --loglevel {NOTSET,DEBUG,INFO,WARN,ERROR,FATAL} log level (default: NOTSET) -p PATTERN_FILE [PATTERN_FILE ...], --pattern-file PATTERN_FILE [PATTERN_FILE ...] pattern file to be loaded
Unit Tests
$ tox
License
MIT licensed.
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
os-urlpattern-0.1.3.tar.gz
(22.5 kB
view hashes)