Metadata-Version: 2.1
Name: pycodeexport
Version: 0.1.3
Summary: pycodeexport is a Python package for code generation.
Home-page: https://github.com/bjodah/pycodeexport
Author: Bjoern I. Dahlgren
Author-email: bjodah@gmail.com
License: BSD
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Programming Language :: C
Classifier: Programming Language :: C++
Classifier: Programming Language :: Cython
Classifier: Programming Language :: Fortran
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Software Development :: Compilers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: all
License-File: LICENSE
License-File: AUTHORS

pycodeexport
============

.. image:: https://travis-ci.org/bjodah/pycodeexport.png?branch=master
   :target: https://travis-ci.org/bjodah/pycodeexport
   :alt: Build status on Travis-CI
.. image:: http://hera.physchem.kth.se:9090/api/badges/bjodah/pycodeexport/status.svg
   :target: http://hera.physchem.kth.se:9090/bjodah/pycodeexport
   :alt: Build status on self-hosted Drone instance

``pycodeexport`` is a Python package which bundles convenience classes and functions
for code-generation. The package has been developed to aid on-the-fly compilation
(meta-programming) of math related problems expressed as `SymPy <https://www.sympy.org>`_
expressions. Note that this package has an alpha development status.

Installation
------------
Example using pip (modify to your own needs):

::

   $ python3 -m pip install --user pycodeexport


Templating
----------
Mako_ comes highly recommended as a template engine. 
For easier usage, a convenience method is provided in ``pycodeexport.util``.
The ``Code`` classes in ``pycodeexport.codeexport`` use this too.

.. _Mako: http://www.makotemplates.org/


Examples
--------
Look at ``examples/*_main.py`` which show how pycodeexport can be used.

You may also look at other projects:

 - pycompilation_

.. _pycompilation: http://github.com/bjodah/pycompilation


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