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.3.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

tag_matcher-0.0.3-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file tag-matcher-0.0.3.tar.gz.

File metadata

  • Download URL: tag-matcher-0.0.3.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for tag-matcher-0.0.3.tar.gz
Algorithm Hash digest
SHA256 25ec87e808fca6ad73e306120d00079021cc8c9e6c88ade1f6fdb47108ab73d4
MD5 861973db3f08c7453c2659d6559ad572
BLAKE2b-256 176db6d5e3b21c8d986e269a23eaf0d0490381ac0153b67a6c31f5b830235798

See more details on using hashes here.

File details

Details for the file tag_matcher-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: tag_matcher-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for tag_matcher-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 62eec1f1a2b852c10211813da38e5bfbcbfe443a98eb8c0209b19d0539fea751
MD5 c10c5790e03ee3caee6c099a82c014be
BLAKE2b-256 961efb10ed3986f4dcc8331ee968fbb5ff047f8abbd400a69fffee361858adde

See more details on using hashes here.

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