Registry / utility / aquasecurity-go-pep440-version

aquasecurity-go-pep440-version

JSON →
library0.0.1gogounverified

A Go library for parsing and comparing Python package versions according to PEP 440.

go get github.com/aquasecurity/go-pep440-version
INSTALL
IMPORT
SIG · AQUASECURITY-GO-PE
A
aquasecurity-go-pep440-version
utilitygov0.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pep440
github.com/aquasecurity/go-pep440-version

Parses two PEP 440 version strings and compares them.

package main import ( "fmt" "github.com/aquasecurity/go-pep440-version" ) func main() { v1, _ := pep440.Parse("1.2.3") v2, _ := pep440.Parse("2.0.0") fmt.Println(v1.LessThan(v2)) // true }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
OpenAI (training)
1
Resources
aquasecurity-go-pep440-version — go get aquasecurity-go-pep440-version · libregistry