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.
Demo
Preview Compare
| Before Processing | After Processing |
|---|---|
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("/Users/donyin/Desktop/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)
example_ppt.save(path_ppt.parent / "timeline.pptx")
Disclaimer
This project is under development, with further refinements and feature additions in progress. Your feedback and contributions are highly appreciated. This is probably the dirtiest piece of code I have written, and I blame it on python-pptx, on which this project, out of no other choice, is based. Although useful it is a horrible package with irregular syntax and poor documentation.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file timeline_craft-0.0.2.tar.gz.
File metadata
- Download URL: timeline_craft-0.0.2.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
542f5b022cf581ec6d4f16cd82d2dfa980220962e49af6d8411db5a9cb696bf7
|
|
| MD5 |
5fa36090cac8331ed1fa888a8558ae2f
|
|
| BLAKE2b-256 |
72d8b2a3e5edbf6a39f196b1f426afe36ecfec98b73b14806dd4d5f0b8fbd88e
|
Provenance
The following attestation bundles were made for timeline_craft-0.0.2.tar.gz:
Publisher:
workflow.yml on Don-Yin/timeline-craft
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
timeline_craft-0.0.2.tar.gz -
Subject digest:
542f5b022cf581ec6d4f16cd82d2dfa980220962e49af6d8411db5a9cb696bf7 - Sigstore transparency entry: 245760373
- Sigstore integration time:
-
Permalink:
Don-Yin/timeline-craft@30578d1d4380a0479f4430b2e0ead93ca785304e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Don-Yin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@30578d1d4380a0479f4430b2e0ead93ca785304e -
Trigger Event:
push
-
Statement type:
File details
Details for the file timeline_craft-0.0.2-py3-none-any.whl.
File metadata
- Download URL: timeline_craft-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c6441e25f83fecde640a5ab0b6809fce9de2ba332cb6475a7e26ae1f8b8db2c
|
|
| MD5 |
cb4a80a32296c5f4b9e47eec516dd593
|
|
| BLAKE2b-256 |
886ec6f4f5c405e492147e443a8dfecd76b1afc93e49934e3539e23724969a39
|
Provenance
The following attestation bundles were made for timeline_craft-0.0.2-py3-none-any.whl:
Publisher:
workflow.yml on Don-Yin/timeline-craft
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
timeline_craft-0.0.2-py3-none-any.whl -
Subject digest:
8c6441e25f83fecde640a5ab0b6809fce9de2ba332cb6475a7e26ae1f8b8db2c - Sigstore transparency entry: 245760375
- Sigstore integration time:
-
Permalink:
Don-Yin/timeline-craft@30578d1d4380a0479f4430b2e0ead93ca785304e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Don-Yin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@30578d1d4380a0479f4430b2e0ead93ca785304e -
Trigger Event:
push
-
Statement type: