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.1.tar.gz
(9.1 kB
view hashes)
Built Distribution
nepattern-0.1.1-py3-none-any.whl
(11.0 kB
view hashes)
Close
Hashes for nepattern-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57fcf79016de07190f405ca2cb4dfc359729062d682f8ee207b17c8c26f19adf |
|
MD5 | 06173cbb75d6d595e1e157d280a4524b |
|
BLAKE2b-256 | 49d7076d3ac9bcb1a6a62a1f4fcfc71a8701d01250ba06627764b3b6ffe121f5 |