Skip to main content

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

Unlicense.

Metadata

Release files for wadu 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wadu 0.0.1
File Size Uploaded
wadu-0.0.1.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wadu 0.0.1
File Interpreter ABI Platform
wadu-0.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 25.5 kB

Release files / wadu-0.0.1.tar.gz

Download URL wadu-0.0.1.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d241b984c9f9d53ca0c5220e798b4083682fb41e6e038137ffaa790c6983e901
BLAKE2b-256 checksum
How to use checksums
da3bd61eb4781176c8ffce458040e1e860007f72a935bccf287de66332f4e0d4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / wadu-0.0.1-py2.py3-none-any.whl

Download URL wadu-0.0.1-py2.py3-none-any.whl
Size 12.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
87c004846c355ab6b942be909fdd07d23aa1bb02b0f93780a397bef868affe8e
BLAKE2b-256 checksum
How to use checksums
a31c8b6a1b6ac65b3ccbcc1a5bdaee24da4b41760f809803c0b746618125275e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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