Metadata-Version: 2.4
Name: ctkmaker-core
Version: 5.3.1
Summary: A maintained fork of CustomTkinter with composite kwarg sugar and curated bug fixes. Drop-in (`import customtkinter`) for the ekosystema (CTkMessagebox, CTkColorPicker, etc.).
Author-email: Lasha Kandelaki <kandelucky.dev@gmail.com>
License: MIT License
        
        Copyright (c) 2023 Tom Schimansky (original CustomTkinter)
        Copyright (c) 2026 Lasha Kandelaki (ctkmaker-core fork additions)
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/kandelucky/ctkmaker-core
Project-URL: Issues, https://github.com/kandelucky/ctkmaker-core/issues
Project-URL: Changelog, https://github.com/kandelucky/ctkmaker-core/blob/main/CHANGELOG.md
Keywords: customtkinter,tkinter,ui,gui,ctk,ctkmaker
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: Microsoft :: Windows :: Windows 11
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: User Interfaces
Classifier: Topic :: Software Development :: Widget Sets
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Requires-Dist: darkdetect~=0.3.1
Requires-Dist: typing-extensions>=4.4.0
Requires-Dist: packaging
Dynamic: license-file

# ctkmaker-core

A maintained fork of [CustomTkinter](https://github.com/TomSchimansky/CustomTkinter) (v5.2.2 baseline) with:

- **Composite kwarg sugar** — `widget.configure(font_bold=True, font_size=14, label_enabled=False)` works natively, no helper boilerplate in exported code.
- **Curated bug fixes** — cherry-picked from the active fork landscape (Custom2kinter, Stukk).
- **Drop-in module name** — still `import customtkinter as ctk`. CTkMessagebox, CTkColorPicker, CTkScrollableDropdown, CTkColorPalette work unchanged.

## Installation

```bash
pip uninstall customtkinter   # if installed — both share the customtkinter module name
pip install ctkmaker-core
```

```python
import customtkinter as ctk
print(ctk.__fork__)          # "ctkmaker-core"
print(ctk.__fork_version__)  # "5.2.2.1"
print(ctk.__version__)       # "5.2.2"  (upstream baseline)
```

## What's different from vanilla CustomTkinter 5.2.2

Tracked in [`CHANGELOG.md`](CHANGELOG.md) per release. Detailed diff and Precedence Rules per composite live in [`docs/spec/FORK.md`](docs/spec/FORK.md) (Phase 7 — pending).

## Composite kwargs — quick example

```python
# Vanilla CustomTkinter — build the font yourself
font = ctk.CTkFont(family="Inter", size=14, weight="bold")
label = ctk.CTkLabel(parent, text="Hello", font=font)

# ctkmaker-core — composite kwargs as sugar
label = ctk.CTkLabel(parent, text="Hello", font_family="Inter", font_size=14, font_bold=True)

# Mixed — composite kwargs override the font object's matching attributes
font = ctk.CTkFont(family="Inter", size=14, weight="normal")
label = ctk.CTkLabel(parent, text="Hello", font=font, font_bold=True)
# Result: weight="bold" wins; family + size from font object

# Live update — same shape as native kwargs
label.configure(font_bold=False)
```

Native CTk API stays fully accessible. Composite kwargs are **sugar**, never replacement.

## Platform support

- **Primary target**: Windows 11 (development + manual testing)
- **Linux / macOS**: best-effort until dedicated CI runs land (Phase 7.2). PRs welcome.

## License

MIT. See [`LICENSE`](LICENSE) and [`NOTICE`](NOTICE) for attributions to upstream CustomTkinter (Tom Schimansky) and other fork contributors whose work was cherry-picked.

## Project status

Pre-1.0. First release `5.2.2.1`. Develops in parallel with [CTkMaker](https://github.com/kandelucky/ctk_maker) — a visual designer for CustomTkinter UIs.
