deckbuilder 1.0.0b1__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.
- deckbuilder/__init__.py +22 -0
- deckbuilder/cli.py +544 -0
- deckbuilder/cli_tools.py +739 -0
- deckbuilder/engine.py +1546 -0
- deckbuilder/image_handler.py +291 -0
- deckbuilder/layout_intelligence.json +288 -0
- deckbuilder/layout_intelligence.py +398 -0
- deckbuilder/naming_conventions.py +541 -0
- deckbuilder/placeholder_types.py +101 -0
- deckbuilder/placekitten_integration.py +280 -0
- deckbuilder/structured_frontmatter.py +862 -0
- deckbuilder/table_styles.py +37 -0
- deckbuilder-1.0.0b1.dist-info/METADATA +378 -0
- deckbuilder-1.0.0b1.dist-info/RECORD +37 -0
- deckbuilder-1.0.0b1.dist-info/WHEEL +5 -0
- deckbuilder-1.0.0b1.dist-info/entry_points.txt +3 -0
- deckbuilder-1.0.0b1.dist-info/licenses/LICENSE +201 -0
- deckbuilder-1.0.0b1.dist-info/top_level.txt +4 -0
- mcp_server/__init__.py +9 -0
- mcp_server/content_analysis.py +436 -0
- mcp_server/content_optimization.py +822 -0
- mcp_server/layout_recommendations.py +595 -0
- mcp_server/main.py +550 -0
- mcp_server/tools.py +492 -0
- placekitten/README.md +561 -0
- placekitten/__init__.py +44 -0
- placekitten/core.py +184 -0
- placekitten/filters.py +183 -0
- placekitten/images/ACuteKitten-1.png +0 -0
- placekitten/images/ACuteKitten-2.png +0 -0
- placekitten/images/ACuteKitten-3.png +0 -0
- placekitten/images/TwoKitttens Playing-1.png +0 -0
- placekitten/images/TwoKitttens Playing-2.png +0 -0
- placekitten/images/TwoKitttensSleeping-1.png +0 -0
- placekitten/processor.py +262 -0
- placekitten/smart_crop.py +314 -0
- shared/__init__.py +9 -0
@@ -0,0 +1,37 @@
|
|
1
|
+
"""
|
2
|
+
Table styling definitions for PowerPoint presentations.
|
3
|
+
|
4
|
+
This module contains all the predefined table styles including header styles,
|
5
|
+
row styles, and border styles that can be applied to tables in presentations.
|
6
|
+
"""
|
7
|
+
|
8
|
+
from pptx.dml.color import RGBColor
|
9
|
+
from pptx.util import Cm
|
10
|
+
|
11
|
+
# Table header styling definitions
|
12
|
+
TABLE_HEADER_STYLES = {
|
13
|
+
"dark_blue_white_text": {"bg": RGBColor(68, 114, 196), "text": RGBColor(255, 255, 255)},
|
14
|
+
"light_blue_dark_text": {"bg": RGBColor(217, 237, 255), "text": RGBColor(51, 51, 51)},
|
15
|
+
"dark_gray_white_text": {"bg": RGBColor(102, 102, 102), "text": RGBColor(255, 255, 255)},
|
16
|
+
"light_gray_dark_text": {"bg": RGBColor(242, 242, 242), "text": RGBColor(51, 51, 51)},
|
17
|
+
"white_dark_text": {"bg": RGBColor(255, 255, 255), "text": RGBColor(51, 51, 51)},
|
18
|
+
"accent_color_white_text": {"bg": RGBColor(68, 114, 196), "text": RGBColor(255, 255, 255)},
|
19
|
+
}
|
20
|
+
|
21
|
+
# Table row styling definitions
|
22
|
+
TABLE_ROW_STYLES = {
|
23
|
+
"alternating_light_gray": {"primary": RGBColor(255, 255, 255), "alt": RGBColor(248, 248, 248)},
|
24
|
+
"alternating_light_blue": {"primary": RGBColor(255, 255, 255), "alt": RGBColor(240, 248, 255)},
|
25
|
+
"solid_white": {"primary": RGBColor(255, 255, 255), "alt": RGBColor(255, 255, 255)},
|
26
|
+
"solid_light_gray": {"primary": RGBColor(248, 248, 248), "alt": RGBColor(248, 248, 248)},
|
27
|
+
"no_fill": {"primary": None, "alt": None},
|
28
|
+
}
|
29
|
+
|
30
|
+
# Table border styling definitions
|
31
|
+
TABLE_BORDER_STYLES = {
|
32
|
+
"thin_gray": {"width": Cm(0.025), "color": RGBColor(166, 166, 166), "style": "all"},
|
33
|
+
"thick_gray": {"width": Cm(0.05), "color": RGBColor(166, 166, 166), "style": "all"},
|
34
|
+
"header_only": {"width": Cm(0.025), "color": RGBColor(166, 166, 166), "style": "header"},
|
35
|
+
"outer_only": {"width": Cm(0.025), "color": RGBColor(166, 166, 166), "style": "outer"},
|
36
|
+
"no_borders": {"width": Cm(0), "color": None, "style": "none"},
|
37
|
+
}
|
@@ -0,0 +1,378 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: deckbuilder
|
3
|
+
Version: 1.0.0b1
|
4
|
+
Summary: Intelligent PowerPoint presentation generation with content-first design philosophy, PlaceKitten image processing, and comprehensive CLI tools
|
5
|
+
Author: Bruce McLeod
|
6
|
+
License: Apache-2.0
|
7
|
+
Project-URL: Homepage, https://github.com/teknologika/deckbuilder
|
8
|
+
Project-URL: Repository, https://github.com/teknologika/deckbuilder.git
|
9
|
+
Project-URL: Issues, https://github.com/teknologika/deckbuilder/issues
|
10
|
+
Project-URL: Documentation, https://github.com/teknologika/deckbuilder/blob/main/README.md
|
11
|
+
Project-URL: Changelog, https://github.com/teknologika/deckbuilder/releases
|
12
|
+
Project-URL: Bug Reports, https://github.com/teknologika/deckbuilder/issues
|
13
|
+
Project-URL: Source Code, https://github.com/teknologika/deckbuilder
|
14
|
+
Keywords: mcp,powerpoint,presentations,automation,content-first,template-management,image-processing,cli
|
15
|
+
Classifier: Development Status :: 4 - Beta
|
16
|
+
Classifier: Intended Audience :: Developers
|
17
|
+
Classifier: Intended Audience :: End Users/Desktop
|
18
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
23
|
+
Classifier: Topic :: Office/Business :: Office Suites
|
24
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
25
|
+
Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
|
26
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
27
|
+
Classifier: Environment :: Console
|
28
|
+
Classifier: Operating System :: OS Independent
|
29
|
+
Requires-Python: >=3.11
|
30
|
+
Description-Content-Type: text/markdown
|
31
|
+
License-File: LICENSE
|
32
|
+
Requires-Dist: fastmcp>=0.3.0
|
33
|
+
Requires-Dist: python-pptx>=1.0.0
|
34
|
+
Requires-Dist: python-dotenv>=1.0.0
|
35
|
+
Requires-Dist: pyyaml>=6.0.0
|
36
|
+
Requires-Dist: opencv-python>=4.8.0
|
37
|
+
Requires-Dist: Pillow>=10.0.0
|
38
|
+
Requires-Dist: numpy>=1.24.0
|
39
|
+
Provides-Extra: test
|
40
|
+
Requires-Dist: pytest>=7.0.0; extra == "test"
|
41
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == "test"
|
42
|
+
Requires-Dist: pytest-mock>=3.10.0; extra == "test"
|
43
|
+
Requires-Dist: pytest-xdist>=3.0.0; extra == "test"
|
44
|
+
Requires-Dist: pytest-html>=3.0.0; extra == "test"
|
45
|
+
Provides-Extra: lint
|
46
|
+
Requires-Dist: flake8>=5.0.0; extra == "lint"
|
47
|
+
Requires-Dist: bandit>=1.7.5; extra == "lint"
|
48
|
+
Provides-Extra: format
|
49
|
+
Requires-Dist: black>=22.0.0; extra == "format"
|
50
|
+
Provides-Extra: dev
|
51
|
+
Requires-Dist: deckbuilder[format,lint,test]; extra == "dev"
|
52
|
+
Requires-Dist: tomli>=2.0.1; extra == "dev"
|
53
|
+
Requires-Dist: black[jupyter]>=24.4.0; extra == "dev"
|
54
|
+
Dynamic: license-file
|
55
|
+
|
56
|
+
# 🎯 Deckbuilder
|
57
|
+
|
58
|
+
[](https://badge.fury.io/py/deckbuilder)
|
59
|
+
[](https://github.com/teknologika/deckbuilder/actions/workflows/test.yml)
|
60
|
+
[](src/placekitten/README.md)
|
61
|
+
[](#development)
|
62
|
+
[](https://www.python.org/downloads/)
|
63
|
+
|
64
|
+
> **Transform LLMs from layout pickers into presentation consultants**
|
65
|
+
|
66
|
+
Deckbuilder is a powerful Python library and MCP (Model Context Protocol) server for intelligent PowerPoint presentation generation. Built with a **content-first design philosophy**, Deckbuilder transforms how AI creates presentations by focusing on *what you want to communicate* rather than just *what layouts exist*.
|
67
|
+
|
68
|
+
## ✨ Key Features
|
69
|
+
|
70
|
+
### 🚀 **One-Shot Presentation Generation**
|
71
|
+
Create complete PowerPoint presentations from JSON or Markdown with YAML frontmatter in a single command.
|
72
|
+
|
73
|
+
### 🎨 **Rich Content Support**
|
74
|
+
- **Advanced Formatting**: `**bold**`, `*italic*`, `___underline___`, `***bold italic***`
|
75
|
+
- **Mixed Content**: Seamlessly combine headings, paragraphs, and bullet points
|
76
|
+
- **Professional Tables**: Custom styling with themes and colors
|
77
|
+
- **50+ Business Layouts**: Progressive library of professional presentation templates
|
78
|
+
|
79
|
+
### 🖼️ **Smart Image Processing**
|
80
|
+
- **PlaceKitten Integration**: Professional placeholder generation with computer vision
|
81
|
+
- **Intelligent Fallbacks**: Automatic handling of missing/invalid images
|
82
|
+
- **Smart Cropping**: Face detection and rule-of-thirds composition
|
83
|
+
- **Professional Filters**: 10+ effects optimized for business presentations
|
84
|
+
- **Performance Optimized**: <2s generation, intelligent caching
|
85
|
+
|
86
|
+
### ⚡ **Enhanced CLI Experience**
|
87
|
+
- **One-Command Setup**: `deckbuilder init` creates templates and configuration
|
88
|
+
- **Smart Defaults**: Intuitive file paths and environment resolution
|
89
|
+
- **Tab Completion**: Bash completion for commands, templates, and files
|
90
|
+
- **Global Arguments**: `-t/--templates` and `-o/--output` for custom paths
|
91
|
+
- **Template Management**: Analyze, validate, and enhance PowerPoint templates
|
92
|
+
|
93
|
+
### 🎯 **Content-First Intelligence**
|
94
|
+
Instead of asking "*what layouts exist?*", Deckbuilder asks "*what do you want to communicate?*" This transforms the system from a layout picker into an intelligent presentation consultant.
|
95
|
+
|
96
|
+
## 🚀 Quick Start
|
97
|
+
|
98
|
+
### Installation
|
99
|
+
|
100
|
+
```bash
|
101
|
+
pip install deckbuilder
|
102
|
+
```
|
103
|
+
|
104
|
+
### CLI Usage (Standalone)
|
105
|
+
|
106
|
+
```bash
|
107
|
+
# Initialize templates (one-time setup)
|
108
|
+
deckbuilder init
|
109
|
+
|
110
|
+
# Create presentation from markdown
|
111
|
+
deckbuilder create presentation.md
|
112
|
+
|
113
|
+
# Template management
|
114
|
+
deckbuilder analyze default --verbose
|
115
|
+
deckbuilder templates
|
116
|
+
|
117
|
+
# Image generation
|
118
|
+
deckbuilder image 800 600 --filter grayscale
|
119
|
+
|
120
|
+
# Get help
|
121
|
+
deckbuilder --help
|
122
|
+
```
|
123
|
+
|
124
|
+
### MCP Server (Claude Desktop)
|
125
|
+
|
126
|
+
Add to your Claude Desktop configuration:
|
127
|
+
|
128
|
+
```json
|
129
|
+
{
|
130
|
+
"mcpServers": {
|
131
|
+
"deckbuilder": {
|
132
|
+
"command": "deckbuilder-server",
|
133
|
+
"env": {
|
134
|
+
"DECK_TEMPLATE_FOLDER": "/Users/username/Documents/Deckbuilder/Templates",
|
135
|
+
"DECK_TEMPLATE_NAME": "default",
|
136
|
+
"DECK_OUTPUT_FOLDER": "/Users/username/Documents/Deckbuilder"
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
```
|
142
|
+
|
143
|
+
## 📝 Usage Examples
|
144
|
+
|
145
|
+
### Markdown with Frontmatter (Recommended)
|
146
|
+
|
147
|
+
```markdown
|
148
|
+
---
|
149
|
+
layout: Title Slide
|
150
|
+
---
|
151
|
+
# **Deckbuilder** Presentation
|
152
|
+
## Creating presentations with *content-first* intelligence
|
153
|
+
|
154
|
+
---
|
155
|
+
layout: Four Columns
|
156
|
+
title: Feature Comparison
|
157
|
+
columns:
|
158
|
+
- title: Performance
|
159
|
+
content: "**Fast** processing with optimized algorithms"
|
160
|
+
- title: Security
|
161
|
+
content: "***Enterprise-grade*** encryption and compliance"
|
162
|
+
- title: Usability
|
163
|
+
content: "*Intuitive* interface with minimal learning curve"
|
164
|
+
- title: Cost
|
165
|
+
content: "___Transparent___ pricing with proven ROI"
|
166
|
+
---
|
167
|
+
|
168
|
+
---
|
169
|
+
layout: Picture with Caption
|
170
|
+
title: Market Analysis
|
171
|
+
media:
|
172
|
+
image_path: "charts/revenue_growth.png" # Auto-fallback to PlaceKitten if missing
|
173
|
+
alt_text: "Revenue growth chart"
|
174
|
+
caption: "**Q4 Revenue Growth** - 23% increase"
|
175
|
+
---
|
176
|
+
```
|
177
|
+
|
178
|
+
### JSON Format (Programmatic)
|
179
|
+
|
180
|
+
```json
|
181
|
+
{
|
182
|
+
"presentation": {
|
183
|
+
"slides": [
|
184
|
+
{
|
185
|
+
"type": "Title Slide",
|
186
|
+
"title": "**Deckbuilder** Presentation",
|
187
|
+
"subtitle": "Content-first presentation generation"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"type": "Title and Content",
|
191
|
+
"title": "Key Benefits",
|
192
|
+
"content": [
|
193
|
+
"**Intelligent** content analysis",
|
194
|
+
"*Semantic* layout recommendations",
|
195
|
+
"***Professional*** template system"
|
196
|
+
]
|
197
|
+
}
|
198
|
+
]
|
199
|
+
}
|
200
|
+
}
|
201
|
+
```
|
202
|
+
|
203
|
+
### Python API
|
204
|
+
|
205
|
+
```python
|
206
|
+
from deckbuilder import Deckbuilder
|
207
|
+
|
208
|
+
# Initialize engine
|
209
|
+
db = Deckbuilder()
|
210
|
+
|
211
|
+
# Create from markdown
|
212
|
+
result = db.create_presentation_from_markdown(
|
213
|
+
markdown_content=open("presentation.md").read(),
|
214
|
+
fileName="My_Presentation"
|
215
|
+
)
|
216
|
+
|
217
|
+
# Create from JSON
|
218
|
+
result = db.create_presentation(
|
219
|
+
json_data={"presentation": {"slides": [...]}},
|
220
|
+
fileName="JSON_Presentation"
|
221
|
+
)
|
222
|
+
|
223
|
+
print(f"✅ Created: {result}")
|
224
|
+
```
|
225
|
+
|
226
|
+
## 🖼️ PlaceKitten Image Processing
|
227
|
+
|
228
|
+
**Smart Image Fallback System** - When images are missing or invalid, PlaceKitten automatically generates professional placeholders:
|
229
|
+
|
230
|
+
```python
|
231
|
+
from placekitten import PlaceKitten
|
232
|
+
|
233
|
+
pk = PlaceKitten()
|
234
|
+
placeholder = (pk.generate(1920, 1080, image_id=1)
|
235
|
+
.smart_crop(1920, 1080)
|
236
|
+
.apply_filter("grayscale")
|
237
|
+
.save("professional_placeholder.jpg"))
|
238
|
+
```
|
239
|
+
|
240
|
+
**Features:**
|
241
|
+
- ✅ **File Validation**: Checks image existence, format, and accessibility
|
242
|
+
- ✅ **Professional Styling**: Automatic grayscale filtering for business context
|
243
|
+
- ✅ **Smart Cropping**: Computer vision-based cropping with face detection
|
244
|
+
- ✅ **Performance Optimized**: Intelligent caching prevents duplicate processing
|
245
|
+
- ✅ **Seamless Integration**: Zero user intervention required
|
246
|
+
|
247
|
+
## 🏗️ Architecture
|
248
|
+
|
249
|
+
```
|
250
|
+
┌─────────────────────────────────────────────────────┐
|
251
|
+
│ MCP Server Layer │
|
252
|
+
│ ┌─────────────────┐ ┌────────────────────┐ │
|
253
|
+
│ │ FastMCP │ │ Content-First │ │
|
254
|
+
│ │ Endpoints │◄──────►│ MCP Tools │ │
|
255
|
+
│ └────────┬────────┘ └────────────────────┘ │
|
256
|
+
│ │ │
|
257
|
+
├───────────┴─────────────────────────────────────────┤
|
258
|
+
│ Presentation Engine │
|
259
|
+
│ ┌─────────────────┐ ┌────────────────────┐ │
|
260
|
+
│ │ PowerPoint │ │ Template │ │
|
261
|
+
│ │ Generation │◄──────►│ Management │ │
|
262
|
+
│ └────────┬────────┘ └────────────────────┘ │
|
263
|
+
│ │ │
|
264
|
+
├───────────┴─────────────────────────────────────────┤
|
265
|
+
│ Content Intelligence │
|
266
|
+
│ ┌─────────────────┐ �┌────────────────────┐ │
|
267
|
+
│ │ Layout │ │ PlaceKitten │ │
|
268
|
+
│ │ Intelligence │◄──────►│ Processing │ │
|
269
|
+
│ └─────────────────┘ └────────────────────┘ │
|
270
|
+
└─────────────────────────────────────────────────────┘
|
271
|
+
```
|
272
|
+
|
273
|
+
## 🎨 Supported Layouts
|
274
|
+
|
275
|
+
### ✅ Currently Implemented
|
276
|
+
- **Title Slide** - Opening slide with title and subtitle
|
277
|
+
- **Title and Content** - Rich text with headings, paragraphs, bullets
|
278
|
+
- **Four Columns** - Quad content areas with structured frontmatter
|
279
|
+
- **Two Content** - Side-by-side content areas
|
280
|
+
- **Comparison** - Left vs right comparison layout
|
281
|
+
- **Table** - Data tables with professional styling
|
282
|
+
- **Section Header** - Divider slides between topics
|
283
|
+
- **Picture with Caption** - Image-focused slides with smart fallbacks
|
284
|
+
|
285
|
+
### 🚧 Progressive Implementation (50+ Planned)
|
286
|
+
- Big Number displays, SWOT Analysis, Feature Matrix
|
287
|
+
- Timeline, Process Flow, Organizational Chart
|
288
|
+
- Dashboard, Metrics, Financial layouts
|
289
|
+
- And 40+ more business presentation layouts
|
290
|
+
|
291
|
+
See [Supported Templates](docs/Features/SupportedTemplates.md) for complete roadmap.
|
292
|
+
|
293
|
+
## 🛠️ Development
|
294
|
+
|
295
|
+
### Prerequisites
|
296
|
+
- Python 3.11+
|
297
|
+
- Virtual environment (recommended)
|
298
|
+
|
299
|
+
### Development Install
|
300
|
+
|
301
|
+
```bash
|
302
|
+
git clone https://github.com/teknologika/deckbuilder.git
|
303
|
+
cd deckbuilder
|
304
|
+
python3 -m venv .venv
|
305
|
+
source .venv/bin/activate # Windows: .venv\Scripts\activate
|
306
|
+
pip install -e .[dev]
|
307
|
+
```
|
308
|
+
|
309
|
+
### Code Quality Standards
|
310
|
+
|
311
|
+
```bash
|
312
|
+
# Format code (required before commits)
|
313
|
+
black --line-length 100 src/
|
314
|
+
|
315
|
+
# Check linting (required)
|
316
|
+
flake8 src/ tests/ --max-line-length=100 --ignore=E203,W503,E501
|
317
|
+
|
318
|
+
# Run tests (required)
|
319
|
+
pytest tests/
|
320
|
+
```
|
321
|
+
|
322
|
+
### Contributing
|
323
|
+
|
324
|
+
1. Fork the repository
|
325
|
+
2. Create feature branch: `git checkout -b feature-name`
|
326
|
+
3. Follow code quality standards
|
327
|
+
4. Add comprehensive tests
|
328
|
+
5. Submit pull request with clear description
|
329
|
+
|
330
|
+
## 📚 Documentation
|
331
|
+
|
332
|
+
- **[PLANNING.md](PLANNING.md)** - Project architecture and design principles
|
333
|
+
- **[API Documentation](docs/API.md)** - Complete API reference
|
334
|
+
- **[Feature Specifications](docs/Features/)** - Detailed feature documentation
|
335
|
+
- **[PlaceKitten Library](src/placekitten/README.md)** - Image processing documentation
|
336
|
+
|
337
|
+
## 🔧 Technology Stack
|
338
|
+
|
339
|
+
- **Python 3.11+** with modern type hints and comprehensive error handling
|
340
|
+
- **FastMCP** for Model Context Protocol server implementation
|
341
|
+
- **python-pptx** for PowerPoint generation and template manipulation
|
342
|
+
- **PyYAML** for structured frontmatter processing
|
343
|
+
- **OpenCV + Pillow** for computer vision and image processing
|
344
|
+
- **pytest** with 108 comprehensive tests including image integration
|
345
|
+
|
346
|
+
## 📋 Troubleshooting
|
347
|
+
|
348
|
+
**Template not found:**
|
349
|
+
```bash
|
350
|
+
# Create templates folder
|
351
|
+
deckbuilder init
|
352
|
+
|
353
|
+
# Check configuration
|
354
|
+
deckbuilder config
|
355
|
+
```
|
356
|
+
|
357
|
+
**Permission denied when saving:**
|
358
|
+
- Verify output folder has write permissions
|
359
|
+
- Ensure files aren't open in PowerPoint
|
360
|
+
|
361
|
+
**MCP connection failures:**
|
362
|
+
- Verify virtual environment is activated
|
363
|
+
- Check Python path in Claude Desktop config
|
364
|
+
- Ensure all dependencies are installed
|
365
|
+
|
366
|
+
## 📄 License
|
367
|
+
|
368
|
+
Apache License 2.0 - See [LICENSE](LICENSE) file for details.
|
369
|
+
|
370
|
+
---
|
371
|
+
|
372
|
+
<div align="center">
|
373
|
+
|
374
|
+
**Built with ❤️ for intelligent presentation generation**
|
375
|
+
|
376
|
+
[🚀 Get Started](#quick-start) • [📖 Documentation](docs/) • [🐛 Report Issues](https://github.com/teknologika/deckbuilder/issues)
|
377
|
+
|
378
|
+
</div>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
deckbuilder/__init__.py,sha256=YvopNLFaHG3UN2PW51Mw9Zd1JUb586P6hHjQWBXcLBk,554
|
2
|
+
deckbuilder/cli.py,sha256=Zr44KCbrCC_dXcskVWopL-PWKcGs4XVOMNEJUMzq9J0,20711
|
3
|
+
deckbuilder/cli_tools.py,sha256=d5GN0YfxwKAzUZx00NWEKKBNfSDv4oqkGLKVm9Pe9pM,27915
|
4
|
+
deckbuilder/engine.py,sha256=vxFmqw85VbwA_7qUFfEFZ4vK0vl4mBH1JL81M9YRwl0,63684
|
5
|
+
deckbuilder/image_handler.py,sha256=PblVyBQengY3n28DIGVB2a7NPsCqM-0d5n65i_D5hKc,9455
|
6
|
+
deckbuilder/layout_intelligence.json,sha256=JNx__qQcsQyLRlrOyry87GrbAI_uVAB95t1qTHHek_k,11490
|
7
|
+
deckbuilder/layout_intelligence.py,sha256=i5y9Khnnly16wPPYzfuwfS8FIDCV4cZymYHaEO4fkpA,14950
|
8
|
+
deckbuilder/naming_conventions.py,sha256=0Ea80X-hPB53QCuU7vJBK_AuonRQJJAiMGMcrL8EP2E,21993
|
9
|
+
deckbuilder/placeholder_types.py,sha256=MFIEunh9NWDcS0gs9-VLtkWiTgs42Wb3ifjPeELOJHs,3892
|
10
|
+
deckbuilder/placekitten_integration.py,sha256=XBh647m5x01A1aPW_fKVu9IsoptsXXG1XynCchruZks,9581
|
11
|
+
deckbuilder/structured_frontmatter.py,sha256=0eXhZv4zLrKE3-0jdvQBpJZeceHN_0Lf-c_HbXpGv1s,36219
|
12
|
+
deckbuilder/table_styles.py,sha256=uJhuUnt5Km7ndA6mGsWUXhq5NGUJm6dhaQr8PLWMQ5Y,1876
|
13
|
+
deckbuilder-1.0.0b1.dist-info/licenses/LICENSE,sha256=kHE0LdCYlKm3qRpvl0a4YfXmLCSscFTzuARlyr8xnUE,11342
|
14
|
+
mcp_server/__init__.py,sha256=NavfM3Ey30aaVKod91ed8otd4RW4zbElTNvqABcDWeM,190
|
15
|
+
mcp_server/content_analysis.py,sha256=uAH0vDDJr2fSV0a8L-2ZRGZnXNO6-2QD_SGl0YuF_qg,16529
|
16
|
+
mcp_server/content_optimization.py,sha256=eVIGVrAAKwnuNq6GT2QrXpNLXBKEriga4CVyAbkhG6Y,31146
|
17
|
+
mcp_server/layout_recommendations.py,sha256=RZMHUM8NILYZIoI41flyk1rIDXXBnt4ojrBND-4XOGI,23972
|
18
|
+
mcp_server/main.py,sha256=4XMO1edhPuiLFEdP9C7gKVln2SB1nXbnw8tV-88RLk4,20645
|
19
|
+
mcp_server/tools.py,sha256=ujWKq3Sq8XmlMBqxbO6WyN_JXOCmiKVbcAwWc5VmKxc,20449
|
20
|
+
placekitten/README.md,sha256=SVPZ89xvsupWdBBp_QTV2A6BKXxwwVEx0keswIRJxrg,18769
|
21
|
+
placekitten/__init__.py,sha256=70DylODBsbpWHZcfuCgPtX5e0-d2f6XtUrfGUH7T-NM,1170
|
22
|
+
placekitten/core.py,sha256=_DRCp_6a0BO8SE1CIVc6Qa8OL-kOYZLEFGluW-xa6Iw,6750
|
23
|
+
placekitten/filters.py,sha256=yKF1kqtLW2aDN3VUkFF8ZBXaaYEzt7TT_17ev4A_9WU,6384
|
24
|
+
placekitten/processor.py,sha256=Pnwi0_v11hviYWqYxPLPgohtuJSqpHtobjrVwyp2A0M,8816
|
25
|
+
placekitten/smart_crop.py,sha256=HD5iB9hhHTDrmX6wBKf1gyE6-qiTTazVzTZbWOY6fhw,12105
|
26
|
+
placekitten/images/ACuteKitten-1.png,sha256=xRrD3Hp3XTmS3EIOMahWW5FwRMDBQAPcSh5tT2o_8Lo,3226127
|
27
|
+
placekitten/images/ACuteKitten-2.png,sha256=SZCU-6W5FflAsH9LXT3yA-axLCzgWdrKe7CL93-0CkQ,3067784
|
28
|
+
placekitten/images/ACuteKitten-3.png,sha256=pnetbfboRrC7u9_WUyb8zfrA63jCb5DW11zZcw0No0k,2846731
|
29
|
+
placekitten/images/TwoKitttens Playing-1.png,sha256=RUdiCH1YEgfShooIem1qrT3ra6gEP3kxZpIigu9WPR8,2505420
|
30
|
+
placekitten/images/TwoKitttens Playing-2.png,sha256=L--xOyIFq0Jz8kHiGk92F8FZ5JVS7_WTvViWoggrHI0,2932501
|
31
|
+
placekitten/images/TwoKitttensSleeping-1.png,sha256=uy5_Ktwl0ZFAJYC92us1PgviSHm3zNCp3ShVX2SQ534,2544451
|
32
|
+
shared/__init__.py,sha256=NMvEmVDSGXgE9gvVdw-s3wsD6DvFK0POpe5DcMouPEQ,170
|
33
|
+
deckbuilder-1.0.0b1.dist-info/METADATA,sha256=ZOa9uT6d_uid28gqQ0k-5tZe9DBKFDj3Bse48X1-NeA,14030
|
34
|
+
deckbuilder-1.0.0b1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
35
|
+
deckbuilder-1.0.0b1.dist-info/entry_points.txt,sha256=DK7VdymLMuToyVYbU79QoX5VW6Vld3ZRQLZnBt4DUTQ,95
|
36
|
+
deckbuilder-1.0.0b1.dist-info/top_level.txt,sha256=bu9iZr7AwvJt3iS6DUKQ8JlLFK8_HamCZqA6JtA3ENo,42
|
37
|
+
deckbuilder-1.0.0b1.dist-info/RECORD,,
|
@@ -0,0 +1,201 @@
|
|
1
|
+
Apache License
|
2
|
+
Version 2.0, January 2004
|
3
|
+
http://www.apache.org/licenses/
|
4
|
+
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
+
|
7
|
+
1. Definitions.
|
8
|
+
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
+
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
+
the copyright owner that is granting the License.
|
14
|
+
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
+
other entities that control, are controlled by, or are under common
|
17
|
+
control with that entity. For the purposes of this definition,
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
19
|
+
direction or management of such entity, whether by contract or
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
+
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
+
exercising permissions granted by this License.
|
25
|
+
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
27
|
+
including but not limited to software source code, documentation
|
28
|
+
source, and configuration files.
|
29
|
+
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
31
|
+
transformation or translation of a Source form, including but
|
32
|
+
not limited to compiled object code, generated documentation,
|
33
|
+
and conversions to other media types.
|
34
|
+
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
36
|
+
Object form, made available under the License, as indicated by a
|
37
|
+
copyright notice that is included in or attached to the work
|
38
|
+
(an example is provided in the Appendix below).
|
39
|
+
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
+
the Work and Derivative Works thereof.
|
47
|
+
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
49
|
+
the original version of the Work and any modifications or additions
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
+
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
64
|
+
subsequently incorporated within the Work.
|
65
|
+
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
72
|
+
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
+
where such license applies only to those patent claims licensable
|
79
|
+
by such Contributor that are necessarily infringed by their
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
82
|
+
institute patent litigation against any entity (including a
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
85
|
+
or contributory patent infringement, then any patent licenses
|
86
|
+
granted to You under this License for that Work shall terminate
|
87
|
+
as of the date such litigation is filed.
|
88
|
+
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
91
|
+
modifications, and in Source or Object form, provided that You
|
92
|
+
meet the following conditions:
|
93
|
+
|
94
|
+
(a) You must give any other recipients of the Work or
|
95
|
+
Derivative Works a copy of this License; and
|
96
|
+
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
98
|
+
stating that You changed the files; and
|
99
|
+
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
102
|
+
attribution notices from the Source form of the Work,
|
103
|
+
excluding those notices that do not pertain to any part of
|
104
|
+
the Derivative Works; and
|
105
|
+
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
108
|
+
include a readable copy of the attribution notices contained
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
111
|
+
of the following places: within a NOTICE text file distributed
|
112
|
+
as part of the Derivative Works; within the Source form or
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
114
|
+
within a display generated by the Derivative Works, if and
|
115
|
+
wherever such third-party notices normally appear. The contents
|
116
|
+
of the NOTICE file are for informational purposes only and
|
117
|
+
do not modify the License. You may add Your own attribution
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
120
|
+
that such additional attribution notices cannot be construed
|
121
|
+
as modifying the License.
|
122
|
+
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
124
|
+
may provide additional or different license terms and conditions
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
128
|
+
the conditions stated in this License.
|
129
|
+
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
133
|
+
this License, without any additional terms or conditions.
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
+
the terms of any separate license agreement you may have executed
|
136
|
+
with Licensor regarding such Contributions.
|
137
|
+
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
140
|
+
except as required for reasonable and customary use in describing the
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
+
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
152
|
+
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
158
|
+
incidental, or consequential damages of any character arising as a
|
159
|
+
result of this License or out of the use or inability to use the
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
162
|
+
other commercial damages or losses), even if such Contributor
|
163
|
+
has been advised of the possibility of such damages.
|
164
|
+
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
+
or other liability obligations and/or rights consistent with this
|
169
|
+
License. However, in accepting such obligations, You may act only
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
174
|
+
of your accepting any such warranty or additional liability.
|
175
|
+
|
176
|
+
END OF TERMS AND CONDITIONS
|
177
|
+
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
179
|
+
|
180
|
+
To apply the Apache License to your work, attach the following
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
182
|
+
replaced with your own identifying information. (Don't include
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
184
|
+
comment syntax for the file format. We also recommend that a
|
185
|
+
file or class name and description of purpose be included on the
|
186
|
+
same "printed page" as the copyright notice for easier
|
187
|
+
identification within third-party archives.
|
188
|
+
|
189
|
+
Copyright 2025 Bruce McLeod
|
190
|
+
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
192
|
+
you may not use this file except in compliance with the License.
|
193
|
+
You may obtain a copy of the License at
|
194
|
+
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
196
|
+
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
|
+
See the License for the specific language governing permissions and
|
201
|
+
limitations under the License.
|