Skip to content

Commit 9a3ab2a

Browse files
MHoroszowskiclaude
andcommitted
release: python-pptx-extended 1.1.0
Rename distribution to python-pptx-extended for PyPI publication; the upstream python-pptx name is owned by Steve Canny on PyPI and cannot be reused. Import name (pptx) is unchanged so user code is unaffected. - pyproject.toml: name -> python-pptx-extended, add maintainer, fork description, fork repo URLs (Upstream URL preserved). - src/pptx/__init__.py: bump __version__ to 1.1.0. - README.rst: prepend fork notice listing the five added features and the install-conflict caveat with upstream. - HISTORY.rst: add 1.1.0 (2026-05-01) entry. Published to PyPI: https://pypi.org/project/python-pptx-extended/1.1.0/ Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 14ee64c commit 9a3ab2a

4 files changed

Lines changed: 41 additions & 6 deletions

File tree

HISTORY.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
Release History
44
---------------
55

6+
1.1.0 (2026-05-01)
7+
++++++++++++++++++
8+
9+
- Fork of python-pptx 1.0.2 published as ``python-pptx-extended``.
10+
- feature: full shadow effect API on ``ShadowFormat``
11+
- feature: bullet and numbered list paragraph formatting
12+
- feature: per-edge table cell borders
13+
- feature: ``cap_style`` and ``join_style`` properties on ``LineFormat``
14+
- feature: line-end shape types
15+
616
1.0.2 (2024-08-07)
717
++++++++++++++++++
818

README.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
Fork notice
2+
-----------
3+
4+
This distribution, ``python-pptx-extended``, is a fork of
5+
`scanny/python-pptx`_ at upstream version 1.0.2. The import name is unchanged
6+
(``import pptx``), so existing user code continues to work. The fork adds the
7+
following features on top of upstream:
8+
9+
- Full shadow effect API on ``ShadowFormat`` (outer/inner/preset shadows).
10+
- Bullet and numbered list formatting on paragraphs.
11+
- Per-edge border styling for table cells.
12+
- ``cap_style`` and ``join_style`` properties on ``LineFormat``.
13+
- Line-end shape types (arrow / triangle / oval / etc.).
14+
15+
Because the import package name (``pptx``) is shared with the upstream
16+
distribution, ``python-pptx`` and ``python-pptx-extended`` cannot be installed
17+
into the same environment — install one or the other.
18+
19+
.. _`scanny/python-pptx`: https://github.com/scanny/python-pptx
20+
21+
About python-pptx
22+
-----------------
23+
124
*python-pptx* is a Python library for creating, reading, and updating PowerPoint (.pptx)
225
files.
326

pyproject.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ requires = ["setuptools>=61.0.0"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "python-pptx"
6+
name = "python-pptx-extended"
77
authors = [{name = "Steve Canny", email = "stcanny@gmail.com"}]
8+
maintainers = [{name = "Matthew Horoszowski", email = "matthew.horoszowski@gmail.com"}]
89
classifiers = [
910
"Development Status :: 5 - Production/Stable",
1011
"Environment :: Console",
@@ -27,18 +28,19 @@ dependencies = [
2728
"lxml>=3.1.0",
2829
"typing_extensions>=4.9.0",
2930
]
30-
description = "Create, read, and update PowerPoint 2007+ (.pptx) files."
31+
description = "Fork of python-pptx with additional formatting features (shadows, bullets, table borders, line caps/joins, line end types)."
3132
dynamic = ["version"]
3233
keywords = ["powerpoint", "ppt", "pptx", "openxml", "office"]
3334
license = { text = "MIT" }
3435
readme = "README.rst"
3536
requires-python = ">=3.8"
3637

3738
[project.urls]
38-
Changelog = "https://github.com/scanny/python-pptx/blob/master/HISTORY.rst"
39+
Changelog = "https://github.com/MHoroszowski/python-pptx/blob/master/HISTORY.rst"
3940
Documentation = "https://python-pptx.readthedocs.io/en/latest/"
40-
Homepage = "https://github.com/scanny/python-pptx"
41-
Repository = "https://github.com/scanny/python-pptx"
41+
Homepage = "https://github.com/MHoroszowski/python-pptx"
42+
Repository = "https://github.com/MHoroszowski/python-pptx"
43+
Upstream = "https://github.com/scanny/python-pptx"
4244

4345
[tool.black]
4446
line-length = 100

src/pptx/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
if TYPE_CHECKING:
2626
from pptx.opc.package import Part
2727

28-
__version__ = "1.0.2"
28+
__version__ = "1.1.0"
2929

3030
sys.modules["pptx.exceptions"] = exceptions
3131
del sys

0 commit comments

Comments
 (0)