Skip to content

Python development

Joachim Metz edited this page May 14, 2026 · 1 revision

libfcrypto comes with Python-bindings named pyfcrypto.

Below are examples how use pyfcrypto. They assume you have a working version of pyfcrypto on your system. To build pyfcrypto see Building.

Import

To be able to use pyfcrypto in your Python scripts add the following import:

import pyfcrypto

Get version

The get_version() module function can be used to retrieve the version of the pyfcrypto.

pyfcrypto.get_version()

This will return a textual string (Unicode) that contains the libfcrypto version. Since pyfcrypto is a wrapper around libfcrypto it does not have a separate version.

Also see

import pyfcrypto

help(pyfcrypto)
help(pyfcrypto.None)

Clone this wiki locally