Skip to main content

Checked with mypy linting: pylint Code style: black

Codecov Checks Type Check and Lint Unit Tests pre-commit.ci status

PyPI version info PyPI supported Python versions Documentation Status Download Counter Latest release

A package to convert user input into datetime.timedelta objects.

PyPI: https://pypi.org/project/time-str/

Docs: https://time-str.readthedocs.io/en/latest/

Installation

You can install released versions of time_str from the Python Package Index via pip or a similar tool:

Stable Release: pip install time_str

Working Version: pip install git+https://github.com/BobDotCom/time_str.git

Usage

import time_str
converter = Converter('11 months 9days 1m 3 sec')
print(converter.timedelta_precise())
print(converter.datetime_precise())

Metadata

Release files for time-str 1.0.0

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

Source distribution (sdist)

Source distribution for time-str 1.0.0
File Size Uploaded
time_str-1.0.0.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for time-str 1.0.0
File Interpreter ABI Platform
time_str-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.2 kB

Release files / time_str-1.0.0.tar.gz

Download URL time_str-1.0.0.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a875958494e9c8fd0f8b99acd48cd6fe206a94786be1a9a6d49470c9ced03160
BLAKE2b-256 checksum
How to use checksums
4ce7e0bdd2332d74f67e341e4cbc82cea98ff91f0bf55407eec7436dc39bad17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / time_str-1.0.0-py3-none-any.whl

Download URL time_str-1.0.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74e11235e6585c99318fe4d3a3dd7e7709ba46c30ce013f0ca1e5ff08ea10530
BLAKE2b-256 checksum
How to use checksums
11570e39a2aa7ea369d9317d3d89763ce2ee03bc7355049c02dcacb3fd7dda01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6
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