A comprehensive calculator suite with GUI and API support
Project description
๐งฎ Corally Calculator Suite
A comprehensive Python calculator suite with modern GUI, CLI tools, and API servers. Features live currency conversion, interest calculations, and automatic operation logging.
โจ Features
- ๐งฎ Basic Calculator - Four operations with automatic CSV logging
- ๐ฑ Currency Converter - Static rates + live API integration (150+ currencies)
- ๐ Interest Calculator - Multiple methods (30/360, act/360, act/365, act/act)
- ๐จ Modern GUI - Dark theme with tabbed interface
- ๐ Live API - Free & paid currency APIs with caching
- ๐ Auto Logging - All operations saved to CSV files
- ๐ฅ๏ธ Multiple Interfaces - GUI, CLI, and API access
๐ Quick Start
Installation from PyPI
pip install corally
Command Line Usage
# Main calculator suite
corally
# Individual tools
corally-calc # Basic calculator
corally-currency # Currency converter
corally-gui # Launch GUI interface
Python Package Usage
from corally import CalculatorCore, CurrencyConverter, InterestCalculator
# Basic calculator
calc = CalculatorCore()
result = calc.add(10, 5) # Returns 15.0
# Currency conversion (static rates)
converter = CurrencyConverter()
usd_amount = converter.eur_to_usd(100)
# Interest calculation
interest_calc = InterestCalculator()
interest = interest_calc.calculate_interest(
principal=1000,
rate=5.0,
days=30,
method="30/360"
)
๐ Project Structure
Calculator Suite/
โโโ ๐ฑ Core Applications
โ โโโ calculator_core.py # Unified core library
โ โโโ calculator_gui.py # Modern GUI application
โ โโโ gui_launcher.py # GUI launcher
โ โโโ Hauptprogramm.py # Console menu
โ โโโ Rechner.py # Console calculator
โ โโโ Waerungsrechner.py # Console currency converter
โ โโโ api.py # Paid API server
โ โโโ api_free.py # Free API server
โ โโโ manage_api_server.py # API management
โ โโโ requirements.txt # Dependencies
โ
โโโ ๐ data/ # Generated data files
โ โโโ rechner_log.csv # Calculator operation logs
โ โโโ cache.csv # API response cache
โ โโโ api.log # Server logs
โ
โโโ ๐ docs/ # Documentation
โ โโโ README.md # Full documentation
โ โโโ QUICK_START_GUIDE.md # Quick setup guide
โ
โโโ ๐งช tests/ # Test files
โ โโโ test_api.py
โ โโโ test_gui.py
โ โโโ test_*.py
โ
โโโ ๐ง debug/ # Debug & development tools
โ โโโ debug_*.py
โ โโโ fix_*.py
โ
โโโ ๐ misc_files/ # Miscellaneous files
โโโ launch_calculator.bat
โโโ RockYourBody.py
โโโ *.pptx
โจ Features
- ๐งฎ Basic Calculator - Four operations with automatic logging
- ๐ฑ Currency Converter - Static + live rates (150+ currencies)
- ๐ Interest Calculator - Multiple calculation methods
- ๐จ Modern GUI - Dark theme with tabbed interface
- ๐ Live API - Free & paid currency conversion
- ๐ Auto Logging - All operations saved to CSV
๐ฆ Installation
pip install -r requirements.txt
๐ง Configuration
For live currency conversion, create .env file:
API_KEY=your_api_key_here
๐ Documentation
- Full Documentation:
docs/README.md - Quick Start Guide:
docs/QUICK_START_GUIDE.md
๐งช Testing
Run tests from the tests/ directory:
python tests/test_gui.py
python tests/test_api.py
๐ ๏ธ Development
Debug tools are available in the debug/ directory for troubleshooting and development.
Version: 2.0 | Python: 3.8+ | License: Educational Use
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file corally-1.0.1.tar.gz.
File metadata
- Download URL: corally-1.0.1.tar.gz
- Upload date:
- Size: 37.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d5b09a42ea3dde28a7b53fe05256e1e6cfc42af18a6d4968b94f682e5e310ee
|
|
| MD5 |
4050d0ce98a6ea44a6cdffba07d510aa
|
|
| BLAKE2b-256 |
83c02c5b488d8b3d2b8ebb7b9c8834873347afbd22ee4cb04ab90f4f64d548e3
|
File details
Details for the file corally-1.0.1-py3-none-any.whl.
File metadata
- Download URL: corally-1.0.1-py3-none-any.whl
- Upload date:
- Size: 27.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
736280d895679ec6eb1d1b028dd1b27010b4c03864d15fc9f834f5304c88d9d0
|
|
| MD5 |
bbadefbdc19e9f2f254a4229d86a2ebb
|
|
| BLAKE2b-256 |
1cb295f02fe4b8a53423797efb0f6d386f3a2b4587bda4a55d78eeb720f1763b
|