How to use the imap.IMAPField function in imap

To help you get started, we’ve selected a few imap examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cssaheel / dissectors / imap.py View on Github external
internal, human and machine. anyways you may sit this param to None.
        @param fmt: specifying the format, this has been set to "H"
        @param remain: this parameter specifies the size of the remaining
        data so make it 0 to handle all of the data.
        """
        self.name = name
        StrField.__init__(self, name, default, fmt, remain)


class IMAPRes(Packet):
    """
    class for handling imap responses
    @attention: it inherets Packet from Scapy library
    """
    name = "imap"
    fields_desc = [IMAPField("response", "", "H")]


class IMAPReq(Packet):
    """
    class for handling imap requests
    @attention: it inherets Packet from Scapy library
    """
    name = "imap"
    fields_desc = [IMAPField("request", "", "H")]


bind_layers(TCP, IMAPReq, dport=143)
bind_layers(TCP, IMAPRes, sport=143)
github cssaheel / dissectors / imap.py View on Github external
class IMAPRes(Packet):
    """
    class for handling imap responses
    @attention: it inherets Packet from Scapy library
    """
    name = "imap"
    fields_desc = [IMAPField("response", "", "H")]


class IMAPReq(Packet):
    """
    class for handling imap requests
    @attention: it inherets Packet from Scapy library
    """
    name = "imap"
    fields_desc = [IMAPField("request", "", "H")]


bind_layers(TCP, IMAPReq, dport=143)
bind_layers(TCP, IMAPRes, sport=143)

imap

The integration of single-cell RNA-sequencing datasets from multiple sources is critical for deciphering cell-cell heterogeneities and interactions in complex biological systems. We present a novel unsupervised batch removal framework, called iMAP, based on two state-of-art deep generative models – autoencoders and generative adversarial networks.

MIT
Latest version published 3 years ago

Package Health Score

57 / 100
Full package analysis