Skip to main content

Python-based tool for presentation-ready slides

Project description

Description
===========

Python-based tool for presentation-ready slides

Installation & Usage
====================

.. code-block:: shell

pip install pyslides

mkdir example_pyslides && cd example_pyslides

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 <https://groups.google.com/forum/#!forum/pyslides>`_

Example
=======

.. code-block:: python


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 <https://www.dropbox.com/s/ggox95x08zjckbj/example.pdf?dl=1>`_

Support
=======

This is a personal, unfunded project. If you like it, kindly consider a `donation <https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=78PRMGHZYAEB8> `_ !


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.29.tar.gz (6.1 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pyslides-0.9.29.tar.gz
Algorithm Hash digest
SHA256 1c024ec98e44f530e5393ba26d45592282d9cb1b01d54aca36fd4c2421fe36e9
MD5 6d7cf94552594f0fc1fbb50d060b9dc8
BLAKE2b-256 829a68c96a7d9d45aef35ef4eaae084c8e934e4e9bd535a174568c9665bc7e5d

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