Welcome to Python Utils’s documentation!¶
Contents:
- Useful Python Utils
- Links
- Security contact information
- Requirements for installing:
- Installation:
- Quickstart
- Examples
- Retrying until timeout
- Formatting of timestamps, dates and times
- Converting your test from camel-case to underscores:
- Attribute setting decorator. Very useful for the Django admin
- Scaling numbers between ranges
- Get the screen/window/terminal size in characters:
- Extracting numbers from nearly every string:
- Doing a global import of all the modules in a package programmatically:
- Automatically named logger for classes:
- python_utils package
- Submodules
- python_utils.decorators module
- python_utils.converters module
- python_utils.formatters module
- python_utils.import_ module
- python_utils.logger module
- python_utils.terminal module
- python_utils.time module
- Module contents
CastedDictLazyCastedDictLoggedLoggerBaseUniqueListabatcher()acount()aio_generator_timeout_detector()aio_generator_timeout_detector_decorator()aio_timeout_generator()batcher()camel_to_underscore()delta_to_seconds()delta_to_seconds_or_none()format_time()get_terminal_size()import_global()listify()raise_exception()remap()reraise()scale_1024()set_attributes()timedelta_to_seconds()timeout_generator()timesince()to_float()to_int()to_str()to_unicode()