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 11.0.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.2.tar.gz (10.1 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.2-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for json_to_ical-2025.1.2.tar.gz
Algorithm Hash digest
SHA256 9699cdea815d02002bb3e3f2eecefded7de471a1cbcdc61ccd0058d09d655a1c
MD5 07631bce8a366abdbc6a49033f4c6080
BLAKE2b-256 5d03e96f98881b28e756131e551a67b778729ee78482fa3b956fd1051ffc7978

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for json_to_ical-2025.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0fc3877db71452c8a96a838a0c79ad64b5b13b53c7f00cf0d2cee9e56342de71
MD5 65c86035e6482952a6e6f1956e1442af
BLAKE2b-256 6a06061d765c2e22fc8c19cd1d2e64f17ea9008a1169ddcc384bc46c1a05e012

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