A Python package to generate next version string
Project description
A Python package to increments module verision numbers.
from nextversion import nextversion
nextversion('1.0a2') # => '1.0a3'
nextversion('v1.0a2') # => '1.0a3' (normalized to compatible version with PEP 386)
nextversion('foo.0.3') # => None (impossible to normalize)
If original version number does not match PEP 386 ,
Next version compatible with PEP 386 is returned if possible,
If impossible, None is returned.
Install
Install from PyPI
$ pip install nextversion
Install from Github repo
$ git clone https://github.com/laysakura/nextversion.git
$ cd nextversion
$ ./setup.py install
See also
Version::Next CPAN module
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nextversion-1.1.dev0.zip
(10.4 kB
view details)
File details
Details for the file nextversion-1.1.dev0.zip
.
File metadata
- Download URL: nextversion-1.1.dev0.zip
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 797e7e9805158482521f7003f1d9a4a3e954b877217b82741d2b571e64f4b08f |
|
MD5 | 40ef1678481fa1066572f17fc163ea30 |
|
BLAKE2b-256 | 5ee3cbbed63689efe5c511e07e92eb7b3ba3a45c4edbbd9e7d21e6b4c450eedb |