Skip to content

Rust-Python-Packaging/pyver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyVer

GitHub 🧪 Tests 🖋  Check linting 🔨 Build 📦 Package 📄 Build docs 👔 Check formatting

Python PEP-440 Version Parser

This package allows for parsing Python PEP-440 version numbers and for comparisons between PEP-440 version numbers.

Usage

[dependencies]
pyver = "0"
use pyver::PackageVersion;

let a = PackageVersion::new("v1.0a2.dev456").unwrap();
let b = PackageVersion::new("v1.0a2.dev457").unwrap();

assert_eq!(a < b, true);

Contribution

For now Contributions will be quite loose.