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
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
icsTodoCreator-0.2.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for icsTodoCreator-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17dcc4d14f0515dd39439f4686d45ef7a4f39e55a2b6bf4c6562b0ba9f8c49c7 |
|
MD5 | 6cb45f7594bdf34a1fa9395c590fcb24 |
|
BLAKE2b-256 | ad443aa3a0cefbf948cf93fafd95c99915faf8afd55d08f9c95f3a334bc8f614 |