Skip to main content

A Python library for creating timeline visualizations in PowerPoint

Project description

timeline for powerpoint

this project is about adding a timeline (with smooth transitions) in microsoft powerpoint slides.

todo

  • make all config separate
  • do the auto transition
  • wbs and pack in saas

demo

demo

preview compare

before processing after processing
before after

use

from pathlib import Path
from pptx import Presentation
from timeline import set_sidebar_timeline, move_elements_to_right


if __name__ == "__main__":
    path_ppt = Path("~/example.pptx")
    tags = ["Intro"] * 33

    example_ppt = Presentation(path_ppt)

    move_elements_to_right(example_ppt, sidebar_width=0.12)
    set_sidebar_timeline(ppt=example_ppt, tags=tags, sidebar_item_height=0.10)

    example_ppt.save(path_ppt.parent / "timeline.pptx")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

timeline_craft-0.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

timeline_craft-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file timeline_craft-0.1.0.tar.gz.

File metadata

  • Download URL: timeline_craft-0.1.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for timeline_craft-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cf9999f856c2c774967e870e61a0f974d6af2c88817b24d83df33f00ee899c16
MD5 8938832018d652e01b7e88cbbeb43331
BLAKE2b-256 f5e92ba0e14522bb25c28fc402b052b47314aa62e24d3b7bb7975bef90b902c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for timeline_craft-0.1.0.tar.gz:

Publisher: workflow.yml on Don-Yin/timeline-craft

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file timeline_craft-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: timeline_craft-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for timeline_craft-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5ad216a637b03cc1820ef1c477446c523a07b032f48827b735e2a92e02c2519
MD5 8b96ece0d9e6a501f039f4b0d775d9fd
BLAKE2b-256 22e2aebc41f7ef6a284bbbc1dcc8ca253edbf41bb8a3788b9b4f2c16491634f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for timeline_craft-0.1.0-py3-none-any.whl:

Publisher: workflow.yml on Don-Yin/timeline-craft

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page