corally 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,192 @@
1
+ Metadata-Version: 2.4
2
+ Name: corally
3
+ Version: 1.0.0
4
+ Summary: A comprehensive calculator suite with GUI and API support
5
+ Home-page: https://github.com/yourusername/corally
6
+ Author: Corally Team
7
+ Author-email: Corally Team <fleermaxim@gmail.com>
8
+ License: MIT
9
+ Project-URL: Homepage, https://github.com/mephisto-007
10
+ Project-URL: Documentation, https://github.com/mephisto-007/corally#readme
11
+ Project-URL: Repository, https://github.com/mephisto-007/Corally
12
+ Project-URL: Bug Tracker, https://github.com/mephisto-007/corally/issues
13
+ Keywords: calculator,currency,converter,interest,gui,api,finance,math,tkinter,fastapi
14
+ Classifier: Development Status :: 4 - Beta
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Intended Audience :: Education
17
+ Classifier: Intended Audience :: End Users/Desktop
18
+ Classifier: License :: OSI Approved :: MIT License
19
+ Classifier: Operating System :: OS Independent
20
+ Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3.8
22
+ Classifier: Programming Language :: Python :: 3.9
23
+ Classifier: Programming Language :: Python :: 3.10
24
+ Classifier: Programming Language :: Python :: 3.11
25
+ Classifier: Programming Language :: Python :: 3.12
26
+ Classifier: Topic :: Office/Business :: Financial :: Spreadsheet
27
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
28
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
+ Classifier: Topic :: Utilities
30
+ Requires-Python: >=3.8
31
+ Description-Content-Type: text/markdown
32
+ License-File: LICENSE
33
+ Requires-Dist: fastapi>=0.68.0
34
+ Requires-Dist: uvicorn>=0.15.0
35
+ Requires-Dist: httpx>=0.24.0
36
+ Requires-Dist: requests>=2.25.0
37
+ Requires-Dist: python-dotenv>=0.19.0
38
+ Provides-Extra: gui
39
+ Requires-Dist: tkinter; extra == "gui"
40
+ Provides-Extra: dev
41
+ Requires-Dist: pytest>=6.0; extra == "dev"
42
+ Requires-Dist: pytest-cov; extra == "dev"
43
+ Requires-Dist: black; extra == "dev"
44
+ Requires-Dist: flake8; extra == "dev"
45
+ Requires-Dist: mypy; extra == "dev"
46
+ Requires-Dist: build; extra == "dev"
47
+ Requires-Dist: twine; extra == "dev"
48
+ Dynamic: author
49
+ Dynamic: home-page
50
+ Dynamic: license-file
51
+ Dynamic: requires-python
52
+
53
+ # ๐Ÿงฎ Corally Calculator Suite
54
+
55
+ [![PyPI version](https://badge.fury.io/py/corally.svg)](https://badge.fury.io/py/corally)
56
+ [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
57
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
58
+
59
+ A comprehensive Python calculator suite with modern GUI, CLI tools, and API servers. Features live currency conversion, interest calculations, and automatic operation logging.
60
+
61
+ ## โœจ Features
62
+
63
+ - **๐Ÿงฎ Basic Calculator** - Four operations with automatic CSV logging
64
+ - **๐Ÿ’ฑ Currency Converter** - Static rates + live API integration (150+ currencies)
65
+ - **๐Ÿ“ˆ Interest Calculator** - Multiple methods (30/360, act/360, act/365, act/act)
66
+ - **๐ŸŽจ Modern GUI** - Dark theme with tabbed interface
67
+ - **๐ŸŒ Live API** - Free & paid currency APIs with caching
68
+ - **๐Ÿ“Š Auto Logging** - All operations saved to CSV files
69
+ - **๐Ÿ–ฅ๏ธ Multiple Interfaces** - GUI, CLI, and API access
70
+
71
+ ## ๐Ÿš€ Quick Start
72
+
73
+ ### Installation from PyPI
74
+ ```bash
75
+ pip install corally
76
+ ```
77
+
78
+ ### Command Line Usage
79
+ ```bash
80
+ # Main calculator suite
81
+ corally
82
+
83
+ # Individual tools
84
+ corally-calc # Basic calculator
85
+ corally-currency # Currency converter
86
+ corally-gui # Launch GUI interface
87
+ ```
88
+
89
+ ### Python Package Usage
90
+ ```python
91
+ from corally import CalculatorCore, CurrencyConverter, InterestCalculator
92
+
93
+ # Basic calculator
94
+ calc = CalculatorCore()
95
+ result = calc.add(10, 5) # Returns 15.0
96
+
97
+ # Currency conversion (static rates)
98
+ converter = CurrencyConverter()
99
+ usd_amount = converter.eur_to_usd(100)
100
+
101
+ # Interest calculation
102
+ interest_calc = InterestCalculator()
103
+ interest = interest_calc.calculate_interest(
104
+ principal=1000,
105
+ rate=5.0,
106
+ days=30,
107
+ method="30/360"
108
+ )
109
+ ```
110
+
111
+ ## ๐Ÿ“ Project Structure
112
+
113
+ ```
114
+ Calculator Suite/
115
+ โ”œโ”€โ”€ ๐Ÿ“ฑ Core Applications
116
+ โ”‚ โ”œโ”€โ”€ calculator_core.py # Unified core library
117
+ โ”‚ โ”œโ”€โ”€ calculator_gui.py # Modern GUI application
118
+ โ”‚ โ”œโ”€โ”€ gui_launcher.py # GUI launcher
119
+ โ”‚ โ”œโ”€โ”€ Hauptprogramm.py # Console menu
120
+ โ”‚ โ”œโ”€โ”€ Rechner.py # Console calculator
121
+ โ”‚ โ”œโ”€โ”€ Waerungsrechner.py # Console currency converter
122
+ โ”‚ โ”œโ”€โ”€ api.py # Paid API server
123
+ โ”‚ โ”œโ”€โ”€ api_free.py # Free API server
124
+ โ”‚ โ”œโ”€โ”€ manage_api_server.py # API management
125
+ โ”‚ โ””โ”€โ”€ requirements.txt # Dependencies
126
+ โ”‚
127
+ โ”œโ”€โ”€ ๐Ÿ“Š data/ # Generated data files
128
+ โ”‚ โ”œโ”€โ”€ rechner_log.csv # Calculator operation logs
129
+ โ”‚ โ”œโ”€โ”€ cache.csv # API response cache
130
+ โ”‚ โ””โ”€โ”€ api.log # Server logs
131
+ โ”‚
132
+ โ”œโ”€โ”€ ๐Ÿ“š docs/ # Documentation
133
+ โ”‚ โ”œโ”€โ”€ README.md # Full documentation
134
+ โ”‚ โ””โ”€โ”€ QUICK_START_GUIDE.md # Quick setup guide
135
+ โ”‚
136
+ โ”œโ”€โ”€ ๐Ÿงช tests/ # Test files
137
+ โ”‚ โ”œโ”€โ”€ test_api.py
138
+ โ”‚ โ”œโ”€โ”€ test_gui.py
139
+ โ”‚ โ””โ”€โ”€ test_*.py
140
+ โ”‚
141
+ โ”œโ”€โ”€ ๐Ÿ”ง debug/ # Debug & development tools
142
+ โ”‚ โ”œโ”€โ”€ debug_*.py
143
+ โ”‚ โ””โ”€โ”€ fix_*.py
144
+ โ”‚
145
+ โ””โ”€โ”€ ๐Ÿ“ misc_files/ # Miscellaneous files
146
+ โ”œโ”€โ”€ launch_calculator.bat
147
+ โ”œโ”€โ”€ RockYourBody.py
148
+ โ””โ”€โ”€ *.pptx
149
+ ```
150
+
151
+ ## โœจ Features
152
+
153
+ - **๐Ÿงฎ Basic Calculator** - Four operations with automatic logging
154
+ - **๐Ÿ’ฑ Currency Converter** - Static + live rates (150+ currencies)
155
+ - **๐Ÿ“ˆ Interest Calculator** - Multiple calculation methods
156
+ - **๐ŸŽจ Modern GUI** - Dark theme with tabbed interface
157
+ - **๐ŸŒ Live API** - Free & paid currency conversion
158
+ - **๐Ÿ“Š Auto Logging** - All operations saved to CSV
159
+
160
+ ## ๐Ÿ“ฆ Installation
161
+
162
+ ```bash
163
+ pip install -r requirements.txt
164
+ ```
165
+
166
+ ## ๐Ÿ”ง Configuration
167
+
168
+ For live currency conversion, create `.env` file:
169
+ ```env
170
+ API_KEY=your_api_key_here
171
+ ```
172
+
173
+ ## ๐Ÿ“– Documentation
174
+
175
+ - **Full Documentation**: `docs/README.md`
176
+ - **Quick Start Guide**: `docs/QUICK_START_GUIDE.md`
177
+
178
+ ## ๐Ÿงช Testing
179
+
180
+ Run tests from the tests/ directory:
181
+ ```bash
182
+ python tests/test_gui.py
183
+ python tests/test_api.py
184
+ ```
185
+
186
+ ## ๐Ÿ› ๏ธ Development
187
+
188
+ Debug tools are available in the debug/ directory for troubleshooting and development.
189
+
190
+ ---
191
+
192
+ **Version**: 2.0 | **Python**: 3.8+ | **License**: Educational Use
@@ -0,0 +1,19 @@
1
+ corally/__init__.py,sha256=B26PhS3NNQ0Ldl1LgqfzlxQ3xbb0_qwQFy128v94Oeo,1005
2
+ corally/api/__init__.py,sha256=IpY2HvgsJ7mKXDCCsul3ZCC9bqz7718kjuPeTefIxuE,238
3
+ corally/api/free_server.py,sha256=SBWdnhGwzoDDXtZlB7iOAS3c55vv4XFB2jvH4dt7nUw,8641
4
+ corally/api/server.py,sha256=a8a9asQEXP8VNS4G0hs80sC7agCRkgGpoJvR9aYbf9Q,5925
5
+ corally/cli/__init__.py,sha256=XqIi7WVZZa66W5u4V6Hs1meRPusNyb6I2m_ZpzkUIO8,229
6
+ corally/cli/calculator.py,sha256=0rzLNSvrVDe_f8RURReTRxcBI9O1uLi-nTEKUgLtPIw,1650
7
+ corally/cli/currency.py,sha256=8Une77gr66zx_vRJtyndHa0iv7ZinaQ1RgiIVDoePE8,1990
8
+ corally/cli/main.py,sha256=h71eozQ5_tqQ1_j6VYm9KvNhVrOFr1z6Of-Gheqh9ng,6442
9
+ corally/core/__init__.py,sha256=vDmg7_-QKYxJJmLODQQX4IFEZXYgiwWPxLnJ_42p3lQ,215
10
+ corally/core/calculator.py,sha256=d-zBYWxHveiI7IuKR15E6phLOQDqXLC71QV2-fzt-AE,13113
11
+ corally/gui/__init__.py,sha256=55yCCiVxFneCTTTA7Jf6YDOAtrLduJLtBhahdxCC-RM,182
12
+ corally/gui/launcher.py,sha256=nTIF4pxIOyAxTwTIRwCT59CjGD50FvEstgWFzEh4nFk,3953
13
+ corally/gui/main.py,sha256=IhIYuyrazgTalo_YwLnvj3vEKmG0jkX9ubuagb9fKFM,37660
14
+ corally-1.0.0.dist-info/licenses/LICENSE,sha256=MKGM14MQzrnYZTWSHIMu7vWKuqsJXJenoEgWB13aZyg,1069
15
+ corally-1.0.0.dist-info/METADATA,sha256=Rj-ICJpVEw41vbfzh0fPXDQ3jR_p6NLT-VbSUG9t01A,6564
16
+ corally-1.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
+ corally-1.0.0.dist-info/entry_points.txt,sha256=iujKCtIJ8NP1y0hHvSiCGFXntjVsb1U4Ru4p68WiA10,206
18
+ corally-1.0.0.dist-info/top_level.txt,sha256=_MVFg963_bFpH5c6s_BJJwLIV67_cqSZ9rnk3-D4hvU,8
19
+ corally-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,5 @@
1
+ [console_scripts]
2
+ corally = corally.cli.main:main_cli
3
+ corally-calc = corally.cli.calculator:calculator_cli
4
+ corally-currency = corally.cli.currency:currency_cli
5
+ corally-gui = corally.gui.launcher:launch_gui
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Corally Team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ corally