public key – How to generate Hash160 from a private key with the Bitcoin module

I want to fix the script code. The script generates from a random private key Bitcoin Address by function (pubtoaddr) and works
on the Bitcoin module:

from bitcoin import *
import os

    priv = random_key ()
    pub = privtopub (priv)
    addr = pubtoaddr (pub)


But I need to get from a Random Private Key in Hash160

For some reason I could not find such a function in

I searched and found an article

>>> import pybitcointools
>>> privkey = pybitcointools.random_key ()
>>> privkey
>>> pubkey = pybitcointools.privtopub (privkey)
>>> pubkey
>>> h160 = pybitcointools.hash160 (pubkey.decode ('hex'))
>>> h160
>>> addr = pybitcointools.hex_to_b58check (h160)
>>> addr

Unfortunately I could not get from

 priv = random_key ()  --- > Hash160

How to do it?