Dollarwave

Latest version: v2.0.6

Safety actively analyzes 702201 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

25.86

9.76

Calculate adjusted value
adjusted_amount = inflation_calculator.calculate_adjusted_value(amount=13, original_year=1991, target_year=2021)
print(f"${13} from {1991} is equivalent to ${adjusted_amount:.2f} in {2021} dollars.")
Output:
$13 from 1991 is equivalent to $25.86 in 2021 dollars.

8.044961340206186

Installation

To install the `dollarwave` library, use pip:

bash
pip install dollarwave

5.03

Calculate historical comparison
print(inflation_calculator.comparison(amount=10, n_years=3, plot=False))
Output:
$10 from 2021 is equivalent to $8.68 in 2024 dollars.
$10 from 2022 is equivalent to $9.38 in 2024 dollars.
$10 from 2023 is equivalent to $9.76 in 2024 dollars.

2.0.6

⚠️ **This project is deprecated and will no longer be updated. Please use [quantsumore](https://pypi.org/project/quantsumore) instead.**

2.0.5

Bug Fixes
- **GUI Error Fix**: Resolved an issue where the application would throw a `TclError` related to missing or undefined bitmap icons. The error occurred when the application tried to load an icon file (`icon.ico`) that was either not found or improperly referenced.
- **Cause**: The icon file path was either incorrect or the `.ico` file was not packaged correctly within the library. This caused the program to raise an exception during GUI initialization, leading to a crash.
- **Resolution**:
- Ensured that the `icon.ico` file is correctly included in the package by updating the `setup.py` file and the `MANIFEST.in` to include all assets (including the icon).
- Added proper error handling in the GUI to ensure that the application defaults to a placeholder icon if the custom icon is not found.
- Updated package configuration to guarantee that all required assets (e.g., `assets/icon.ico`) are included in the distribution.

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.