{"repo":"mivanit/muutils","free":true,"listed":false,"github":"https://github.com/mivanit/muutils","clone":"git clone https://github.com/mivanit/muutils.git","description":"collection of miscellaneous python utilities -- including but not limited to serialization, logging, tensor shenanigans, and more","language":"Python","stars":11,"topics":["logging","serialization","utility"],"license":"GPL-3.0","category":"analytics","readme_excerpt":"muutils , stylized as \"$\\mu$utils\" or \"μutils\", is a collection of miscellaneous python utilities, meant to be small and with no dependencies outside of standard python. installation PyPi: muutils Optional dependencies: documentation https://miv.name/muutils modules Module Description -------- ------------- statcounter Extension of collections.Counter with smart stats computation (mean, variance, percentiles) dictmagic Dictionary utilities: dotlist conversion, DefaulterDict , tensor dict condensing kappa Anonymous getitem ( Kappa(lambda x: x 2)[2] returns 4 ) sysinfo System information collection for logging misc Utilities: stable hash , list join / list split , filename sanitization, freeze interval Mathematical intervals (open/closed/half-open) with containment, clamping, set operations errormode Enum-based error handling (raise/warn/log/ignore) validate type Runtime type validation for basic and generic types console unicode Safe console output with Unicode/ASCII fallback spinner Animated spinners with elapsed time and status updates timeit fancy Enhanced timing with multiple runs, profiling, and statistics dbg Debug printing inspired by Rust's dbg! macro collect warnings Context manager to capture and summarize warnings parallel Simplified parallel processing with progress bars jsonlines Simple jsonl file reading/writing group equiv Group elements by equivalence relation (non-transitive) json serialize Serialize arbitrary Python objects to JSON (works with ZANJ) nbutils J","default_branch":null,"files":null,"tree":[],"storefront":"/r/mivanit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mivanit/muutils/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}