A time machine for your calendar.
Project description
[![BuildStatus](https://travis-ci.org/bmweiner/timetravel.svg?branch=master)](https://travis-ci.org/bmweiner/timetravel)
# timetravel
A simple utility for bulk shifting all event dates in your calendar.
Shift to a specific date in reference to the first or last event in the calendar or by a certain number of days either forward or backward .
from timetravel import machine machine(‘cal.ics’, shift=’20161108’, event=’first’)
machine will output a new calendar next to the source file appended with today’s date.
For a summary, just enable report.
machine(‘cal.ics’, report=True)
(‘Events Modified’, ‘:’, 3) (‘Days Traveled’, ‘:’, 7) (‘Origination’, ‘:’, ‘20161101’) (‘Destination’, ‘:’, ‘20161108’)
See the example [jupyter notebook](https://github.com/bmweiner/timetravel/blob/master/example/example.ipynb) or parse [docstring](https://github.com/bmweiner/timetravel/blob/master/timetravel/parse.py#L10) for more info.
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
File details
Details for the file timetravel-1.0.tar.gz
.
File metadata
- Download URL: timetravel-1.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cecc91acc3f52839e62a326f19b9cbb0b3b4393c1870c9503fff0130b70e424 |
|
MD5 | 02a75c195e72b0c85a1207ee7641d97f |
|
BLAKE2b-256 | ef84449b9a580605accd0e0813f2404c88b81f1dd688849b165b8a40a3b7fa79 |