a complex pattern, support typing
Reason this release was yanked:
bug
Project description
NEPattern
NEPattern
(Not-Enough-Pattern
) 是一个高效的负责类型验证与类型转换的库,独立自 Alconna
简单实例
from nepattern import BasePattern
pat = BasePattern.of(int)
assert pat.validate(13).success
assert not 13.0 >> pat
特点
- 高效的类型转化功能
- 多种预置的实例
- 良好的 typing 支持
- 自由的环境控制
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.5.6.tar.gz
(13.2 kB
view hashes)
Built Distribution
nepattern-0.5.6-py3-none-any.whl
(16.3 kB
view hashes)
Close
Hashes for nepattern-0.5.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d266fdd8e58c83e2e9940ee86a89e0d0a30495b2ff862a67053528644f7b1c4a |
|
MD5 | 2b4f5c149d9dd323acd975910897edb6 |
|
BLAKE2b-256 | 5f164cdb3ce11bb7036c8be0287ebe20c1ddd564cdf66bea5645b4751d417dc2 |