skillfed

bx-py-utils

Various Python utility functions

bx-py-utils v121 121.4K downloads/30d#11,982 on PyPI7
Permissive license MIT Active released

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-utils

uv

uv add bx-py-utils

poetry

poetry add bx-py-utils

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries :: Python Modules

Tags

python utility functions librarydict manipulation helpersfile hashing and temp filesanonymization utilitiesaws secrets manager integrationhtml parsing and conversionstring and filename utilities
utility-libraryno-dependenciesaws-integration

More Python Modules packages