Overview of python-bitcoin-utils
masterpython-bitcoin-utils is a pure-Python educational library designed for building, parsing, and signing Bitcoin data structures. It provides low-level access to Bitcoin primitives, allowing developers to work directly with objects for keys, addresses, scripts, transactions, PSBTs, blocks, HD derivation, and Bitcoin Core RPC calls.
The library follows a primitive-first approach: you typically construct objects, inspect their internal fields, serialize them, and pass them to subsequent processes.