Metadata-Version: 2.1
Name: timespent
Version: 1.0.1
Summary: Python Package to Calculate time spent for any list of dict-like objects with date/time data
Author-email: Joseph Gonzalez Diaz <jgonzalezdiaz@ebay.com>
Project-URL: Homepage, https://github.com/ebay/timespent
Project-URL: Issues, https://github.com/ebay/timespent/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: clientwrapper

# timespent (licensed under Apache 2.0)
Python package for calculating time spent in any list of dict with date/time fields.

Key Features:
- WorkSession: class for representing a span of time. Can be saved in pandas DataFrame.
- map_dicts_to_work_sessions: maps list of dict to WorkSession objects for duration calculation.
- calculate_timespent: calculates total time spent in a list of WorkSession objects.
- calculate_timespent_as_hours: calculates total time spent in a list of WorkSession objects in hours (float).
- unique_days_worked: returns list of unique days worked.
