pycodeexport
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.
Metadata
Release files for pycodeexport 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pycodeexport-0.1.3.tar.gz | 13.3 kB | Details |
Release files / pycodeexport-0.1.3.tar.gz
| Download URL | pycodeexport-0.1.3.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bafc7d3c35d40facc5d37caabe5459d17d610b26725eb54612828b9cb68f5541
|
|
BLAKE2b-256 checksum How to use checksums |
e1afa6450869613851b5407208ef37289060d00f21ac6fa9c811900219b102cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|