mentortools/libs/: time-tools-1.0.58210 metadata and description

Simple index Newer version available

Tools to organise consistent and fail proof time-based logic

author Mike Orlov
author_email m.orlov@technokert.ru
classifiers
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.11
description_content_type text/markdown
requires_python >=3.11,<4.0
File Tox results History
time_tools-1.0.58210-py3-none-any.whl
Size
3 KB
Type
Python Wheel
Python
3
time_tools-1.0.58210.tar.gz
Size
2 KB
Type
Source

Time tools

Tools to organise consistent and fail proof time-based logic

Minimal usage example

from time_tools import TimestampSec

some_client_timestamp_sec = 1234567890
other_client_timestamp_ms = 1234567890000
assert TimestampSec(some_client_timestamp_sec) == TimestampSec(other_client_timestamp_ms)