Skip to main content

pycompilation

Build status

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”)

Metadata

Release files for pycompilation 0.4.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pycompilation 0.4.13
File Size Uploaded Provenance Actions
pycompilation-0.4.13.tar.gz 37.9 kB Without provenance Details for pycompilation-0.4.13.tar.gz

Release files / pycompilation-0.4.13.tar.gz

Download URL pycompilation-0.4.13.tar.gz
Size 37.9 kB
Tags Source
SHA-256 checksum
How to use checksums
be12f6e9db05d9140734ae1d4f8ae1cf8c589eed808a2a2976a3553774649f59
BLAKE2b-256 checksum
How to use checksums
d56035dfdb91b19b8bc4a9b94657da111f0ae08a26e8be00525d15aff6487c5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for pycompilation 0.4.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page