Ics.py : iCalendar for Humans
Original repository (GitHub) - Bugtracker and issues (GitHub) - PyPi package (ics) - Documentation (Read The Docs).
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.
Links
Release files for ics 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ics-0.3.1.tar.gz | 37.3 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ics-0.3.1-py3.4.egg | Legacy Egg format | - | - | Details |
| ics-0.3.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
| ics-0.3.1-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 111.4 kB
Release files / ics-0.3.1.tar.gz
| Download URL | ics-0.3.1.tar.gz |
|---|---|
| Size | 37.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38406ceffb16094db20c2153f5d43745be4cae513e41f61604e516e847855938
|
|
BLAKE2b-256 checksum How to use checksums |
e0b66238912420684e3da7c81c13012e28df6f0c2c978c37e5c57838b9987cc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ics-0.3.1-py3.4.egg
| Download URL | ics-0.3.1-py3.4.egg |
|---|---|
| Size | 38.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
694ce925cbd30e6a74a7eac2a37b2caa8ee5efdf2d4961330f2be9f547eec2ae
|
|
BLAKE2b-256 checksum How to use checksums |
c42d8e7eac3df66198e732bf161a009e03868b87994053ee343eda72a70644bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ics-0.3.1-py2.py3-none-any.whl
| Download URL | ics-0.3.1-py2.py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e8901b2b010ac6ced817e09f7842340428355ed879da5b6d8a582b6d29a08d5e
|
|
BLAKE2b-256 checksum How to use checksums |
d2e11dc646fbc36831cdd5e3a4ebd3b83113d9bbfbfe702f45cbf03ab13a071b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ics-0.3.1-py2.7.egg
| Download URL | ics-0.3.1-py2.7.egg |
|---|---|
| Size | 16.4 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
c44c04bfd63087cec98c7802f21ac634e8ab61b2c66fc0b682a8a9b29b87a2dd
|
|
BLAKE2b-256 checksum How to use checksums |
7db101fae314d18bfb01419332e5e3528a229ad5094951876c8a17b79dbfd04d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |