bpod_core.misc
Miscellaneous tools that don’t fit the other categories.
Module Attributes
Match non-alphanumeric characters except underscores. |
|
Match acronym boundaries. |
|
Match case and digit transitions. |
|
Match multiple consecutive underscores. |
Functions
Extend a bytearray with packed binary values. |
|
Determine the primary local IPv4 address of the machine. |
|
Retrieve a value from a nested dict using a Sequence of keys. |
|
Remove empty parent directories recursively up to root directory. |
|
Set a value in a nested dict, creating intermediate dicts as needed. |
|
Suggest a similar valid string based on the given invalid string. |
|
Convert a given string to snake_case. |
Classes
Mixin that automatically inherits docstrings from parent classes. |
|
A dictionary-like persistent settings storage backed by a JSON file. |
|
A dict-like container with runtime validation for keys and values. |