def v4_int_to_packed(address):
 try:
  return _compat_to_bytes(address, 4, u'big')
 except (struct.error, OverflowError):
  raise ValueError(u'Address negative or too large for IPv4')

def v4_int_to_packed ( address ) : try : return _compat_to_bytes ( address , 4 , u'big' ) except ( struct . error , OverflowError ) : raise ValueError ( u'Address negative or too large for IPv4' )
represent an address as 4 packed bytes in network order .