# Pocoglot
Pocoglot is a simple command line application that takes an entity definition file and generates code in one of many supported languages. If you are writing multi-tier applications in multiple languages this tool can save you from a lot of repeated typing and out-of-sync models.
### Supported languages
[Golang](docs/golang.md) • **Python 3** • [PHP 8](docs/php.md) • **C#** • [Typescript](docs/typescript.md) • **MySQL**
## Usage
```shell
$ pocoglot --help
Usage: pocoglot [OPTIONS]
Options:
-from, --from-file PATH Path to the source YAML file containing
definitions [required]
-to, --to-file PATH Path to where the targe code is going to be
generated [required]
-lang, --to-language [java|php8|typescript|golang|csharp|python3]
Language used for the generated code
[required]
-override, --override-file PATH
Path to the YAML file containing overrides
--help Show this message and exit.
```
## Support
- Please star this project on Github
- Report any issues and feature requests
- Add pull requests to support new languages
## Related projects
- [Quicktype](https://quicktype.io/)
## License
This software is published under the permissive [MIT license](LICENSE.md)
Raw data
{
"_id": null,
"home_page": "https://github.com/reconmap/pocoglot",
"name": "pocoglot",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "codegen model entity golang php csharp yaml",
"author": "Santiago Lizardo",
"author_email": "santiagolizardo@users.noreply.github.com",
"download_url": "https://files.pythonhosted.org/packages/77/1b/6bf75a545de567a7295268fd7d92de708bf448ab52435d6bccda5772ebe2/pocoglot-0.9.1.tar.gz",
"platform": null,
"description": "# Pocoglot\n\nPocoglot is a simple command line application that takes an entity definition file and generates code in one of many supported languages. If you are writing multi-tier applications in multiple languages this tool can save you from a lot of repeated typing and out-of-sync models.\n\n### Supported languages\n\n[Golang](docs/golang.md) \u2022 **Python 3** \u2022 [PHP 8](docs/php.md) \u2022 **C#** \u2022 [Typescript](docs/typescript.md) \u2022 **MySQL**\n\n## Usage\n\n```shell\n$ pocoglot --help\nUsage: pocoglot [OPTIONS]\n\nOptions:\n -from, --from-file PATH Path to the source YAML file containing\n definitions [required]\n -to, --to-file PATH Path to where the targe code is going to be\n generated [required]\n -lang, --to-language [java|php8|typescript|golang|csharp|python3]\n Language used for the generated code\n [required]\n -override, --override-file PATH\n Path to the YAML file containing overrides\n --help Show this message and exit.\n```\n\n## Support\n\n- Please star this project on Github\n- Report any issues and feature requests\n- Add pull requests to support new languages\n\n## Related projects\n\n- [Quicktype](https://quicktype.io/)\n\n## License\n\nThis software is published under the permissive [MIT license](LICENSE.md)\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "Pocoglot generates POCOs in multiple languages from a YAML definition file.",
"version": "0.9.1",
"split_keywords": [
"codegen",
"model",
"entity",
"golang",
"php",
"csharp",
"yaml"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "2fa397688402f938340232fb828c9d70",
"sha256": "435cd2680bccd7b4908e488f80d75875c0dd8ebacc47e25723f02b328a49332b"
},
"downloads": -1,
"filename": "pocoglot-0.9.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2fa397688402f938340232fb828c9d70",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 9398,
"upload_time": "2022-12-12T11:32:27",
"upload_time_iso_8601": "2022-12-12T11:32:27.404518Z",
"url": "https://files.pythonhosted.org/packages/bb/fb/625728accf653571d04cd14e87c9ac366673d79b11c2eba8ce3ca1838de5/pocoglot-0.9.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "afcaa04d4d73e8907a63bcda69bf9dbd",
"sha256": "b9e17da4eb1f900fff4425c32011ce032c60ec522d6c513d36c7e9b138711c5c"
},
"downloads": -1,
"filename": "pocoglot-0.9.1.tar.gz",
"has_sig": false,
"md5_digest": "afcaa04d4d73e8907a63bcda69bf9dbd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 6390,
"upload_time": "2022-12-12T11:32:29",
"upload_time_iso_8601": "2022-12-12T11:32:29.589173Z",
"url": "https://files.pythonhosted.org/packages/77/1b/6bf75a545de567a7295268fd7d92de708bf448ab52435d6bccda5772ebe2/pocoglot-0.9.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-12 11:32:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "reconmap",
"github_project": "pocoglot",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "coloredlogs",
"specs": [
[
"==",
"15.0.1"
]
]
},
{
"name": "Jinja2",
"specs": [
[
"==",
"3.1.2"
]
]
},
{
"name": "click",
"specs": [
[
"==",
"8.1.3"
]
]
}
],
"lcname": "pocoglot"
}