Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 726 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 726 Bytes

picsexl

PyPI License

Converter from ics format to xls

Installation

pip install picsexl

Example

from datetime import datetime, timezone
from picsexl import PIcsExl

p = PIcsExl(
    file_path="/path/to/your/file.ics",
    mail_to="[email protected]",
    start_date=datetime(2022, 10, 1, 0, 0, 0, tzinfo=timezone.utc),
    end_date=datetime(2022, 10, 30, 23, 59, 59, tzinfo=timezone.utc),
    to_timezone="America/Los_Angeles",
)
p.run_sniff_and_write_ics_lines()