Skip to content

lambdacasserole/pep440conv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pep440conv

Simple stdin/stdout-based utilities for converting to and from PEP-440 semver strings.

Requirements

  • Node.js 14 or newer

Installation

The pep440conv utility can be installed using npm:

npm -g pep440conv

Usage

Usage is very straightforward. Once the packge is installed frompep440 and topep440 become available from the command line:

$ # Converting from a regular semver string to to PEP-440.
$ echo '1.0.0-rc.1' | topep440
1.0.0-rc1

$ # Converting from PEP-440 to a regular semver string.
$ echo '1.0.0-rc1' | frompep440
1.0.0-rc.1

License

MIT © lambdacasserole.

About

Simple stdin/stdout-based utilities for converting to and from PEP-440 semver strings.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published