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, Configurations


if __name__ == "__main__":
    path_ppt = Path("~/example.pptx")
    tags = ["intro"] * 15 + ["methods"] * 10 + ["results"] * 8

    example_ppt = Presentation(path_ppt)

    config = Configurations(
        sidebar_width=0.12,
        sidebar_item_height=0.10,
        sidebar_init_font_size=18,
    )

    move_elements_to_right(example_ppt, config=config)
    set_sidebar_timeline(ppt=example_ppt, tags=tags, config=config)

    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.1.tar.gz (6.2 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.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: timeline_craft-0.1.1.tar.gz
  • Upload date:
  • Size: 6.2 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.1.tar.gz
Algorithm Hash digest
SHA256 5498a014c15332f35cfbca4eae9c508c8bee048a97ccb77ea61a7711ccf5b7d1
MD5 76aea4d81f9b61a861ba39512bd3ff63
BLAKE2b-256 4557ceefddc80e4cea201825200a429babdfe356a88b9bc7cf6ca899bba7858b

See more details on using hashes here.

Provenance

The following attestation bundles were made for timeline_craft-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: timeline_craft-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f1f458df3b1f0555a0d969da9c29b37f0db95e64f74ae429e60e3d4484ca141
MD5 edf4ad5c1e34efed892f4e3625bdaebf
BLAKE2b-256 f85f3c6e2c6bf83df8531e30ef205e391dc2574f650a4a1cafd12f565beed171

See more details on using hashes here.

Provenance

The following attestation bundles were made for timeline_craft-0.1.1-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