<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_int(i):
 """ Generates a public key object from an integer. Note: This assumes that the upper 32 bytes of the integer are the x component of the public key point and the lower 32 bytes are the y component. Args: i (Bignum):
 A 512-bit integer representing the public key point on the secp256k1 curve. Returns: PublicKey: A PublicKey object. """

        point = ECPointAffine.from_int(bitcoin_curve, i)
        return PublicKey.from_point(point)