Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laysakura/nextversion
A Python package to increments module verision numbers
https://github.com/laysakura/nextversion
Last synced: 17 days ago
JSON representation
A Python package to increments module verision numbers
- Host: GitHub
- URL: https://github.com/laysakura/nextversion
- Owner: laysakura
- License: apache-2.0
- Created: 2013-10-25T09:21:57.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-03-05T01:20:02.000Z (over 6 years ago)
- Last Synced: 2024-10-25T01:53:10.519Z (22 days ago)
- Language: Python
- Homepage: https://pypi.python.org/pypi/nextversion
- Size: 182 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
nextversion
~~~~~~~~~~~
.. image:: https://travis-ci.org/laysakura/nextversion.png?branch=master
:target: https://travis-ci.org/laysakura/nextversion.. image:: https://pypip.in/v/nextversion/badge.png
:target: https://pypi.python.org/pypi/nextversion
:alt: Latest PyPI versionA Python package to increments module verision numbers.
.. code-block:: python
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 `_ ,
1. Next version compatible with `PEP 386 `_ is returned if possible,
2. If impossible, `None` is returned.Install
=======Install from PyPI
-----------------.. code-block:: bash
$ pip install nextversion
Install from Github repo
------------------------.. code-block:: bash
$ git clone https://github.com/laysakura/nextversion.git
$ cd nextversion
$ ./setup.py installSee also
========- `PEP 386 `_
- `Version::Next `_ CPAN moduleAuthor
======Sho Nakatani , a.k.a. @laysakura