Skip to content

Commit c462cc0

Browse files
committed
feat: add MCP server configuration and reorganize module structure for shapes
1 parent 283b39a commit c462cc0

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

src/pptxr/_pptx/picture.py renamed to src/pptxr/_pptx/shape/picture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from pptxr.types import FilePath
66
from pptxr.types._length import Length, LiteralLength
77

8-
from .shape import Shape
8+
from . import Shape
99

1010

1111
class PictureProps(TypedDict):

src/pptxr/_pptx/table.py renamed to src/pptxr/_pptx/shape/table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from pptxr.types._length import Length, LiteralLength
1010

11-
from .shape import Shape
11+
from . import Shape
1212

1313
DataFrame: TypeAlias = list[list[str]]
1414

src/pptxr/_pptx/text.py renamed to src/pptxr/_pptx/shape/text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from pptxr.types._length import Length, LiteralLength
66

7-
from .shape import Shape
7+
from . import Shape
88

99

1010
class TextProps(TypedDict):
File renamed without changes.

src/pptxr/_pptx/slide.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
from pptxr.types import FilePath
1111

1212
from .converter import PptxConvertible, to_pptx_length
13-
from .picture import Picture, PictureData, PictureProps
1413
from .shape import Shape
15-
from .table import DataFrame, Table, TableOptions, TableProps
16-
from .text import Text, TextData, TextProps
17-
from .title import Title
14+
from .shape.picture import Picture, PictureData, PictureProps
15+
from .shape.table import DataFrame, Table, TableOptions, TableProps
16+
from .shape.text import Text, TextData, TextProps
17+
from .shape.title import Title
1818

1919
if TYPE_CHECKING:
2020
from .presentation import PresentationBuilder

src/pptxr/types/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from pptx.enum.shapes import MSO_AUTO_SHAPE_TYPE
77

8-
from pptxr._pptx.table import TableCellStyle
8+
from pptxr._pptx.shape.table import TableCellStyle
99

1010
from ._color import Color
1111
from ._length import (

0 commit comments

Comments
 (0)