# Generate C# Code from BO4E JSON Schemas
This tool generates C# dotnet classes based on [BO4E-JSON-Schemas](https://github.com/bo4e/BO4E-Schemas).
For fetching last json schemas it uses [`BO4E-Schema-Tool`](https://github.com/bo4e/BO4E-Schema-Tool) tool.
it takes advantage of QuickType npm package to generate C# classes from JSON schemas.
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
![Python Versions (officially) supported](https://img.shields.io/pypi/pyversions/bo4e-dotnet-generator.svg)
![Pypi status badge](https://img.shields.io/pypi/v/bo4e-dotnet-generator)
![Unittests status badge](https://github.com/Hochfrequenz/bo4e-dotnet-generator.py/workflows/Unittests/badge.svg)
![Coverage status badge](https://github.com/Hochfrequenz/bo4e-dotnet-generator.py/workflows/Coverage/badge.svg)
![Linting status badge](https://github.com/Hochfrequenz/bo4e-dotnet-generator.py/workflows/Linting/badge.svg)
![Black status badge](https://github.com/Hochfrequenz/bo4e-dotnet-generator.py/workflows/Formatting/badge.svg)
## How to use this Tool (as a user)
```bash
pip install bo4e-dotnet-generator
```
## How to use this Repository on Your Machine (as a developer)
Please follow the instructions in our
[Python Template Repository](https://github.com/Hochfrequenz/python_template_repository#how-to-use-this-repository-on-your-machine).
And for further information, see the [Tox Repository](https://github.com/tox-dev/tox).
### Quicktype Executable Path
This script checks the `APPDATA` environment variable to find the `Quicktype.cmd` npm package in the AppData path on Windows.
Raw data
{
"_id": null,
"home_page": null,
"name": "bo4e-dotnet-generator",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "BO4E, Code Generation, JSON schema",
"author": null,
"author_email": "Hamid Hajiparvaneh <info+github@hochfrequenz.de>",
"download_url": "https://files.pythonhosted.org/packages/16/2a/f6b476f2daa793c8889475817967892cc053f84debb93d60fed40d2b1d9f/bo4e_dotnet_generator-0.0.3.tar.gz",
"platform": null,
"description": "# Generate C# Code from BO4E JSON Schemas\n\nThis tool generates C# dotnet classes based on [BO4E-JSON-Schemas](https://github.com/bo4e/BO4E-Schemas).\nFor fetching last json schemas it uses [`BO4E-Schema-Tool`](https://github.com/bo4e/BO4E-Schema-Tool) tool.\nit takes advantage of QuickType npm package to generate C# classes from JSON schemas.\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n![Python Versions (officially) supported](https://img.shields.io/pypi/pyversions/bo4e-dotnet-generator.svg)\n![Pypi status badge](https://img.shields.io/pypi/v/bo4e-dotnet-generator)\n![Unittests status badge](https://github.com/Hochfrequenz/bo4e-dotnet-generator.py/workflows/Unittests/badge.svg)\n![Coverage status badge](https://github.com/Hochfrequenz/bo4e-dotnet-generator.py/workflows/Coverage/badge.svg)\n![Linting status badge](https://github.com/Hochfrequenz/bo4e-dotnet-generator.py/workflows/Linting/badge.svg)\n![Black status badge](https://github.com/Hochfrequenz/bo4e-dotnet-generator.py/workflows/Formatting/badge.svg)\n\n## How to use this Tool (as a user)\n```bash\npip install bo4e-dotnet-generator\n```\n\n## How to use this Repository on Your Machine (as a developer)\n\nPlease follow the instructions in our\n[Python Template Repository](https://github.com/Hochfrequenz/python_template_repository#how-to-use-this-repository-on-your-machine).\nAnd for further information, see the [Tox Repository](https://github.com/tox-dev/tox).\n\n### Quicktype Executable Path\n\nThis script checks the `APPDATA` environment variable to find the `Quicktype.cmd` npm package in the AppData path on Windows.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Generates C# Classes from JSON schemas for a 100% code-generated BO4E.NEt v2",
"version": "0.0.3",
"project_urls": {
"Changelog": "https://github.com/Hochfrequenz/bo4e-dotnet-generator.py/releases",
"Homepage": "https://github.com/Hochfrequenz/bo4e-dotnet-generator.py"
},
"split_keywords": [
"bo4e",
" code generation",
" json schema"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7ad278ae905d239fd391705eea3730ea00d6a615fb73424fabfe5a9fe82a5b2b",
"md5": "e3c90da05f79f9de968a237af9497db4",
"sha256": "9891ff4d47bd8ccbb8802d6fdbb271291119071c64b5f7b6dff8b8255383d011"
},
"downloads": -1,
"filename": "bo4e_dotnet_generator-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e3c90da05f79f9de968a237af9497db4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 850795,
"upload_time": "2024-07-09T13:36:48",
"upload_time_iso_8601": "2024-07-09T13:36:48.037982Z",
"url": "https://files.pythonhosted.org/packages/7a/d2/78ae905d239fd391705eea3730ea00d6a615fb73424fabfe5a9fe82a5b2b/bo4e_dotnet_generator-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "162af6b476f2daa793c8889475817967892cc053f84debb93d60fed40d2b1d9f",
"md5": "986f09db82123aa007218ebbbfec47ec",
"sha256": "5bcb2c26c7c27d29429431f3b9f1366bbb575855a7096a2aa49239c6ec606968"
},
"downloads": -1,
"filename": "bo4e_dotnet_generator-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "986f09db82123aa007218ebbbfec47ec",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 670452,
"upload_time": "2024-07-09T13:36:49",
"upload_time_iso_8601": "2024-07-09T13:36:49.645141Z",
"url": "https://files.pythonhosted.org/packages/16/2a/f6b476f2daa793c8889475817967892cc053f84debb93d60fed40d2b1d9f/bo4e_dotnet_generator-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-09 13:36:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Hochfrequenz",
"github_project": "bo4e-dotnet-generator.py",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "annotated-types",
"specs": [
[
"==",
"0.7.0"
]
]
},
{
"name": "bo4e-schema-tool",
"specs": [
[
"==",
"0.0.7"
]
]
},
{
"name": "certifi",
"specs": [
[
"==",
"2024.7.4"
]
]
},
{
"name": "cffi",
"specs": [
[
"==",
"1.16.0"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"3.3.2"
]
]
},
{
"name": "click",
"specs": [
[
"==",
"8.1.7"
]
]
},
{
"name": "colorama",
"specs": [
[
"==",
"0.4.6"
]
]
},
{
"name": "cryptography",
"specs": [
[
"==",
"42.0.8"
]
]
},
{
"name": "deprecated",
"specs": [
[
"==",
"1.2.14"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.7"
]
]
},
{
"name": "markdown-it-py",
"specs": [
[
"==",
"3.0.0"
]
]
},
{
"name": "mdurl",
"specs": [
[
"==",
"0.1.2"
]
]
},
{
"name": "more-itertools",
"specs": [
[
"==",
"10.3.0"
]
]
},
{
"name": "pycparser",
"specs": [
[
"==",
"2.22"
]
]
},
{
"name": "pydantic",
"specs": [
[
"==",
"2.8.2"
]
]
},
{
"name": "pydantic-core",
"specs": [
[
"==",
"2.20.1"
]
]
},
{
"name": "pygithub",
"specs": [
[
"==",
"2.3.0"
]
]
},
{
"name": "pygments",
"specs": [
[
"==",
"2.18.0"
]
]
},
{
"name": "pyjwt",
"specs": [
[
"==",
"2.8.0"
]
]
},
{
"name": "pynacl",
"specs": [
[
"==",
"1.5.0"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.32.3"
]
]
},
{
"name": "rich",
"specs": [
[
"==",
"13.7.1"
]
]
},
{
"name": "shellingham",
"specs": [
[
"==",
"1.5.4"
]
]
},
{
"name": "typer",
"specs": [
[
"==",
"0.12.3"
]
]
},
{
"name": "typing-extensions",
"specs": [
[
"==",
"4.12.2"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"2.2.2"
]
]
},
{
"name": "wrapt",
"specs": [
[
"==",
"1.16.0"
]
]
}
],
"tox": true,
"lcname": "bo4e-dotnet-generator"
}