Package description
The purpose of this package is to provide a generic way to generate code across all BSW modules. It might be invoked
from the command line (see bsw_code_gen --help) or imported as a package from another script.
Required structure
According to Autosar standard, the following files might be generated:
- <ModuleName>.c
- <ModuleName>.h
- <ModuleName>_Cfg.c
- <ModuleName>_Cfg.h
- <ModuleName>_PBcfg.c
- <ModuleName>_PBcfg.h
Moreover, some modules (such as XCP for instance) might require a generated structure held in RAM memory (in the case of XCP, the DAQs). Those files will be named:
- <ModuleName>_Rt.c
- <ModuleName>_Rt.h
To enforce a consistent file naming across all modules, the package will look for a jinja2 template named source.c.jinja2 to generate the file <ModuleName>.c, header.h.jinja2 to generate the file <ModuleName>.h, source_cfg.c.jinja2 to generate the file <ModuleName>_Cfg.c and so on.
Metadata
Release files for bsw-code-gen 0.1.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bsw_code_gen-0.1.14.tar.gz | 2.6 kB | Without provenance | Details for bsw_code_gen-0.1.14.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bsw_code_gen-0.1.14-py3-none-any.whl | Python 3 | none | any | Details for bsw_code_gen-0.1.14-py3-none-any.whl |
Total release size: 5.9 kB
Release files / bsw_code_gen-0.1.14.tar.gz
| Download URL | bsw_code_gen-0.1.14.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97e614cfb0b7dca50c275aef7d5bc369ef36d36280a116b1a828a2d64c4b9290
|
|
BLAKE2b-256 checksum How to use checksums |
b2a59b13eeaa4b40920c7513a235e59e9ea84844f4c01d8bc43e5a7770e41cfe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / bsw_code_gen-0.1.14-py3-none-any.whl
| Download URL | bsw_code_gen-0.1.14-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b9f815cad6f6a284403cb3934ed781daf5e8cbfa8ba3d31ab554c7d8cbedb9c
|
|
BLAKE2b-256 checksum How to use checksums |
402d2b9fb1f6624d1729e7985e97c10c22d9e5d4336c3b790d59a74474e6193e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for bsw-code-gen 0.1.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.