Skip to main content

htd

htd stands for human time delta and is a micro-library to parse strings such as 7d4h into timedelta(days=7, hours=4).

Install

pip install htd

With Poetry:

poetry add htd

Usage

import htd

htd.parse("7d")
# => datetime.timedelta(days=7)

Metadata

Release files for htd 0.0.2

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

Source distribution (sdist)

Source distribution for htd 0.0.2
File Size Uploaded
htd-0.0.2.tar.gz 1.8 kB Details

Built distribution (wheel)

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

Total release size: 4.4 kB

Release files / htd-0.0.2.tar.gz

Download URL htd-0.0.2.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6606230a7bb874fe6f91a05746ed13eff918ba2c3b5550bbfeb89b7096600a34
BLAKE2b-256 checksum
How to use checksums
45c5b5118aae799b4ea732c2a1acf158f6b6248579211afba67ba6ebc1556a5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.

Transparency log

Release files / htd-0.0.2-py3-none-any.whl

Download URL htd-0.0.2-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57eb1acb0adca70aaab09beb34337cc61aa0579f7c25a27d3ee508f43021dd56
BLAKE2b-256 checksum
How to use checksums
8800f7d8dee2d467470944420fb76c8b24ebd1334c90be25e57e8d49a4d809de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

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