Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

timetravel-1.0.tar.gz (12.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page