Skip to main content

calendaring-config

One configuration file for the pycalendar libraries: caldav, calendaring and calendaring-jmap. A user with a CalDAV server, a JMAP account, a directory of .ics files and a GitHub repository describes them once:

work:
  kind: caldav
  url: https://dav.example.com/
  username: alice
  password_command: [pass, show, dav/work]

fastmail:
  kind: jmap
  url: https://api.fastmail.com/jmap/session
  username: alice@example.com
  password_keyring: fastmail

everything:
  contains: [work, fastmail]
from calendaring_config import load

for conn in load(section="everything"):
    print(conn.name, conn.kind, conn.params["url"])

load() finds the file, expands the section, resolves inherits, ${VAR} references and secrets, applies the environment, and returns one Connection per backend: its section name, its kind (or None, when the reader should decide from the URL), and the keyword arguments for the backend's connect(). Old-style caldav files (caldav_url, …) are read unchanged. load(environment=False) reads no CALDAV_*, JMAP_* or CALENDARING_* variable. load(kinds=("caldav",)) returns only CalDAV sections and those without a kind, and lets only CALDAV_URL replace the file. A reader that walks the file itself turns one merged section into a Connection with section_connection(), and finds the file with find_config_file(); search_path() lists where it looks, the first entry being where a new file belongs. Errors are ConfigError, a ValueError.

The format is specified in docs/format.md.

It is in early development and has no release yet. The design notes are in calendaring's CONFIGURATION_PROPOSAL.md.

Installing

pip install calendaring-config            # or calendaring-config[keyring]

The keyring extra is needed only for password_keyring / token_keyring.

Licence

GPL-3.0-or-later or Apache-2.0, at your option, like caldav and calendaring.

Metadata

Release files for calendaring-config 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for calendaring-config 0.4.0
File Size Uploaded Provenance Actions
calendaring_config-0.4.0.tar.gz 37.2 kB With provenance Details for calendaring_config-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for calendaring-config 0.4.0
File Interpreter ABI Platform Actions
calendaring_config-0.4.0-py3-none-any.whl Python 3 none any Details for calendaring_config-0.4.0-py3-none-any.whl

Total release size: 65.4 kB

Release files / calendaring_config-0.4.0.tar.gz

Download URL calendaring_config-0.4.0.tar.gz
Size 37.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a389b68db49f4210515cb6c233637dfe8ec74329da3d76ef1b505249ce45d0a1
BLAKE2b-256 checksum
How to use checksums
13f20f6e7996236d8087eb5e6d235cb1d015f7f35f3918de9c02bc6bc92a354f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / calendaring_config-0.4.0-py3-none-any.whl

Download URL calendaring_config-0.4.0-py3-none-any.whl
Size 28.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de97239b1a70aa9450ad543fe1d5171404c418f2a3c69a0aa33e78eb3bc680c2
BLAKE2b-256 checksum
How to use checksums
838d6b93b88d2193a107d83f7f5c520be545c7c1816a516ec69b76223f99aae0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Security for calendaring-config 0.4.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.

Select from 2 files

Attestation for calendaring_config-0.4.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 Oct 20, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page