
| Current Path : /var/www/web-klick.de/dsh/order_model/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/web-klick.de/dsh/order_model/README.md |
# order_model ## 1. Description The ordermodel package contains canonical data models to provide Python class based APIs to customer tape-out data. ## 2. What's Included | Package | Description | | ------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------- | | ordermodel/semi_p10 | Data class model (```pydantic``` framework) implementing the SEMI-P10 standard. | | ordermodel/semi_p10/semi_p10.py | ```Main module``` of ```semi_p10```. | | ordermodel/semi_p10/extensions.py | Contains Toppan specific SEMI-P10 extensions for ```semi_p10```. | | ordermodel/semi_p10/literals.py | Contains sets of values available in SEMI-P10 (```semi_p10```). Can be extended (optional). | | ordermodel/semi_p10/api.py | Contains custom API functionality, e.g. ```dict_to_etree()```. | | .archive/ixml | (discarded) Data class model (```pydantic``` framework) implementing the local iXML standard. | | .archive/semi_p10_model | (discarded) SQLAlchemyORM based DB-model implementing the SEMI-P10 standard. | | [docs/semi_p10/semi_p10_schema.xsd](docs/semi_p10/semi_p10_schema.xsd) | SEMI-P10 schema XSD. (revision='P10-1112') | | [docs/semi_p10/semi_p10_schema_example.xml](docs/semi_p10/semi_p10_schema_example.xml) | Full hierarchy example SEMI-P10 XML. (by AMTC-DEV) | | [docs/semi_p10/semi_p10_141ea_cr_16271_1.xml](docs/semi_p10/semi_p10_141ea_cr_16271_1.xml) | Example SEMI-P10 XML from actual STM provided serial SEMI order form file (*.qlf). | ## 3. Package Dependencies * [PyPi - pydantic](https://pypi.org/project/pydantic/) - Data validation and settings management using python 3.6≥ type hinting. [#docu](https://pydantic-docs.helpmanual.io/) * [PyPi - pipenv](https://pypi.org/project/pipenv/) - Almost all-in-one packaging and virtualenv tool. * [PyPi - pytest](https://pypi.org/project/pytest/) - Testing with Python. [#docu](https://docs.pytest.org/en/stable/contents.html) [#good-practises](https://docs.pytest.org/en/latest/goodpractices.html) ### 3.1. Other References * [gidware.com - Reducing Complexity with Pydantic & Singledispatch](https://www.gidware.com/reducing-complexity-with-pydantic-singledispatch/) - Gideon Caller * [medium.com - Cool Things You Can Do With Pydantic](https://medium.com/swlh/cool-things-you-can-do-with-pydantic-fc1c948fbde0#17db) - Gideon Caller * [towardsdatascience.com - pydantic - Introduction](https://towardsdatascience.com/pydantic-688e897cfd3a)