New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pycompilation

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pycompilation

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

  • 0.4.12
  • PyPI
  • Socket score

Maintainers
1

pycompilation

.. image:: http://hera.physchem.kth.se:8080/api/badges/bjodah/pycompilation/status.svg :target: http://hera.physchem.kth.se:8080/bjodah/pycompilation :alt: 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:

  • pycodeexport_
  • cInterpol_
  • finitediff_
  • symvarsub_

.. _pycodeexport: http://github.com/bjodah/pycodeexport .. _cInterpol: http://github.com/bjodah/cinterpol .. _finitediff: http://github.com/bjodah/finitediff .. _symvarsub: http://github.com/bjodah/symvarsub

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc