C3VOC Schedule Tools
A Python library for generating, converting, and validating schedule files for conferences and events.
Originally developed for the Chaos Computer Club events (C3), this library supports multiple schedule formats and conference management systems including pretalx, frab.
Features
- Integration: Direct integration with pretalx, frab, and other conference planning systems
- Schedule Validation: Built-in validation against schedule XML schema
- Flexible Data Sources: Support for web APIs, local files, and custom data sources
- Multiple Converters: Built-in converters for various data sources and formats
Installation
pip install c3voc-schedule-tools
Quick Start
Basic Schedule Creation
from voc import Schedule, Event, Room
# Create a new schedule
schedule = Schedule.from_template(
name="My Conference 2024",
conference_title="My Conference",
conference_acronym="mc24",
start_day=25,
days_count=3,
timezone="Europe/Berlin"
)
# Add rooms, generate your own global unique ids e.g. via `uuidgen`
schedule.add_rooms([
{"name": "Main Hall", "guid": "67D04C40-B35A-496A-A31C-C0F3FF63DAB7"},
{"name": "Workshop Room", "guid": "5564FBA9-DBB5-4B6B-A0F0-CCF6C9F1EBD7"}
])
# Add an event
event = Event({
"id": "event-1",
"title": "Opening Keynote",
"abstract": "Welcome to the conference",
"date": "2024-12-25T10:00:00+01:00",
"duration": "01:00",
"room": "Main Hall",
"track": "Keynotes",
"type": "lecture",
"language": "en",
"persons": [{"public_name": "Jane Doe"}]
})
schedule.add_event(event)
# Export to JSON
schedule.export('schedule.json')
Loading from Pretalx
from voc import PretalxConference, Schedule
# Load conference data from pretalx
conference = PretalxConference(
url="https://pretalx.example.com/event/my-conference/",
data={"name": "My Conference"}
)
# Get the schedule
schedule = conference.schedule()
# Modify / Filter / etc
…
# Export to different formats
schedule.export('schedule.json')
schedule.export('schedule.xml')
Working with Existing Schedules
from voc import Schedule
# Load from URL
schedule = Schedule.from_url("https://example.com/schedule.json")
# Load from file
schedule = Schedule.from_file("schedule.json")
# Filter events by track
track_events = schedule.events(filter=lambda e: e.get('track') == 'Security')
# Get all rooms
rooms = schedule.rooms()
# Get events for a specific day
day_1_events = schedule.day(1).events()
API Reference
Core Classes
Schedule
The main schedule container that holds conference metadata, days, rooms, and events.
Key Methods:
Schedule.from_url(url)- Load schedule from URLSchedule.from_file(path)- Load schedule from fileSchedule.from_template(...)- Create from templateadd_event(event)- Add an event to the scheduleadd_rooms(rooms)- Add rooms to the scheduleexport(filename)- Export to filevalidate()- Validate against XML schema
Event
Represents a single conference event/talk.
Properties:
guid- Global unique event identifierid- Local event identifier, deprecatedtitle- Event titleabstract- Event descriptiondate- Start date/timeduration- Event durationroom- Room nametrack- Track/categorypersons- List of speakers
Room
Represents a conference room / lecture hall / etc.
Properties:
name- Room nameguid- Global unique room identifier
Conference Planning Systems
PretalxConference
Integration with pretalx conference management system.
conference = PretalxConference(
url="https://pretalx.example.com/event/",
data={"name": "Conference Name"}
)
schedule = conference.schedule()
GenericConference
Base class for generic conference data sources.
conference = GenericConference(
url="https://example.com/schedule.json",
data={"name": "Conference Name"}
)
WebcalConference
Import from iCal/webcal sources.
from voc import WebcalConference
conference = WebcalConference(url="https://example.com/events.ics")
schedule = conference.schedule(template_schedule)
Supported Formats
Input Formats
- JSON: schedule.json format
- iCal: RFC 5545 iCalendar format
- Pretalx API: Direct API integration
- CSV: Custom CSV formats (see examples in parent folder)
Output Formats
- JSON: C3VOC schedule.json
- XML: CCC / Frab schedule XML aka vnd.c3voc.schedule+xml
- iCal: RFC 5545 format (TODO?)
Configuration
Environment Variables
PRETALX_TOKEN- API token for pretalx integrationC3DATA_API_URL- C3data API endpointC3DATA_TOKEN- C3data authentication token
Validation
The library includes built-in validation against the schedule XML schema:
# Validate a schedule
try:
schedule.validate()
print("Schedule is valid")
except ScheduleException as e:
print(f"Validation error: {e}")
Examples
TBD, see parent folder
License
This project is licensed under the EUPL-1.2 License - see the LICENSE file for details.
Links
Metadata
Release files for c3voc-schedule-tools 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| c3voc_schedule_tools-1.1.0.tar.gz | 32.9 kB | With provenance | Details for c3voc_schedule_tools-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| c3voc_schedule_tools-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for c3voc_schedule_tools-1.1.0-py3-none-any.whl |
Total release size: 76.8 kB
Release files / c3voc_schedule_tools-1.1.0.tar.gz
| Download URL | c3voc_schedule_tools-1.1.0.tar.gz |
|---|---|
| Size | 32.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6dc7b57f9ca5c09f9e147bfc544509b9ec92972e66e5725d78143615c98694e7
|
|
BLAKE2b-256 checksum How to use checksums |
7a69023190aaa63c2dd1c9db2ca9ae2e8f16c511fefd5cb877579f06fa0b661e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 15, 2026.
Transparency logRelease files / c3voc_schedule_tools-1.1.0-py3-none-any.whl
| Download URL | c3voc_schedule_tools-1.1.0-py3-none-any.whl |
|---|---|
| Size | 43.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8fda3dad7b69ec2187bb10e0c60e412389b42951d70fdc49b6580c04f6b9948
|
|
BLAKE2b-256 checksum How to use checksums |
3575182bd275fa1724a657fc6a0b589f8e70ac2266724459bbdc0b970e55fcaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 15, 2026.
Transparency logSecurity for c3voc-schedule-tools 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for c3voc_schedule_tools-1.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 15, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.