Skip to main content

a complex pattern, support typing

Project description

NEPattern

Licence PyPI PyPI - Python Version

NEPattern ���������������������������������������������������������������������Alconna

������

from nepattern import BasePattern


pat = BasePattern.of(int)
assert pat.validate(123)[1] == 'V'
assert pat.validate(12.23)[1] == 'E'

Project details


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.0.tar.gz (8.6 kB view hashes)

Uploaded Source

Built Distribution

nepattern-0.1.0-py3-none-any.whl (10.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page