Open
Description
- Reflection - class functions
- wraps for class (no final name yet, will be redesigned, deprecated version: https://github.com/opendilab/treevalue/blob/main/treevalue/utils/clazz.py#L9)
- 【deprecate】common parent class (See https://github.com/opendilab/treevalue/blob/main/treevalue/utils/clazz.py#L143)
- common direct parent class (See https://github.com/opendilab/treevalue/blob/main/treevalue/utils/clazz.py#L160)
- class decorator for quickly class build (such as autorepr, autostate, autojson, etc)
- Random - random functions
- better shuffle function
- better choice function (including multiple choice, non-duplicated multiple choice)
- quick random string (such as
random_digits
,random_alphabets
) - quick random patterned string (such as
random_base64
,random_md5
) - timestamp-based random token
- Concurrency - concurrent utilities
- double event (can open or close, see https://github.com/opendilab/DI-engine/blob/main/ding/interaction/base/threading.py#L5)
- Concurreny executor with topological order
- Color - color system
- color system classes (see: https://github.com/opendilab/treevalue/blob/main/treevalue/utils/color.py)
- color generating functions (see: https://github.com/opendilab/treevalue/blob/main/treevalue/tree/tree/graph.py#L176)
- String - string utilities
- truncate (processing too-long string)
- pluralize (see: https://pypi.org/project/inflect/)
- templated_string (often used in cli or configuration system)
Metadata
Assignees
Labels
No labels