Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

pycompilation is a package for meta programming. It aims to support

Project description

https://travis-ci.org/bjodah/pycompilation.png?branch=master

pycompilation bundles python convenience classes and functions for performing compilation and linking on the fly from python. Developed to simplify working with code-generation, compilation and import (meta-programming) from Python.

Installation

Example using pip (modify to your own needs):

$ python3 -m pip install --user pycompilation

Examples

Look at examples/*_main.py which show how pycompilation can be used.

You may also look at other projects which uses pycompilation:

Documentation

You find the latest documentation at http://pycompilation.readthedocs.org/

Dependencies

For the examples to work you need:

  • Cython
  • A C compiler (e.g. gcc)
  • A C++ compiler (e.g. g++)
  • A Fortran complier (e.g. gfortran)
  • appdirs (python module)

License

Open Source. Released under the very permissive simplified (2-clause) BSD license. See LICENSE for further details.

TODO

  • Windows support
  • PGI compilers
  • Better Intel MKL linkline help (cf. “Intel® Math Kernel Library Link Line Advisor”)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pycompilation-0.4.4.tar.gz (19.7 kB) Copy SHA256 hash SHA256 Source None Oct 15, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page