Skip to main content

A lightweight tag matcher

Project description

Tag Matcher

A lightweight tag matcher for python

Setup

Install the package via pip:

pip install tag-matcher

Usage

First, import the module:

import tagmatcher

Then, execute tag match queries like so:

is_match = tagmatcher.match(query_str="foo~bar", tags=["foo", "bar"])

In this case, is_match will equal true.

Supported Operators

~: AND

+: OR

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

tag-matcher-0.0.5.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

tag_matcher-0.0.5-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

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