Staff of the Python
Staff, uncommon, requires attunement by a cleric, druid, or warlock · 2014 rules, SRD 5.1
Action: throw it to become a giant constrictor snake under your command; it reverts when it drops to 0 HP (destroyed).
Also in the 2024 rules (SRD 5.2).