bx-py-utils
Various Python utility functions
What it is and what it does
bx_py_utils is a grab-bag of utility functions for common Python development tasks, organized into modules for anonymization, dictionary manipulation, file operations, hashing, HTML parsing, AWS integration, and documentation generation. It has no runtime dependencies and is designed to be dropped into projects that need a few helper functions without adding significant overhead.
The package covers practical needs: anonymizing strings and dictionary values, working with nested dicts, generating file hashes, managing temporary files, converting HTML to text, accessing AWS Secrets Manager, and generating documentation from code. It's maintained actively and supports modern Python versions (3.10–3.13), making it a low-friction option for teams that want a lightweight utility layer without committing to a larger framework.
Use it for:
- Anonymize personally identifiable information in logs or exports before sharing data.
- Extract nested values from dictionaries using dot-notation paths without manual key traversal.
- Generate and verify file hashes while processing uploads or managing file integrity.
- Convert HTML content to plain text for email bodies or text-only output.
- Retrieve secrets from AWS Secrets Manager with a simple wrapper interface.
- Generate or validate README documentation automatically from code docstrings.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A collection of utility functions covering anonymization, dictionary operations, file handling, hashing, HTML processing, and AWS integration for common Python development tasks.
Yes. No runtime dependencies, active maintenance, permissive MIT license, and a broad collection of genuinely useful utilities make this a low-risk addition to most Python projects. Install if you need any of its utilities and want to avoid writing them yourself; skip only if you prefer to keep dependencies minimal or have already implemented equivalent helpers.
Install
bx-py-utils on PyPI
pip
pip install bx-py-utilsuv
uv add bx-py-utilspoetry
poetry add bx-py-utilsInstalling bx-py-utils
Before you install
Low install friction with no runtime dependencies. Active maintenance—last release 3 days ago, repository updated 2026-08-12, supporting Python 3.10 through 3.13.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install bx_py_utils
from bx_py_utils.anonymize import anonymize
from bx_py_utils.dict_utils import dict_get
result = anonymize('user@example.com')
value = dict_get({'a': {'b': 'c'}}, 'a.b')
Requires Python 3.11 or later.
Verify before relying
- Whether all listed utility modules (aws, graphql_introspection, doc_write) are fully functional or still experimental.
- Performance characteristics for large-scale operations (e.g., hashing very large files, processing large dictionaries).
- Test coverage and stability guarantees for individual utility functions.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 121,371/month — #11,982 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: bx_py_utils-121-py3-none-any.whl
Keywords: utilities
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
bpyutilsProvides a collection of common Python…
permissive · top 5,000 on PyPI
nr-utilnr.util provides general-purpose utility…
permissive · top 15,000 on PyPI
commoncodeCommonCode provides utility functions for…
unclear · top 15,000 on PyPI
shutilsProvides utility tools for Python development,…
permissive · top 15,000 on PyPI
wimpyWimpy provides a collection of commonly reused…
permissive · top 15,000 on PyPI
reqifReqIF is a Python library for parsing,…
permissive · top 15,000 on PyPI
arm-pytorch-utilitiesProvides utility functions for PyTorch…
permissive · top 15,000 on PyPI
torch-einops-utilsProvides utility functions for PyTorch and…
permissive · top 15,000 on PyPI
hdx-python-utilitiesProvides a collection of utilities for Python…
permissive · top 15,000 on PyPI