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 section into a Connection with section_connection(), after merging what it inherits with merged_section() (kept for caldav's config_section(); it may be deprecated once plann no longer uses that function, https://github.com/PyCalendar/plann/issues/84). find_config_file() finds the 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.5.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.5.0
File Size Uploaded Provenance Actions
calendaring_config-0.5.0.tar.gz 38.0 kB With provenance Details for calendaring_config-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 66.5 kB

Release files / calendaring_config-0.5.0.tar.gz

Download URL calendaring_config-0.5.0.tar.gz
Size 38.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ed68ae96a5d9790cdf0ea6a933ddafd617523759a8a3fd273c63a4f3c3dcc41c
BLAKE2b-256 checksum
How to use checksums
7ccebd49e6a64ade7fa09d872eea80601281b1b4167b737ceb0de2b16d29b329
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 22, 2026.

Transparency log

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

Download URL calendaring_config-0.5.0-py3-none-any.whl
Size 28.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5e1f6ffaf428a59b0e1373d951eb8e7fd9f49924912e65548cc2803e73a8646
BLAKE2b-256 checksum
How to use checksums
5f173e4e04e3a344b2260139e64f53d34e95163e02b128b6066753540d5df524
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 22, 2026.

Transparency log

Security for calendaring-config 0.5.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.5.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 22, 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