Skip to main content

Ratio versioning checker.

Quickstart

Installation

Raver can be installed using pip install raver for any Python version >=3.9. Or, for Poetry managed projects, use poetry add -D raver to add it as a development dependency.

Using raver

To just check if Raver can fetch and check your current version, use raver in your favorite terminal while in your project directory (where pyproject.toml is).

Raver detects any Python module that is set up using Poetry by default. It will then check if the version in the module/package’s main file contains a __version__ = "..." line that matches the version in your pyproject.toml file.

Check w.r.t. git reference

To check the current version versus a git branch as reference (e.g. origin/master), use:

raver --ref origin/master

where origin/master is the reference branch. It then performs a comparison using git diff to check for committed changes. -r works as well as a shorthand.

Check changelog

To check whether a changelog entry exists for the current version. There are two supported changelog methods, file and directory.

raver --changelog ./path/to/changelog.rst

where the changelog file can be of any extension. Raver checks whether the earlier detected Python file version (only {major}.{minor}.{patch}, no metadata) is included in the document.

raver --changelog ./path/to/changelog/

is also allowed, where the changelog directory has to contain an entry in the format of v{major}.{minor}.{patch}* of the current version (the star is a glob wildcard).

TOML configuration

Raver supports TOML configuration! It takes precedence over any command-line parameters. The following would be a sensible default for raver:

[tool.raver]
module = "raver"  # Change to your package name or remove to use Poetry's entry.
reference = "origin/main"
changelog = "./doc/source/changelog.rst"
debug = false

Developer guide

Python packaging information

This project is packaged using poetry. Packaging information as well as dependencies are stored in pyproject.toml.

Installing the project and its development dependencies can be done using poetry install.

Versioning

This project uses semantic versioning. Version increments are checked using Raver.

Changelog

Changelog format as described by https://keepachangelog.com/ has been adopted.

See Changelog.

Release files for raver 3.0.2

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

Source distribution (sdist)

Source distribution for raver 3.0.2
File Size Uploaded
raver-3.0.2.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for raver 3.0.2
File Interpreter ABI Platform
raver-3.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.8 kB

Release files / raver-3.0.2.tar.gz

Download URL raver-3.0.2.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2a129373e591e7f2e74cc367960533c485abebe5dc2870805242210e6f64c5d5
BLAKE2b-256 checksum
How to use checksums
8e7b724f0b3136d8b1d2dbc6831e86366c2eef1a65aa59b2f2abec8be8f55440
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.6 Linux/5.4.109+

Release files / raver-3.0.2-py3-none-any.whl

Download URL raver-3.0.2-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa371de0d27bc65ab0fd403a6489975f8f0dda8198e4e0b7fc08b07c876fb29b
BLAKE2b-256 checksum
How to use checksums
9f321cebe4e644a13cc2f736ffea51e30b0375aa0ec308f0f723c81a17b397b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.6 Linux/5.4.109+

Release history Release notifications | RSS feed

This release

3.0.2 This release

2 release files

3.0.1

2 release files

3.0.0

2 release files

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