$npx skillfedfor your agent

humanreadable

humanreadable is a Python library to convert human-readable values to other units.

Worth itPyPI LibrariesReleased May 2026277.9K downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — humanreadable-0.4.3-py3-none-any.whl
v0.4.3 · released 2026-05-09 · Python >=3.10 · 1 runtime deps: typepy

Yes. The package solves a real parsing problem with minimal overhead—a single lightweight dependency, no security issues, and active maintenance. Install it if you need to accept or format human-readable time or bitrate strings; skip it if your code works only with numeric values already in a fixed unit.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low friction: pure Python wheel with a single runtime dependency (typepy).
  • Actively maintained with a recent release (97 days ago) and last commit on 2026-07-20.

License · maintenance · safety

MIT License (permissive) — MIT License (permissive) — you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2026-05-09 (97 days) · last repo commit 2026-07-20 · 21 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 277,909 downloads/mo, #8,141 on PyPI

Verify before relying

import humanreadable as hr

# Parse human-readable time
value = hr.Time("120 sec")
print(value.milliseconds)  # 120000.0
print(value.minutes)       # 2.0

# Parse bitrate
speed = hr.BitsPerSecond("1 Gbps")
print(speed.mega_bps)      # 1000.0
  • Whether the package handles edge cases like malformed input or ambiguous unit strings gracefully.
  • Performance characteristics when parsing very large batches of values.
  • Exact behavior when both a numeric value and a unit specifier are provided.
Same gist for agents: .md · .json

What it is and what it does

humanreadable is a lightweight Python library that bridges the gap between human-friendly time and bitrate notation and numeric computation. It parses strings like '12 min 40 sec' or '1 Gbps' into Time and BitsPerSecond objects, then lets you access the value in any supported unit (seconds, milliseconds, Mbps, Kibps, etc.). It can also reverse the process: format a numeric duration back into a human-readable string like '6 minutes 40 seconds' or the compact form '6m 40s'.

The library depends only on typepy for runtime validation and is distributed as a pure Python wheel, making installation straightforward. It supports time units from days down to microseconds, and bitrate units from bps up to Tibps in both decimal (Mbps) and binary (Mibps) variants. The package is actively maintained, supports Python 3.10 through 3.14, and carries no known security vulnerabilities.

Use it for

  • Parse timeout or duration strings from configuration files or CLI arguments into seconds for use in sleep() or timeout parameters.
  • Convert network bandwidth specifications (e.g. from API docs or user input) into bits per second for rate-limiting or capacity calculations.
  • Format elapsed time or performance metrics back into human-readable strings for logs, reports, or user-facing output.
  • Normalize time or bitrate values from different sources (some in seconds, some in minutes) into a common unit for comparison.
  • Build CLI tools or config parsers that accept flexible time/bitrate notation without requiring users to specify units numerically.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package solves a real parsing problem with minimal overhead—a single lightweight dependency, no security issues, and active maintenance. Install it if you need to accept or format human-readable time or bitrate strings; skip it if your code works only with numeric values already in a fixed unit.

Install

humanreadable on PyPI

Before you install

Low friction: pure Python wheel with a single runtime dependency (typepy). Actively maintained with a recent release (97 days ago) and last commit on 2026-07-20.

Requires Python 3.10 or later.

License in practice

MIT License (permissive) — you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

import humanreadable as hr

# Parse human-readable time
value = hr.Time("120 sec")
print(value.milliseconds)  # 120000.0
print(value.minutes)       # 2.0

# Parse bitrate
speed = hr.BitsPerSecond("1 Gbps")
print(speed.mega_bps)      # 1000.0

Verify before relying

  • Whether the package handles edge cases like malformed input or ambiguous unit strings gracefully.
  • Performance characteristics when parsing very large batches of values.
  • Exact behavior when both a numeric value and a unit specifier are provided.

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
typepy
MaintenanceActively maintained 97 days since the last release
Last repo commit
First released
Downloads277,909 / month, #8,141 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text ProcessingTyping :: Typed

Evidence: humanreadable-0.4.3-py3-none-any.whl

Tags

Capabilities
parse human readable timeconvert time unitsbitrate string parserhuman readable to secondstime duration converterbits per second converterformat duration human readable
Topics
unit-conversionparsing
PyPI keywords
human-readableconverter

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “parse human readable time”

  • humanreadableParses human-readable time and bitrate strings (e.g. '120 sec', '1…
  • pytimeparseParses human-readable time expressions (like '2h32m', '1.2 minutes',…
  • deltaParses human-readable duration strings like '1 hour' or '2 months and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also msgfy · pytimeparse · pytimeparse2 · ago · about-time · human-readable · humanize · delta · metomi-isodatetime · durationpy