package timelinelib.db

timelinelib.db.db_open(path, timetype=None)[source]

Create timeline database that can read and write timeline data from and to persistent storage identified by path.

Throw a TimelineIOError exception if not able to read from the given path.

Valid values for path:

  • special string “:tutorial:”

  • special string “:numtutorial:

  • string with suffix .timeline

  • string with suffix .ics

  • string denoting a directory

timelinelib.db.open_gregorian_tutorial_timeline(path)[source]
timelinelib.db.open_numeric_tutorial_timeline(path)[source]
timelinelib.db.open_directory_timeline(path)[source]
timelinelib.db.db_open_timeline(path, timetype=None)[source]
timelinelib.db.db_open_newtype_timeline(path, timetype=None)[source]
timelinelib.db.dir_is_read_only(path)[source]
timelinelib.db.db_open_ics(path)[source]
timelinelib.db.file_starts_with(path, start)[source]
timelinelib.db.read_first_line(path)[source]