a complex pattern, support typing
Project description
NEPattern
NEPattern
(Not-Enough-Pattern
) ���������������������������������������������������������������������Alconna
������
from nepattern import BasePattern
pat = BasePattern.of(int)
assert pat.validate(123).success
assert pat.validate(12.23).failed
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
nepattern-0.1.2.tar.gz
(9.1 kB
view hashes)
Built Distribution
nepattern-0.1.2-py3-none-any.whl
(11.0 kB
view hashes)
Close
Hashes for nepattern-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cea4933c1ad25dd06558084ae1f73ef0c909eeb1e5f7a2ec27a86018b50c59f |
|
MD5 | 0766e80d4fc8e78cff9dffd1c388450b |
|
BLAKE2b-256 | 2ea8b08824944f8d15de8a25841a56ff4b4def7fd813aa487db3aabc1d851658 |