Skip to main content

Access CVUT Fit Sirius Service using caldav

Project description

Sirius CALDAV
=============
This project is plugin for https://radicale.org/.

With this plugin you can connect to CVUT Sirius API using CALDAV protocol. This allows you to edit or remove already existing events in sirius.

Documentation
------------------
https://radicale-sirius-plugin.readthedocs.io/en/latest/

GitHub
------------------
https://github.com/bezstpav/radicale-sirius-plugin

Pypi
------------------
??????


Supported Features
------------------

* Show Personal Timetable
* Change Summary
* Change Location
* Change Time
* Change URL
* Change Attendace (transp)
* Remove Events

Data Source
------------------
This plugin uses Sirius ical export to load data into radicale. Calendar events are cached in memory for faster access.

Authorization
------------------
Due to internal limitation of application Local Sirus token and CVUT username in format "{username}|{token}" is passed to username login.

Sirius Token can be found in URL link for ical export on timetable website::

https://sirius.fit.cvut.cz/api/v1/people/{username}/events.ical?access_token={token}

Example::

https://sirius.fit.cvut.cz/api/v1/people/pepazdepa/events.ical?access_token=xxxxxxx-7dfe-40b5-xxxx-43c82c858fb1

CVUT username -> pepazdpapa
Sirius Token -> xxxxxxx-7dfe-40b5-xxxx-43c82c858fb1

Radicale Username -> pepazdpapa|xxxxxxx-7dfe-40b5-xxxx-43c82c858fb1
Radicale Password -> {anything}

Instalation
------------------

pip install radicale-sirius-plugin

Configuartion
------------------

It is needed to set correct types plugins (auth and storage).

For configuration is posible to use radicale config file::

[auth]
type = radicale_sirius_plugin.auth
cache_expire = 600 (Optional set timelife of Credintial cache in sec )

[storage]
type = radicale_sirius_plugin.storage
cache_expire = 3000 (Optional set timelife of Sirius Event cache in sec )

Plugin uses original multifilesystem for datastoring. For more information see https://radicale.org/.

Running
------------------

Example radicale.config::

[auth]
type = radicale_sirius_plugin.auth
cache_expire = 600

[storage]
type = radicale_sirius_plugin.storage
cache_expire = 3000
filesystem_folder = ./radicale/collections

[server]
timeout = 300

Run::

python3 -m radicale --config "radicale.conf"

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

radicale-sirius-plugin-0.3.0.tar.gz (8.4 kB view details)

Uploaded Source

File details

Details for the file radicale-sirius-plugin-0.3.0.tar.gz.

File metadata

  • Download URL: radicale-sirius-plugin-0.3.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for radicale-sirius-plugin-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f54865b15521ad8bffabe7078beceeef0dafbd43c9ea6ff9c3d454725dc12556
MD5 c93be9a44f0290a1e49cc5c9ae10001e
BLAKE2b-256 a6c9fd674f6d4ff4c22725ec41ce7f9b8c03dcd57b3ff1992826155b51be6581

See more details on using hashes here.

Supported by

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