Skip to main content

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.

Metadata

Release files for timespent 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for timespent 1.0.1
File Size Uploaded Provenance
timespent-1.0.1.tar.gz 7.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for timespent 1.0.1
File Interpreter ABI Platform
timespent-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.0 kB

Release files / timespent-1.0.1.tar.gz

Download URL timespent-1.0.1.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
38d43562a52434f3784b6f809b8b3b76b3231990b7496940cc5eb4901fb7eeea
BLAKE2b-256 checksum
How to use checksums
8d09ec97feb5bcaa4aa05980255230ad46835bbf3731365d1b8f4c6c8b114277
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.6

Release files / timespent-1.0.1-py3-none-any.whl

Download URL timespent-1.0.1-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d396e5d194c0b7449c6861cccadd977807db5a4d06acff178e61064f54141a3e
BLAKE2b-256 checksum
How to use checksums
86360ef5e6022f9bbd0a16d34646993b764fb132f7caec85084e1a8190bb7f78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.6

Security for timespent 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page