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 details)

Uploaded Source

File details

Details for the file os-urlpattern-0.1.1.tar.gz.

File metadata

  • Download URL: os-urlpattern-0.1.1.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for os-urlpattern-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0c9b4a59a21f1e370d5439527dcd65b8f919a4b86aa37db595ac56d245b0b4f0
MD5 b7c3dcc5583062de0c1555a474404b60
BLAKE2b-256 7a7bcaaa955f6a4ccfe311d05220891cd0f4212b7f047578af8966a1bab26349

See more details on using hashes here.

Supported by

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