FancyTypes - Shared libraries in a fancy way

The fancytypes package is a ctypes wrapper. It provides syntax sugar that makes it easier to include C and Fortran code in your Python projects through the use of shared libraries.

What is a shared library

Shared libraries, also called binaries, are executable code that can be used by another program. The Wikipedia article covers them in more detail.

FancyTypes makes your interfaces to shared libraries simpler and clearer. Calling functions becomes very straightforward and working with arrays is now very easy.

This package assumes that the user already knows some Python and has some basic programming experience in lower level languages so that they can more easily dive into the world of language interoperability. This is likely the case for anyone who has already compiled and run some small program written in C or even Fortran (2003+ standard, not 77 or any similar abominations, though the later can be salvaged, sometimes).

Note

Users who already have some experience with language interoperability may skip directly to the documentation section, which describes the API.

Beginner tools

API description