Skip to main content

pycodeexport is a Python package for code generation.

Project description

Build status on Travis-CI 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 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.

Examples

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

You may also look at other projects:

License

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

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

pycodeexport-0.1.1.tar.gz (10.7 kB view hashes)

Uploaded Source

Supported by

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