pycodeexport is a Python package for code generation.
Project description
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
File details
Details for the file pycodeexport-0.1.3.tar.gz.
File metadata
- Download URL: pycodeexport-0.1.3.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.5.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bafc7d3c35d40facc5d37caabe5459d17d610b26725eb54612828b9cb68f5541
|
|
| MD5 |
06380e7eb95bbefa761cde4331dd7ae0
|
|
| BLAKE2b-256 |
e1afa6450869613851b5407208ef37289060d00f21ac6fa9c811900219b102cd
|