This is a major release featuring a complete architectural refactor of the Sexagesimal Calculator.
Highlights
- Robust Internals: The core
Sexagesimalclass now uses an immutabledataclassfor its internal representation, making all calculations faster and safer. - Modular Design: The codebase has been separated into logical modules (
arithmetic,conversion,explain), making it much easier to maintain and extend. - New Educational Feature: You can now generate beautiful, step-by-step explanations for all arithmetic operations directly in your terminal. See the documentation for details!
- Improved Reliability: The entire library is now validated by a comprehensive test suite, including property-based testing with
hypothesis, ensuring a high degree of correctness.
Breaking Changes
- The old, capitalized static methods (
Sexagesimal.Multiplication,Sexagesimal.Division, etc.) have been removed. Please use the standard Python operators (*,/) for all calculations.
Full Changelog: v1.1.0...v2.0.0