skip to navigation
skip to content

Not Logged In

c 0.5.0

Compile and Link C-API modules on Import

Package Documentation

Latest Version: Unknown

🐚 About

c is a Python project providing an import metapath hook for loading C extension modules without prior compilation by a 'setup.py' script. It uses the sysconfig module to extract the necessary information for compiling an extension module.

Loadable modules are identified by the '.py.c', '.py.m', and '.py.c++' suffix. Composition of multiple files is not directly supported, but preprocessor directives may be used in order to combine multiple files.

Sample

Typical usage:

import package.libfoo

Where:

package/
        libfoo.py.c
 
File Type Py Version Uploaded on Size
c-0.5.0.tar.gz (md5) Source 2012-08-05 5KB
  • Downloads (All Versions):
  • 77 downloads in the last day
  • 783 downloads in the last week
  • 2346 downloads in the last month