Recurrence rules for calendar events
Project description
Wadu
Wadu implements recurrence rules for calendar events.
Features
- sane: the implementation is fairly linear and straightforward, making it easy enough to follow the code paths and make sense of them.
- compliant: implements the RFC 5545 specification but also with the unambiguous JSCalendar draft from IETF.
Usage
# The 1st Friday of each month, for 10 occurrences.
rule = RecurrenceRule(MONTHLY,
on_week_days=(FRIDAY(1),),
count=10)
for dttm in rule:
print(dttm)
# Every other year on January and February, starting on a given date.
rule = RecurrenceRule(YEARLY,
interval=2,
on_months=(JANUARY, FEBRUARY),
count=10)
start = datetime(1997, 3, 10, hour=9)
for dttm in rule.iterate_from(start):
print(dttm)
Repository
https://github.com/christophercrouzet/wadu
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wadu-0.0.1.tar.gz
(13.3 kB
view details)
Built Distribution
wadu-0.0.1-py2.py3-none-any.whl
(12.3 kB
view details)
File details
Details for the file wadu-0.0.1.tar.gz
.
File metadata
- Download URL: wadu-0.0.1.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d241b984c9f9d53ca0c5220e798b4083682fb41e6e038137ffaa790c6983e901
|
|
MD5 |
b85022e7a24eef4aeec2a12a92dc8daa
|
|
BLAKE2b-256 |
da3bd61eb4781176c8ffce458040e1e860007f72a935bccf287de66332f4e0d4
|
File details
Details for the file wadu-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: wadu-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
87c004846c355ab6b942be909fdd07d23aa1bb02b0f93780a397bef868affe8e
|
|
MD5 |
7e754893c2afdc8d32693dfacd1c9f9b
|
|
BLAKE2b-256 |
a31c8b6a1b6ac65b3ccbcc1a5bdaee24da4b41760f809803c0b746618125275e
|