Python-based tool for presentation-ready slides
Project description
Description
Python-based tool for presentation-ready slides
Installation & Usage
pip install pyslides
mkdir example && cd example
download_pyslides_example
python example.py
acroread slides.pdf
Requirements
latex package type1cm
Community
For bug reports and new ideas, feel free to join the Mailing list
Example
from pyslides.presentation import Presentation as P
P = P(biblio_file='https://www.dropbox.com/s/6x55qbs8p0fb3yl/biblio.bib?dl=1')
P.add_slide(model = 'title', title = 'An example of presentation with PySlides',\
author = 'Name',\
affiliation = 'Affiliation')
P.add_slide(model='one_figure',\
figure = 'https://wesaturate.s3.amazonaws.com/photos/zbihcy_silvestre90.jpg',\
title='Example')
P.add_citation('einstein1935can')
P.add_slide()
P.add_bullets(y = 0.5,\
text = [r'''Cats are cute''',r'''Especially this one'''])
P.add_text(x = 0.5,\
y = 0.1,\
color='red',\
text = '$E=m^2$')
P.add_figure(x=0.7,y=0.5,L=0.3,filename='https://wesaturate.s3.amazonaws.com/photos/ofinqs_shane1536.jpg')
P.render()
See PDF
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyslides-0.9.26.tar.gz
(6.0 kB
view details)
File details
Details for the file pyslides-0.9.26.tar.gz
.
File metadata
- Download URL: pyslides-0.9.26.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff06d8669e16bcce96a83f969b2432abfa89f8447236be2b36193ba32f9824f9 |
|
MD5 | 19ac51c22f67389d705f51b19c3194af |
|
BLAKE2b-256 | dbd57d5ac4e65793c864e1cc9de511b1306e1d52507306d0d68c4871e03c59cd |