Skip to main content

Python icalendar (rfc5545) parser

Project description

Original repository (GitHub) - Bugtracker and issues (GitHub) - PyPi package (ics) - Documentation (Read The Docs).

https://travis-ci.org/C4ptainCrunch/ics.py.png?branch=master Coverage Apache 2 License

Ics.py is a pythonic and easy iCalendar library. It’s goals are to read and write ics data in a developer friendly way.

iCalendar is a widely-used and useful format but not user friendly. Ics.py is there to give you the ability of creating and reading this format without any knowledge of it.

It should be able to parse every calendar that respects the rfc5545 and maybe some more… It also outputs rfc compliant calendars.

iCalendar (file extension .ics) is used by Sunbird, Google Calendar, Apple Calendar, Android…

Ics.py is available for Python>=2.7 and Python>=3.3 and is Apache2 Licensed.

Quickstart

$ pip install ics
>>> from ics import Calendar, Event
>>> c = Calendar()
>>> e = Event()
>>> e.name = "My cool event"
>>> e.begin = '20140101 00:00:00'
>>> c.events.append(e)
>>> c.events
[<Event 'My cool event' begin:2014-01-01 00:00:00 end:2014-01-01 00:00:01>]
>>> with open('my.ics', 'w') as my_file:
>>>     my_file.writelines(c)
>>> # and it's done !

More examples are available in the documentation.

Documentation

All the documentation is hosted on readthedocs.org and is updated automatically at every commit.

Contribute

Contribution are welcome of course! For more information, see contributing.

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

ics-0.3.1.tar.gz (37.3 kB view details)

Uploaded Source

Built Distributions

ics-0.3.1-py3.4.egg (38.6 kB view details)

Uploaded Egg

ics-0.3.1-py2.py3-none-any.whl (19.2 kB view details)

Uploaded Python 2Python 3

ics-0.3.1-py2.7.egg (16.4 kB view details)

Uploaded Egg

File details

Details for the file ics-0.3.1.tar.gz.

File metadata

  • Download URL: ics-0.3.1.tar.gz
  • Upload date:
  • Size: 37.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ics-0.3.1.tar.gz
Algorithm Hash digest
SHA256 38406ceffb16094db20c2153f5d43745be4cae513e41f61604e516e847855938
MD5 7fc6637b132be74ccb42f455ec4009da
BLAKE2b-256 e0b66238912420684e3da7c81c13012e28df6f0c2c978c37e5c57838b9987cc7

See more details on using hashes here.

File details

Details for the file ics-0.3.1-py3.4.egg.

File metadata

  • Download URL: ics-0.3.1-py3.4.egg
  • Upload date:
  • Size: 38.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ics-0.3.1-py3.4.egg
Algorithm Hash digest
SHA256 694ce925cbd30e6a74a7eac2a37b2caa8ee5efdf2d4961330f2be9f547eec2ae
MD5 0911b429a26ce19ff5ae26126035fd40
BLAKE2b-256 c42d8e7eac3df66198e732bf161a009e03868b87994053ee343eda72a70644bf

See more details on using hashes here.

File details

Details for the file ics-0.3.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ics-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e8901b2b010ac6ced817e09f7842340428355ed879da5b6d8a582b6d29a08d5e
MD5 7e08f64ac8f0fa5b1de660b7b294d2cc
BLAKE2b-256 d2e11dc646fbc36831cdd5e3a4ebd3b83113d9bbfbfe702f45cbf03ab13a071b

See more details on using hashes here.

File details

Details for the file ics-0.3.1-py2.7.egg.

File metadata

  • Download URL: ics-0.3.1-py2.7.egg
  • Upload date:
  • Size: 16.4 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ics-0.3.1-py2.7.egg
Algorithm Hash digest
SHA256 c44c04bfd63087cec98c7802f21ac634e8ab61b2c66fc0b682a8a9b29b87a2dd
MD5 4d52bcd5517e5dc813acd05e4ea15ec4
BLAKE2b-256 7db101fae314d18bfb01419332e5e3528a229ad5094951876c8a17b79dbfd04d

See more details on using hashes here.

Supported by

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