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.4.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for tag_matcher-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9fb46c84639fdbb6974ed53e048713473ae4a6e28098468de97078b963ce25c |
|
MD5 | 3bf5d94a2a9f66db22c01bdf5b659fe4 |
|
BLAKE2b-256 | 737ef93ff2ce208a5e3119b2120723c72e4a0129373e494f638ee2967f194ec1 |