FePy Library Reference

This document briefly explains additional constructs provided by FePy library for the purpose of better .NET integration, which are absent from the CPython standard library.

For constructs already present in the CPython standard library, consult the Python Library Reference instead.

Contents

socket

See also socket module on the Python Library Reference.

PythonSocket(Socket socket)
Create a new Python socket object using the given .NET socket object.

PythonSocket objects have the following additional attributes:

socket
Return the .NET socket object associated with the Python socket object.

hashlib

See also md5, sha, hashlib module on the Python Library Reference.

As .NET Framework doesn't provide SHA224 hash algorithm, sha224() constructor may raise NotImplementedError.

Mono.Security assembly implements SHA224 hash algorithm. hashlib tries to load Mono.Security assembly, and use its implementation when it's available.

PythonHash(HashAlgorithm context)
Create a new Python hash object using the given .NET hash object.

PythonHash objects have the following additional attributes:

context
Return the .NET hash object associated with the Python hash object.