chemaxon.fingerprints.fingerprint

class Fingerprint:

Generic fingerprint representation

Fingerprint(cresult: chemaxon.fingerprints.fingerprint._CFingerprint)
length: int

Length of the array

array: list

Fingerprint - every bit of every long in the array represents a fingerprint bit

def to_bytes(self):
Returns

list[bytes] The byte representation of the fingerprint

def to_binary_string(self):
Returns

str The binary string representation of the fingerprint

def darkness(self):
Returns

int The count of 1 bits in the fingerprint

class FloatVectorFingerprint:

Generic float vector fingerprint representation

FloatVectorFingerprint(cresult: chemaxon.fingerprints.fingerprint._CFloatVectorFingerprint)
length: int

Length of the array

array: list

Fingerprint object - fingerprint array