pep440

A simple package with utils to check whether versions number match PEP 440.

6 个版本 Python >=3.7
安装
pip install pep440
poetry add pep440
pipenv install pep440
conda install pep440
描述

PEP 440

A simple package with utils to check whether versions number match Pep 440

Example:

>>> from pep440 import is_canonical
>>> is_canonical('4.1.0')
True

>>> is_canonical('4.2.1.beta2')  # 4.2.1b2 is correct
False

For a bigger dependencies with more utilities see PyPA Packaging (version submodule)

版本列表
0.1.2 2022-09-13
0.1.1 2022-08-16
0.1.0 2017-05-24
0.0.3 2016-08-05
0.0.2 2015-12-15
0.0.1 2015-12-14