Miscellaneous

toggl2pl.rounded(minutes, base=5)

Round the number of provided minutes based on the amount of minutes.

Parameters
  • minutes (int) – Real number of minutes to apply round operation on.

  • base (int) – The base number of minutes to use in rounding.

Returns

Number of minutes rounded based on amount of real amount of minutes.

Return type

int

toggl2pl.__main__.main()

Main entry point used by toggl2pl tool to process command line arguments, parse configuration file and use the module API to interact with time trackers.

toggl2pl.__main__.parse_arguments()

Function to handle argument parser configuration (argument definitions, default values and so on).

Returns

argparse.ArgumentParser object with set of configured arguments.

Return type

argparse.ArgumentParser