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
Release files for tag-matcher 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tag-matcher-0.0.5.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tag_matcher-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / tag-matcher-0.0.5.tar.gz
| Download URL | tag-matcher-0.0.5.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f854eb012d807004cfd2e2be0c5801c62144cfd73e935a61cb1c55b1e19a8801
|
|
BLAKE2b-256 checksum How to use checksums |
dd94bc34f09da39d0a64faec63e2c7320a0cc68d7c0287a47423eaa7139d68cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / tag_matcher-0.0.5-py3-none-any.whl
| Download URL | tag_matcher-0.0.5-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
03448c4d8b7bd9939e97080fb38a6c006fe4fc0ff5de352972ce32fad45eebd8
|
|
BLAKE2b-256 checksum How to use checksums |
d240fd5cdac3e80df5b2b410f14048340d14be97fb17b11bf64fe6ad10bad68c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|