pptx-md 0.0.0__tar.gz
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.
- pptx_md-0.0.0/.gitignore +34 -0
- pptx_md-0.0.0/LICENSE +21 -0
- pptx_md-0.0.0/PKG-INFO +51 -0
- pptx_md-0.0.0/README.md +21 -0
- pptx_md-0.0.0/pyproject.toml +77 -0
- pptx_md-0.0.0/src/pptx_md/__init__.py +13 -0
- pptx_md-0.0.0/tests/__init__.py +0 -0
- pptx_md-0.0.0/tests/conftest.py +4 -0
- pptx_md-0.0.0/tests/test_smoke.py +12 -0
pptx_md-0.0.0/.gitignore
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.pyo
|
|
6
|
+
*.pyd
|
|
7
|
+
|
|
8
|
+
# Distribution / packaging
|
|
9
|
+
dist/
|
|
10
|
+
build/
|
|
11
|
+
*.egg-info/
|
|
12
|
+
*.egg
|
|
13
|
+
.eggs/
|
|
14
|
+
|
|
15
|
+
# Virtual environments
|
|
16
|
+
.venv/
|
|
17
|
+
venv/
|
|
18
|
+
env/
|
|
19
|
+
|
|
20
|
+
# Testing / coverage
|
|
21
|
+
.coverage
|
|
22
|
+
.coverage.*
|
|
23
|
+
htmlcov/
|
|
24
|
+
.pytest_cache/
|
|
25
|
+
|
|
26
|
+
# Hatch
|
|
27
|
+
.hatch/
|
|
28
|
+
|
|
29
|
+
# Type checking
|
|
30
|
+
.mypy_cache/
|
|
31
|
+
|
|
32
|
+
# IDE
|
|
33
|
+
.vscode/
|
|
34
|
+
.idea/
|
pptx_md-0.0.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 ms9648
|
|
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.
|
pptx_md-0.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pptx-md
|
|
3
|
+
Version: 0.0.0
|
|
4
|
+
Summary: Convert PPTX files into LLM-friendly Markdown (VLM-first image understanding).
|
|
5
|
+
Project-URL: Homepage, https://github.com/ms9648/pptx-md
|
|
6
|
+
Project-URL: Repository, https://github.com/ms9648/pptx-md
|
|
7
|
+
Author: ms9648
|
|
8
|
+
License: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Keywords: llm,markdown,powerpoint,pptx,vlm
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Topic :: Text Processing :: Markup :: Markdown
|
|
17
|
+
Requires-Python: >=3.11
|
|
18
|
+
Requires-Dist: pillow
|
|
19
|
+
Requires-Dist: python-pptx
|
|
20
|
+
Provides-Extra: dev
|
|
21
|
+
Requires-Dist: black; extra == 'dev'
|
|
22
|
+
Requires-Dist: mypy; extra == 'dev'
|
|
23
|
+
Requires-Dist: pytest; extra == 'dev'
|
|
24
|
+
Requires-Dist: pytest-cov; extra == 'dev'
|
|
25
|
+
Requires-Dist: ruff; extra == 'dev'
|
|
26
|
+
Provides-Extra: vlm
|
|
27
|
+
Requires-Dist: anthropic>=0.20; extra == 'vlm'
|
|
28
|
+
Requires-Dist: openai>=1.0; extra == 'vlm'
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
|
|
31
|
+
# pptx-md
|
|
32
|
+
|
|
33
|
+
Convert PPTX files into LLM-friendly Markdown (VLM-first image understanding).
|
|
34
|
+
|
|
35
|
+
> **Work in progress** — Full documentation and usage examples will be added in M6 (FR-18).
|
|
36
|
+
|
|
37
|
+
## Installation
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
pip install pptx-md
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
With VLM support:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
pip install pptx-md[vlm]
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Requirements
|
|
50
|
+
|
|
51
|
+
- Python 3.11+
|
pptx_md-0.0.0/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# pptx-md
|
|
2
|
+
|
|
3
|
+
Convert PPTX files into LLM-friendly Markdown (VLM-first image understanding).
|
|
4
|
+
|
|
5
|
+
> **Work in progress** — Full documentation and usage examples will be added in M6 (FR-18).
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pip install pptx-md
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
With VLM support:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pip install pptx-md[vlm]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Requirements
|
|
20
|
+
|
|
21
|
+
- Python 3.11+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "pptx-md"
|
|
7
|
+
version = "0.0.0"
|
|
8
|
+
description = "Convert PPTX files into LLM-friendly Markdown (VLM-first image understanding)."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = { text = "MIT" }
|
|
11
|
+
requires-python = ">=3.11"
|
|
12
|
+
authors = [{ name = "ms9648" }]
|
|
13
|
+
keywords = ["pptx", "markdown", "powerpoint", "llm", "vlm"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 3 - Alpha",
|
|
16
|
+
"Intended Audience :: Developers",
|
|
17
|
+
"License :: OSI Approved :: MIT License",
|
|
18
|
+
"Programming Language :: Python :: 3",
|
|
19
|
+
"Programming Language :: Python :: 3.11",
|
|
20
|
+
"Topic :: Text Processing :: Markup :: Markdown",
|
|
21
|
+
]
|
|
22
|
+
dependencies = [
|
|
23
|
+
"python-pptx",
|
|
24
|
+
"Pillow",
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
[project.optional-dependencies]
|
|
28
|
+
# VLM SDK 는 반드시 여기에만 (스킬 §4, ADR-002). core 에 포함 금지.
|
|
29
|
+
vlm = [
|
|
30
|
+
"anthropic>=0.20",
|
|
31
|
+
"openai>=1.0",
|
|
32
|
+
]
|
|
33
|
+
dev = [
|
|
34
|
+
"pytest",
|
|
35
|
+
"pytest-cov",
|
|
36
|
+
"ruff",
|
|
37
|
+
"black",
|
|
38
|
+
"mypy",
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
[project.urls]
|
|
42
|
+
Homepage = "https://github.com/ms9648/pptx-md"
|
|
43
|
+
Repository = "https://github.com/ms9648/pptx-md"
|
|
44
|
+
|
|
45
|
+
[tool.hatch.build.targets.wheel]
|
|
46
|
+
packages = ["src/pptx_md"]
|
|
47
|
+
|
|
48
|
+
[tool.hatch.build.targets.sdist]
|
|
49
|
+
include = [
|
|
50
|
+
"src/pptx_md",
|
|
51
|
+
"tests",
|
|
52
|
+
"README.md",
|
|
53
|
+
"LICENSE",
|
|
54
|
+
"pyproject.toml",
|
|
55
|
+
]
|
|
56
|
+
|
|
57
|
+
[tool.ruff]
|
|
58
|
+
line-length = 88
|
|
59
|
+
target-version = "py311"
|
|
60
|
+
|
|
61
|
+
[tool.ruff.lint]
|
|
62
|
+
select = ["E", "F", "I", "UP"]
|
|
63
|
+
|
|
64
|
+
[tool.black]
|
|
65
|
+
line-length = 88
|
|
66
|
+
target-version = ["py311"]
|
|
67
|
+
|
|
68
|
+
[tool.mypy]
|
|
69
|
+
python_version = "3.11"
|
|
70
|
+
strict = true
|
|
71
|
+
ignore_missing_imports = true
|
|
72
|
+
files = ["src"]
|
|
73
|
+
|
|
74
|
+
[tool.pytest.ini_options]
|
|
75
|
+
testpaths = ["tests"]
|
|
76
|
+
# M1: 측정만 (강제 임계 --cov-fail-under 는 M6/FR-17, ADR-004)
|
|
77
|
+
addopts = "--cov=src/pptx_md --cov-report=term-missing"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"""pptx-md — Convert PPTX files into LLM-friendly Markdown.
|
|
2
|
+
|
|
3
|
+
Public API re-exports go here as modules land in later milestones, e.g.:
|
|
4
|
+
|
|
5
|
+
# M6 / FR-16:
|
|
6
|
+
# from pptx_md.api import convert, ConvertOptions
|
|
7
|
+
# __all__ = ["convert", "ConvertOptions"]
|
|
8
|
+
|
|
9
|
+
Until then this module only guarantees that ``import pptx_md`` succeeds
|
|
10
|
+
(FR-01 AC2). Internal submodules must not be exposed directly (skill §1).
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
__all__: list[str] = []
|
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"""M1 smoke test — guarantees the package imports and the CI pipeline runs.
|
|
2
|
+
|
|
3
|
+
Covers FR-01 AC2 (import succeeds) and gives pytest a target so the CI
|
|
4
|
+
``pytest`` step exercises a real (passing) test.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def test_ac2_import_pptx_md() -> None:
|
|
9
|
+
"""AC2: import pptx_md must succeed without ImportError."""
|
|
10
|
+
import pptx_md
|
|
11
|
+
|
|
12
|
+
assert pptx_md is not None
|