Skip to main content

Cluster url pattern automatically.

Project description

https://travis-ci.org/cfhamlet/os-urlpattern.svg?branch=master https://codecov.io/gh/cfhamlet/os-urlpattern/branch/master/graph/badge.svg PyPI - Python Version PyPI

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
sage: 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)

Unit Tests

$ tox

License

MIT licensed.

Project details


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.1.tar.gz (19.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page