Skip to main content

Script to convert json calendar data to ical format

Project description

PyConAU calendar converter

A cli tool which will take a .json agenda file or url (based on the schema https://c3voc.de/schedule/schema.json) and convert it to an .ics calendar file.

As used by https://pretalx.com/

Installation

install via pip

$ pip install json-to-ical

Usage

With a URL

$ json-to-ical https://pretalx.com/pycon-au-2025/schedule/export/schedule.json

With a local file

$ json-to-ical schedule.json

Specifying an output file

By default the output file will be named after the input file, swapping the filename with the extension .ics.

If you want to change the output file name, you can use the -o flag.

This will work with either file or url based input.

$ json-to-ical schedule.json -o 2025_schedule.ics

Local environment setup

$ uv sync --all-groups

Testing

$ uv run pytest

Testing with specific python versions

$ uv run --python 3.9 pytest
$ uv run --python 3.10 pytest
$ uv run --python 3.11 pytest
$ uv run --python 3.12 pytest
$ uv run --python 3.13 pytest

Tested dependencies

Python version ical pydantic
3.9 4.5.4 1.10.22
3.10 8.2.0 2.11.7
3.11 8.2.0 2.11.7
3.12 11.0.0 2.11.7
3.13 11.0.0 2.11.7

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

json_to_ical-2025.1.1.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

json_to_ical-2025.1.1-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file json_to_ical-2025.1.1.tar.gz.

File metadata

  • Download URL: json_to_ical-2025.1.1.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for json_to_ical-2025.1.1.tar.gz
Algorithm Hash digest
SHA256 f65ffd5659fa86ef3e943d51758d40c4c544c901a5feb576c9482e35e24ba519
MD5 addf6961f5e69572737bf62ff5510c34
BLAKE2b-256 2305d223deee6ff5751bbd8125abf19f746e50a23854294bfa0df913a71d8c98

See more details on using hashes here.

File details

Details for the file json_to_ical-2025.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for json_to_ical-2025.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f8e2b49d03b78ef6e4e511c7aa1e8cb5cd768a02ac84c639e50840a36f214986
MD5 4d16d677497778bf1ff1469e674c3498
BLAKE2b-256 d3145d44944acad56a65966e9b0b5ea83627012881c4c8508d2455d46b334824

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page