Skip to main content

Python utils for everyday use.

Project description

Python Humble Utils

Build Status Updates Coverage Code Climate Latest Version Supported Python Versions Documentation Status MIT License Join the chat at

Python utils for everyday use.

Feature Areas

  • File operations.
  • File/directory paths extraction.
  • File/directory paths randomization.
  • String case conversions.
  • Python class convenience shortcuts.
  • py.test fixtures and helpers.


$ pip install python-humble-utils

or install from sources:

$ python install

Refer to Installation for detailed instructions.


import os

from python_humble_utils.commands import (

# ...

file_paths = yield_file_paths(dir_path=os.path.join('dir', 'with', 'scripts'),
                              allowed_file_extensions=['.sh', '.bash'],
# assert set(file_paths) == set(['', 's2.bash', 's3.bash'])

s = camel_or_pascal_case_to_snake_case('camelCasedString')
# assert s == 'camel_cased_string'

s = camel_or_pascal_case_to_snake_case('PascalCasedString')
# assert s == 'pascal_cased_string'

# ...


Your contributions are very much welcome! Refer to Contributing for more details.

Code of Conduct

All those using python-humble-utils, including its codebase and project management ecosystem are expected to follow the Python Community Code of Conduct.


This package was scaffolded via Cookiecutter with audreyr/cookiecutter-pypackage template.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
python_humble_utils-2.0.0-py2.py3-none-any.whl (9.3 kB) Copy SHA256 hash SHA256 Wheel 3.5
python-humble-utils-2.0.0.tar.gz (16.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page