Skip to main content

Python-based tool for presentation-ready slides

Project description

Description

Python-based tool for presentation-ready slides

Installation

pip install pyslides

Community

For bug reports and new ideas, feel free to join the Mailing list

Usage

from pyslides.presentation import Presentation as P


P = P(biblio_file='https://www.dropbox.com/s/6gbvplok9ghji52/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 = 'Example of adding text')


P.add_figure(x=0.7,y=0.5,L=0.3,filename='https://wesaturate.s3.amazonaws.com/photos/ofinqs_shane1536.jpg')


#If this options is set 'True' you need 'acroread' in your path
P.render(show_pdf=True)

See PDF

Author

Giuseppe Romano (romanog@mit.edu)

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

pyslides-0.9.17.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file pyslides-0.9.17.tar.gz.

File metadata

  • Download URL: pyslides-0.9.17.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyslides-0.9.17.tar.gz
Algorithm Hash digest
SHA256 700efdd27cc477c63e0847bd8cba191d1c04eb7461bc3c5ff970f31efb967827
MD5 8d04dd324df30273d5c9ef9b82820ca9
BLAKE2b-256 aa5e9d44a599ea26aa2bd80365997c5ad34b3104fd65ebc63a4db6a311b5e380

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