skillfed

tempora

tempora v5.12.0 1.1M downloads/30d#4,388 on PyPI23
Permissive license Apache-2.0 Active released

What it is and what it does

Tempora is a date and time utility library for Python that bundles commonly needed routines into a single package. It provides miscellaneous utilities and constants at the top level, a timing module for measuring and profiling code execution, a schedule module for event scheduling, and a utc module for working with UTC-aware datetime objects. The package is built on top of python-dateutil and several jaraco utility libraries, offering a convenient interface for tasks that would otherwise require multiple imports or custom implementations.

The library targets developers who need reliable datetime handling without building their own abstractions. It is actively maintained, has been in development since 2015, and supports current Python versions (3.10+). With no known vulnerabilities and a permissive Apache-2.0 license, it is a straightforward addition to projects that require scheduling, timing, or UTC datetime operations.

Use it for:

  • Schedule callbacks or events to run at specific times using the schedule module.
  • Measure code execution time and profile performance with the timing utilities.
  • Work with UTC-aware datetime objects without manual timezone handling.
  • Access common date and time constants and utilities without writing custom helpers.
  • Build applications that need reliable event scheduling alongside standard datetime operations.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides utilities, constants, and routines for working with dates, times, and scheduling in Python, including timing measurement, event scheduling, and UTC-aware datetime handling.

Yes. Tempora is actively maintained, has no known vulnerabilities, carries a permissive license, and installs with low friction. It is well-suited for projects that need date/time utilities, scheduling, or timing measurement. The only caveat is verifying that its event scheduler meets your specific performance or feature requirements before committing to it in production code.

Install

tempora on PyPI

pip

pip install tempora

uv

uv add tempora

poetry

poetry add tempora

Installing tempora

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained with a recent release (31 days ago) and a commit history through 2026-07-14. Depends on five well-established packages (python-dateutil, jaraco.* utilities, typing_extensions), all of which are common and lightweight.

License in practice

Licensed under Apache-2.0 (permissive), which allows commercial and private use with minimal restrictions—suitable for most projects.

Quickstart

pip install tempora

import tempora
from tempora import schedule

# Create a scheduler and add an event
scheduler = schedule.CallbackScheduler()
scheduler.at(target_time, callback_function)

Requires Python 3.10 or later.

Verify before relying

  • Whether the event scheduler is suitable for production use or primarily for simple use cases.
  • Performance characteristics when handling large numbers of scheduled events.
  • Whether UTC routines handle all edge cases (leap seconds, timezone transitions) correctly.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 5 — python-dateutil, jaraco.collections, jaraco.context, jaraco.functools, typing_extensions
Maintenance actively maintained — 31 days since the last release
Last repo commit
First released
Downloads 1,084,707/month — #4,388 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: tempora-5.12.0-py3-none-any.whl

Development Status :: 5 - Production/StableIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: Only

Tags

date time utilitiesevent scheduler pythontiming profilingutc datetime handlingschedule eventstime measurementdatetime constants
datetimeschedulingtiming

More Software Development packages