Modules
Overview of all ucharm runtime modules
ucharm includes 50+ native modules implemented in Zig for maximum performance and minimal binary size.
| Module | Description |
|---|
| charm | Boxes, tables, progress bars, spinners, status messages |
| input | Interactive prompts: select, multiselect, confirm, password |
| term | Terminal control: size, cursor, raw mode |
| ansi | ANSI escape codes for colors and styles |
| Module | Description |
|---|
| fetch | HTTP/HTTPS client with built-in TLS |
| http.client | Low-level HTTP client |
| Module | Description |
|---|
| json | JSON encoding/decoding |
| csv | CSV reading/writing |
| toml / tomllib | TOML parsing |
| xml.etree.ElementTree | XML parsing |
| Module | Description |
|---|
| os | OS interface (environ, path operations) |
| pathlib | Object-oriented paths |
| glob | Pathname pattern expansion |
| shutil | Shell utilities (copy, move, rmtree) |
| tempfile | Temporary files and directories |
| zipfile | ZIP archive handling |
| tarfile | TAR archive handling |
| gzip | GZIP compression |
| Module | Description |
|---|
| re | Regular expressions |
| textwrap | Text wrapping and filling |
| string | String constants |
| Module | Description |
|---|
| subprocess | Process spawning |
| signal | Signal handling |
| argparse | Argument parsing |
| logging | Logging framework |
| datetime | Date and time |
| time | Time functions |
| Module | Description |
|---|
| collections | Specialized containers |
| heapq | Heap queue |
| itertools | Iterator tools |
| functools | Functional utilities |
| Module | Description |
|---|
| hashlib | Secure hashes (md5, sha1, sha256) |
| hmac | HMAC message authentication |
| secrets | Secure random generation |
| base64 | Base64 encoding |
| Module | Description |
|---|
| sqlite3 | SQLite database |
| Module | Description |
|---|
| math | Mathematical functions |
| random | Random number generation |
| statistics | Statistical functions |
| uuid | UUID generation |
| dataclasses | Data classes |
| typing | Type hints (stubs only) |