Skip to main content

nextversion

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 ,

  1. Next version compatible with PEP 386 is returned if possible,

  2. 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

Author

Sho Nakatani <lay.sakura@gmail.com>, a.k.a. @laysakura

Metadata

Release files for nextversion 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nextversion 1.0
File Size Uploaded Provenance Actions
nextversion-1.0.zip 10.0 kB Without provenance Details for nextversion-1.0.zip

Release files / nextversion-1.0.zip

Download URL nextversion-1.0.zip
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
28b64e35bcf2b6a6565379013bdbfc074232ca47e1b1c60a82c9341cb2e37579
BLAKE2b-256 checksum
How to use checksums
0a07cc68b6dc5bc6d9283a79eb7eee0618a9147dd47c5b0b4ebffe36c799276e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for nextversion 1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page