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)
Built Distribution
Close
Hashes for tag_matcher-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03448c4d8b7bd9939e97080fb38a6c006fe4fc0ff5de352972ce32fad45eebd8 |
|
MD5 | 19ebf75a008dedd72d4ad0cbd9227347 |
|
BLAKE2b-256 | d240fd5cdac3e80df5b2b410f14048340d14be97fb17b11bf64fe6ad10bad68c |