Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)

src/c/a/canape-HEAD/CANAPE.Cli/PythonLib/canapecli/packets/__init__.py   canape(Download)
    """
    if data is None:
        return CANAPE.DataFrames.DataFrame()
    else:
        return CANAPE.DataFrames.DataFrame(data)

src/c/a/canape-HEAD/CANAPE.Scripting/Templates/python/basicdataendpoint.py   canape(Download)
´╗┐from CANAPE.Scripting import BaseDataEndpoint
from CANAPE.DataFrames import DataFrame
 
class DataEndpoint(BaseDataEndpoint):
 
 
            # Write it back out again reversed
            adapter.Write(DataFrame(frame.ToByteString()[::-1]))
 
            frame = adapter.Read();        

src/c/a/canape-HEAD/CANAPE.Scripting/Templates/python/xorlayer.py   canape(Download)
        data[i] = data[i] ^ xorValue
 
    return CANAPE.DataFrames.DataFrame(data)
 
# Simple example script to implement a layer which xor's bytes with a known value

src/c/a/canape-HEAD/CANAPE.Scripting/Templates/python/httpserver.py   canape(Download)
from CANAPE.Scripting import BaseDataEndpoint
from CANAPE.DataFrames import DataFrame
from CANAPE.Net.Protocols.Server import DynamicHttpDataServer, HttpServerResponseData
from CANAPE.Utils import GeneralUtils