Skip to main content

A simple presentation module

Project description

Pi-ppt

Pi-ppt is a simple presentation module based on Tkinter. The goal is to provide a new experience of creating a presentation by programming.

Build

Dependencies:

Requires a Tkinter module.

$ apt-get install python3-tk

$ apt-get install python3-pil python3-pil.imagetk

Installation:

Install using pip.

direct install

$ pip3 install pippt

or

clone and install

$ cd Pi-ppt

$ pip3 install .

Command Usage:

Generates a sample format of code under given slide name

pi-ppt --init <slide_name>

Design

The Pi-ppt module is based tkinter. This module contains four classes

  • Pippt
  • add_title_slide
  • add_slide
  • add_split_slide

Main window: [ Pippt ]

This class maintains the root window showing slides in the form of frames. This class has a bundle method which uses to bundle all the slides(frames) into the root window. app = Pippt() app.bundle(frame_1, frame_2,...)

Frames: [ add_title_slide, add_slide, add_split_slide ]

These class maintains the each frame(slides) with their method. Methods available in different class as metioned below.,

  • title - add_title_slide, add_slide, add_split_slide
  • subtitle - add_title_slide
  • content - add_slide, add_split_slide
  • image - add_slide, add_split_slide
  • codeblock- add_slide

Features:

Each frame has arguments like font style, color, align and justify which is set to the default that can be customizable too.

Image and codeblock size can be changed accordingly.

Auto line wrapping

Sample run:

$ pi-ppt --init new_slide

$ cd new_slide/

$ python3 new_slide.py

Output:

image

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

pippt-2.5.0.tar.gz (55.4 kB view details)

Uploaded Source

Built Distribution

pippt-2.5.0-py3-none-any.whl (53.3 kB view details)

Uploaded Python 3

File details

Details for the file pippt-2.5.0.tar.gz.

File metadata

  • Download URL: pippt-2.5.0.tar.gz
  • Upload date:
  • Size: 55.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for pippt-2.5.0.tar.gz
Algorithm Hash digest
SHA256 21ce2a5173f88949ef7a950e4a18366653bc23ad47c134d79216eaad822467f3
MD5 03e79a33cbe7d4fb58db7adcc0d8e8c6
BLAKE2b-256 9c56147102988365ea892aa5ff9baebe82d0f850d943d001599bb67602652592

See more details on using hashes here.

File details

Details for the file pippt-2.5.0-py3-none-any.whl.

File metadata

  • Download URL: pippt-2.5.0-py3-none-any.whl
  • Upload date:
  • Size: 53.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for pippt-2.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb7f634c59c307922fff7a35e7541e011bae201916db9910eace01ecd86561ab
MD5 c05ad59f4c796196861fc25064cac998
BLAKE2b-256 37f4ced030466800d20061cff5260bfd584cb462780bf665a3fb117fea264c41

See more details on using hashes here.

Supported by

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