Skip to main content

A tool to create multiple vcalendar tasks at once to speed up decentralized specialized manufacturing.

Project description

icsToDoCreator

Originally created for MakerVsVirus to help organize the progress of printing a couple hundred pieces per model for any model the customer desires.

Supported VCALENDAR attributes

Syntax: <attribute>: <type> = <default value>

summary: str,
type: str = "VTODO",
uid: str = get_random_uid(),
created: str = datetime.now().strftime("%Y%m%dT%H%M%S"),
last_modified: str = datetime.now().strftime("%Y%m%dT%H%M%S"),
dtstamp: str = (datetime.now()).strftime("%Y%m%dT%H%M%S"),
dtstart: str = (datetime.now()).strftime("%Y%m%dT%H%M%S"),
due: str = None,
status: str = "NEEDS-ACTION",
percent_complete: [str, int, float] = 0,
priority: [str, int] = 0,
categories: [List[str], str] = None,
description: str = None

Note: uid needs to be set on every new item. Otherwise every new item will have the same uid, which is not acceptable for external programs.

If outdated, check __init__.py

Save objects to file

Use write_task to store your events.

Syntax: <attribute>: <type> = <default value>

header: dict = {
    "version": "2.0",
    "calscale": "GREGORIAN",
    "prodid": "-//SabreDAV//SabreDAV//EN",
    "x-wr-calname": "icsToDoCreator",
    "refresh-interval;value=duration": "PT4H",
    "x-published-ttl": "PT4H"
}
filename: str = "output.ics"
tasks: List[Event] = None```


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

icsTodoCreator-0.2.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

icsTodoCreator-0.2-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

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