I write IP addresses to files.

Method ipToLong Converts a dotted-quad IP address string to a long int. Adapted from ipcalc.IP
Method writeIPs Writes the blocked IPs in the supplied dict of ip addresses, in numerical order, to the specified filePath.

Inherited from Base:

Class Method linger Undocumented
Method myDir 0 Undocumented
Method myDir 1 Undocumented
Method myDir Undocumented
Static Method dtFormat Undocumented
Static Method deferToDelay Undocumented
Method msgHeading No summary
Method msgBody Send a new line of message body to the last heading for this instance, or the instance whose ID is specified via the keyword ID.
Method msgOrphan Undocumented
Method msgWarning Undocumented
Method msgError Undocumented
Method msgProgress Undocumented
Method fileStatus Undocumented
Method fileProgress Undocumented
Method csvTextToList Undocumented
Static Method checkPath Undocumented
Static Method dirOfPath Undocumented
Method filesInDir No summary
Method pathInDir Returns the absolute path of a file in my directory
Method cleak No summary
Method gleak Undocumented
def ipToLong(self, ip):

Converts a dotted-quad IP address string to a long int. Adapted from ipcalc.IP

def writeIPs(self, rejectedIPs, filePath):

Writes the blocked IPs in the supplied dict of ip addresses, in numerical order, to the specified filePath.

API Documentation for logalyzer, generated by pydoctor at 2021-09-18 08:41:09.