Skip to main content

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.

Source Distribution

pycompilation-0.4.5.tar.gz (19.8 kB view details)

Uploaded Source

File details

Details for the file pycompilation-0.4.5.tar.gz.

File metadata

  • Download URL: pycompilation-0.4.5.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.9.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/3.5.2

File hashes

Hashes for pycompilation-0.4.5.tar.gz
Algorithm Hash digest
SHA256 3a85e4f67a0c087da271f730de4660351c07ab0833dfafc80743daf3cab3bd90
MD5 faf2788064ccea4bac603baa97e063b3
BLAKE2b-256 0101b690b16d6cf9f7b4245d5e84d6e0c1fe47e8dc9e802ac6390f6d0b484f9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page