Skip to main content

eoq3conceptsgen - Code generator for EOQ3 concepts

Scripts for generating code out of the formal definition of concepts using mako templates.

Command-line Interface (CLI)

Usage

python -m eoq3conceptsgen.generatefromconceptscli --help
usage: generatefromconcepts [-h] [-c CONCEPTSDEFFILE] [-i INFILE] [-o OUTFILE] [-d DATAFILE]

Generates mako templates from the content of concepts.xlsx

options:
  -h, --help            show this help message and exit
  -c CONCEPTSDEFFILE, --conceptsDefFile CONCEPTSDEFFILE
                        the concept definition file
  -i INFILE, --inFile INFILE
                        The input template
  -o OUTFILE, --outFile OUTFILE
                        The generated file
  -d DATAFILE, --dataFile DATAFILE
                        Optional json data file, whose content is available as "data" in the template

Examples

Generate concepts.py from sample.mako (included in package):

python -m eoq3conceptsgen.generatefromconceptscli -o concepts.py

API Interface

from .generatefromconcepts import GenerateFromConcepts
...
GenerateFromConcepts(inFile,conceptsDefFile,outFile,dataFile)

Documentation

For more information see EOQ3 documentation: https://eoq.gitlab.io/doc/eoq3/

Author

2024 Bjoern Annighoefer

Release files for eoq3conceptsgen 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eoq3conceptsgen 3.0.0
File Size Uploaded
eoq3conceptsgen-3.0.0.tar.gz 57.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eoq3conceptsgen 3.0.0
File Interpreter ABI Platform
eoq3conceptsgen-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 114.2 kB

Release files / eoq3conceptsgen-3.0.0.tar.gz

Download URL eoq3conceptsgen-3.0.0.tar.gz
Size 57.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bf33359dec35b3dfc219f5c1df5a8e20b9fbdd7fc88eb381dfddee34b940a01a
BLAKE2b-256 checksum
How to use checksums
19c1bb76a99b9ce5e4ba10189183721c465f89d1bb590b60e7b0584301ab6037
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / eoq3conceptsgen-3.0.0-py3-none-any.whl

Download URL eoq3conceptsgen-3.0.0-py3-none-any.whl
Size 57.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16f7dbf5cfa7fb8aa0936d0a77032508fe3a84ef4b969cff2e96ed9b36ee0aa4
BLAKE2b-256 checksum
How to use checksums
74ef798de9a7d580722e236a3973ef3c039c2c4e7ed78e498805ac233689153d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

2.9.3

2 release files

2.9.2

2 release files

2.9.1

2 release files

2.9.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page