Skip to main content

Creator Studio Document Format

A Python library for reading, creating, and editing Apple Creator Studio documents, starting with Keynote.

Overview

This library works with Keynote presentations in Keynote Interchange Format (.keyx). You can use it to:

  • Read the slides, text, images, tables, charts, styles, and more in a .keyx file exported from Keynote.
  • Create a presentation from scratch, or from a theme's slide layouts and styles.
  • Edit a presentation, and check it against the format's rules before you save it.

The library reads and writes .keyx files itself, so it doesn't need Keynote, an Apple device, or a network connection. To preview a presentation, open it in Keynote on an Apple device. In other places, use the Creator Studio Document Exporting API to convert to other formats like PDF.

Getting started

Installation

The library needs Python 3.13 or later. Install the package with pip:

% pip install creator-studio-doc-format

Quick start

Build a Presentation with a slide that holds a text box, wrap it in a KeyxDocument, and save it as hello.keyx, which you can open in Keynote:

# The star import keeps this short. In your own code, import only the names you use.
from creator_studio_doc_format.core import *

title = Textbox(
    geometry=Geometry(
        position=Position(x=160, y=440), size=Size(width=1600, height=200)
    ),
    stroke=Stroke(empty=True),
    layout_properties=LayoutProperties(vertical_alignment="center"),
    paragraph_properties=ParagraphProperties(
        alignment="center",
        character_properties=CharacterProperties(font_size=96),
    ),
    text=Text(string="Hello, Keynote"),
)
slide = Slide(contents=[SlideObject(object=CanvasObject(textbox=title))])

doc = KeyxDocument(
    Presentation(
        theme=KeynoteTheme(name="White", locale="en_US"),
        slide_size=Size(width=1920, height=1080),
        slides=[slide],
    )
)

doc.save("hello.keyx")

Documentation

Three resources document the library:

  • Guide: Follow the tasks, from creating your first presentation to validating and navigating a document.
  • API reference: Look up every public symbol in the library, one page per topic.
  • Examples: Browse a runnable script for each kind of slide content.

Agent skill

The creator-studio-doc-format skill teaches a coding agent to use the library. Install it from the latest release, which matches the latest library on PyPI:

% gh skill install apple/creator-studio-doc-format creator-studio-doc-format

Any agent that reads SKILL.md folders can also use a copy of the skill's folder. The skill needs the library installed.

Contributing

We actively want your feedback. GitHub Issues are open for problem reports and feature requests. Use the Issue Template to get started. This project isn't open for code or documentation contributions at this time.

  • Before opening an issue:
    • Search existing issues to avoid duplicates.
    • Write a clear, concise title and detailed description.
    • Include precise steps to reproduce, expected behavior, and actual behavior.
    • Specify your environment and version information.
    • Explain the severity and impact of the problem.

Code of conduct

This project follows the Apple Open Source Code of Conduct.

Support

Security

If you discover a security vulnerability, follow the security policy. Don't open a public issue.

License

This project and the files in this repository are licensed under Apache License v2.0 unless otherwise noted.

Metadata

Release files for creator-studio-doc-format 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for creator-studio-doc-format 0.1.0
File Size Uploaded Provenance Actions
creator_studio_doc_format-0.1.0.tar.gz 510.9 kB Without provenance Details for creator_studio_doc_format-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for creator-studio-doc-format 0.1.0
File Interpreter ABI Platform Actions
creator_studio_doc_format-0.1.0-py3-none-any.whl Python 3 none any Details for creator_studio_doc_format-0.1.0-py3-none-any.whl

Total release size: 870.3 kB

Release files / creator_studio_doc_format-0.1.0.tar.gz

Download URL creator_studio_doc_format-0.1.0.tar.gz
Size 510.9 kB
Tags Source
SHA-256 checksum
How to use checksums
02274a037fdc4cde32f204971fa9b17cb75a8fa026ffc7269c0a20747be3af20
BLAKE2b-256 checksum
How to use checksums
71e025e5deb7568383f7f8b04b67a777df426e3ecea4461c7f8ffd97665987bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / creator_studio_doc_format-0.1.0-py3-none-any.whl

Download URL creator_studio_doc_format-0.1.0-py3-none-any.whl
Size 359.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cdbe1a9829026337e30136349073e32ce1b2e47c3bcc244cb9dc709ed80ec0a6
BLAKE2b-256 checksum
How to use checksums
891b46590a634f642a9420d9389cc8a6c826b83ad3f9f331689f38529c82b364
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for creator-studio-doc-format 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page