Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Generate schedule, talks, speakers page automatically like official Pycon thailand 2019 website: https://th.pycon.org

Project description

autoschedule by Chomtana

Generate schedule, talks, speakers page automatically like official Pycon thailand 2019 website: https://th.pycon.org

These three pages generated from one yaml file: CLICK HERE FOR YAML FILE EXAMPLE (talks2019.yaml)

And these three pages are linked together

Good for people who organizing conference event and don't want to code your website schedule, talks, speakers page

How to use

For local file generation use

Basic example

from autoschedule import generate

generate("talks2019.yaml")

Note: you need to change talks2019.yaml to your correct yaml file path

Custom file name

from autoschedule import generate

generate("talks2019.yaml", schedule_page="./timetable.html", talks_page="./courses.html", speakers_page="./tutors.html")

Note: you need to change talks2019.yaml to your correct yaml file path

For using in nikola

Step 1: Install ScheduleShortcode plugins

Copy ScheduleShortcode.py and ScheduleShortcode.plugin from this repository to plugins/schedule folder in your nikola setup

Note: if folder doesn't exists, create new one

Step 2: Use shortcode in your page

Paste:

  • {{% schedule mode="schedule" file="../talks2019.yaml" talks_page="/talks" speakers_page="/speakers" schedule_page="/schedule %}} To your schedule page
  • {{% schedule mode="talks" file="../talks2019.yaml" talks_page="/talks" speakers_page="/speakers" schedule_page="/schedule %}} To your talks page
  • {{% schedule mode="speakers" file="../talks2019.yaml" talks_page="/talks" speakers_page="/speakers" schedule_page="/schedule %}} To your speakers page

Note: you need to change ../talks2019.yaml to your correct yaml file path

Example of these step can be found in here

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for autoschedule, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size autoschedule-1.0.tar.gz (8.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page