{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/7"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/14"},{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/2"}],"enrichment":{"capability":"Parses human-readable time and bitrate strings (e.g. '120 sec', '1 Gbps') and converts them to numeric values in different units, or formats numeric values back to human-readable strings.","skillfed_tags":["unit-conversion","parsing"],"use_cases":["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."],"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'.\n\nThe 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.","worth_installing":"Yes. The package solves a real parsing problem with minimal overhead\u2014a 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."},"id":"humanreadable","links":{"html":"https://skillfed.io/packages/humanreadable","md":"https://skillfed.io/packages/humanreadable.md","pypi":"https://pypi.org/project/humanreadable/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-09","license_spdx":null,"license_treatment":"permissive","name":"humanreadable","python_support":"supports_current","summary":"humanreadable is a Python library to convert human-readable values to other units."},"popularity":{"monthly_downloads":277909,"position":8141,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.3"}
