hdx-python-utilities
HDX Python Utilities for streaming tabular data, date and time handling and other helpful functions
What it is and what it does
HDX Python Utilities is a general-purpose library that bundles common utility functions for data handling, file operations, and text processing. It wraps or provides helpers around tasks like downloading files with authentication and hashing, loading and saving JSON and YAML while preserving order, date/time manipulation, dictionary and list operations, HTML parsing, logging setup, and URL handling.
The library is designed for developers who need these utilities without building them from scratch. It brings together 15 runtime dependencies including frictionless, openpyxl, requests-file, ruamel-yaml, and others to provide a cohesive interface for common operations. It's part of the Humanitarian Data Exchange project but explicitly notes these utilities are not HDX-specific.
Use it for:
- Download files from URLs with built-in support for authentication, streaming, and hash verification
- Load and save JSON or YAML data while maintaining key order across Python versions
- Parse and manipulate tabular data using frictionless and Excel libraries
- Set up structured logging and error handling quickly without boilerplate
- Process and validate text, URLs, UUIDs, and other common data formats
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a collection of utilities for Python developers covering file downloading, data retrieval, JSON/YAML handling, date operations, text processing, hashing, logging, and URL manipulation.
Yes, if you need a grab-bag of utility functions for data handling and file operations. The library is actively maintained, has no known vulnerabilities, and installs with low friction. The MIT license is permissive. However, its 15 runtime dependencies mean you're pulling in a substantial dependency tree; evaluate whether you need the full suite or could use smaller, focused libraries instead.
Install
hdx-python-utilities on PyPI
pip
pip install hdx-python-utilitiesuv
uv add hdx-python-utilitiespoetry
poetry add hdx-python-utilitiesInstalling hdx-python-utilities
Before you install
Low friction installation with a pure-Python wheel. Actively maintained as of 2026-06-16 with recent activity. Supports Python 3.10 through 3.14.
License in practice
MIT license (permissive) allows use in commercial and open-source projects with minimal restrictions.
Quickstart
pip install hdx-python-utilities
from hdx_python_utilities.utilities.dictionary import merge_dictionaries
result = merge_dictionaries({"a": 1}, {"b": 2})
Requires Python 3.10 or later.
Verify before relying
- Whether all 15 runtime dependencies are required for core functionality or if some are optional/conditional imports
- Performance characteristics when handling large files or streaming data
- Specific authentication methods supported beyond the general 'authentication' claim in description
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 15 — frictionless, ijson, jsonlines, loguru, openpyxl, pyphonetics, python-dateutil, ratelimit, requests-file, ruamel-yaml, tableschema-to-template, typing-extensions, xlrd, xlsx2csv, xlwt |
| Maintenance | actively maintained — 59 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 561,011/month — #5,999 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: hdx_python_utilities-4.1.2-py3-none-any.whl
Keywords: HDX, date, datetime, dict, json, library, list, streaming, tabular data, time, timezone, utilities, yaml
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
hdx-python-countryMaps country and region codes and names,…
permissive · top 15,000 on PyPI
trx-pythonReads, writes, and manipulates TRX tractography…
permissive · top 15,000 on PyPI
bx-py-utilsA collection of utility functions covering…
permissive · top 15,000 on PyPI
application-propertiesLoads and retrieves application configuration…
permissive · top 5,000 on PyPI
prophecy-libsProvides runtime support and helper utilities…
copyleft · top 15,000 on PyPI
bpyutilsProvides a collection of common Python…
permissive · top 5,000 on PyPI
shutilsProvides utility tools for Python development,…
permissive · top 15,000 on PyPI
iaqualinkAsynchronous Python library for monitoring and…
permissive · top 15,000 on PyPI
nox-uvnox-uv replaces nox's standard session…
permissive · top 15,000 on PyPI
opowerFetches historical and forecasted energy usage…
permissive · top 15,000 on PyPI