A simple wildcard string matcher
Project description
wildcard_matcher
A simple wildcard string matcher widget for python 3.x.
Installation
python -m pip install wildcard_matcher
Usage
>>> import wildcard_matcher
>>> wildcard_matcher.match("hello world", "hello*")
True
>>> wildcard_matcher.match("hello world", "he*lo*world")
True
>>> wildcard_matcher.match("hello world", "he*lo*rld")
True
Contributing
Please feel free to log an issue with examples of what you tried and didn't work. PRs are most welcome.
Changelog
- 0.0.1 and 0.0.2 Initial release and getting packaging right.
- 0.0.3 trying to add typing file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wildcard_matcher-0.0.3.tar.gz
.
File metadata
- Download URL: wildcard_matcher-0.0.3.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.9.4 Darwin/21.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d457a133dac0bf824c101a80bfe1f0a836674a31479a579b1bc0f27063002a48 |
|
MD5 | 935fe9c121d162fec2fb6e6808c77f46 |
|
BLAKE2b-256 | 4dd21051d8225aa8da6daa4df15defb7084ee02f2ce6a86e1012575b272e97ce |
File details
Details for the file wildcard_matcher-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: wildcard_matcher-0.0.3-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.9.4 Darwin/21.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31ffb3598db208966776d0d8bc53238df4fa2e07ba7657292496a72a1ccf5cd9 |
|
MD5 | 753032471d245180c0c12a3be21b3534 |
|
BLAKE2b-256 | 86fe53deb785f20660857b5445918cb0537e818bf82a97cf389e9110c6f8294b |