__version__ module
The __version__ module serves as the single source of truth for RePORTaLiN’s
version number. This ensures consistent version reporting across all components
of the application.
Version Information for RePORTaLiN
Single source of truth for version number used across the project.
This module is imported by multiple components (setup.py, docs/conf.py, main.py, and all package __init__.py files) to ensure consistent version reporting throughout the application.
Note
When bumping versions, update only this file. The change will automatically propagate to all components that import from here.
- __version__.__version__
Current semantic version following MAJOR.MINOR.PATCH format.
MAJOR: Incompatible API changes
MINOR: New features (backward compatible)
PATCH: Bug fixes (backward compatible)
- Type:
- Version History
- ---------------
- Recent versions (see docs/sphinx/changelog.rst for complete history)
- - **0.8.5** (Oct 28, 2025)
- Type:
Complete API documentation and tmp/ cleanup
- - **0.8.4** (Oct 28, 2025)
- Type:
Logging integration and import consistency fixes
- - **0.8.3** (Oct 28, 2025)
- Type:
Project-wide documentation updates and Makefile enhancements
- - **0.8.2** (Oct 28, 2025)
- Type:
Documentation redundancy removal and reorganization
- - **0.8.1** (Oct 23, 2025)
- Type:
Enhanced version tracking and documentation
- - **0.0.12** (Oct 2025)
- Type:
Added verbose logging, auto-rebuild docs, VerboseLogger class
- - **0.0.11** (Oct 2025)
- Type:
Enhanced main.py with comprehensive docstring (162 lines)
- - **0.0.10** (Oct 2025)
- Type:
Enhanced scripts/utils/__init__.py package API
- - **0.0.9** (Oct 2025)
- Type:
Enhanced scripts/__init__.py with integration examples
- - **0.0.8** (Oct 2025)
- Type:
Enhanced load_dictionary.py with public API and algorithms
- - **0.0.7** (Oct 2025)
- Type:
Enhanced extract_data.py with type hints and examples
- - **0.0.6** (Oct 2025)
- Type:
Enhanced deidentify.py with return type annotations
- - **0.0.5** (Oct 2025)
- Type:
Enhanced country_regulations.py with public API
- - **0.0.4** (Oct 2025)
- Type:
Enhanced logging.py with performance optimizations
- - **0.0.3** (Oct 2025)
- Type:
Enhanced config.py with utility functions
See also
-doc:../docs/sphinx/changelog - Complete version history with detailed changes
-mod:main - Main pipeline entry point using this version
-mod:config - Configuration module using this version
Examples
Import and use the version string:
from __version__ import __version__
print(f"RePORTaLiN version {__version__}")
# Output: RePORTaLiN version 0.8.5
Access from command line:
$ python main.py --version
RePORTaLiN 0.8.5
Usage
The version string can be imported and used in any Python code:
from __version__ import __version__
print(f"Running RePORTaLiN version {__version__}")
This module is automatically imported by:
main.py- For command-line--versionflagdocs/sphinx/conf.py- For documentation version displayscripts/__init__.py- For package version trackingscripts/utils/__init__.py- For utilities version tracking
Version Format
RePORTaLiN follows Semantic Versioning 2.0.0:
MAJOR.MINOR.PATCH
MAJOR: Incremented for incompatible API changes
MINOR: Incremented for new features (backward compatible)
PATCH: Incremented for bug fixes (backward compatible)