| ci | Status |
|----------|---------------------------------------------------------------------------------------------------------------------------------------------|
| Travis | [](https://travis-ci.org/mlc-tools/mlc-tools) |
[Trello Board](https://trello.com/b/SOlh2xPb/mlctools)
### Simple using: ###
```
cd src
python main.py
```
### Configured launch: ###
**Parameters:**
```
-h, --help show this help message and exit
-i Path to classes configs. Default = ./config/
-o Out Path for classes. Default = ./out/
-l Used language. Supported cpp, py, php. Default = cpp
-f Used serialized format. Supported xml, json. Default = xml
-side To different side generation, used both, server, client. Default = both
-data Path to static data configs. Default = empty, conversion is not used
-data_out Out path for static data config. Default = empty
-only_data Flag for build only data xml. Default = no
-protocols Path to file with serialization protocols. Default = empty, default protocol is used
-php_validate Check PHP features on generate other languages. Default = yes
-test_script The path to the script to run the tests
-use_colors Using colors on outputting to the console
```
### Syntax: ###
```
class core/Request<RequestBase>
{
Action action
int int_data
float float_data = 0
function void some_function(){}
}
```
```class ``` - keyword
```core/ ``` - The module. Used only for grouping classes into folders for c++ generation
```Request ``` - Name of the class
```RequestBase ``` - The inherited class. Multiple inheritance is not supported.
```{ ... } ``` - Body of the class or method
```int int_data ``` - Field of class *int_data* of integer type.
```int float_data ``` - Field of class *float_data* of float type with initialized.
```function void some_function(){} ``` - Method of the class without body
Raw data
{
"_id": null,
"home_page": "https://github.com/mlc-tools/mlc-tools",
"name": "mlc-tools",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Vladimir Tolmachev",
"author_email": "tolm_vl@hotmail.com",
"download_url": "https://files.pythonhosted.org/packages/38/17/b2dcf60471aebe55805cc41341e6f0d3084825eab12405b8771e034ad804/mlc-tools-0.4.1128.tar.gz",
"platform": null,
"description": "| ci | Status |\n|----------|---------------------------------------------------------------------------------------------------------------------------------------------|\n| Travis | [](https://travis-ci.org/mlc-tools/mlc-tools) |\n\n[Trello Board](https://trello.com/b/SOlh2xPb/mlctools)\n\n### Simple using: ###\n\n\n```\ncd src\npython main.py\n```\n\n### Configured launch: ###\n\n**Parameters:**\n```\n -h, --help show this help message and exit\n -i Path to classes configs. Default = ./config/\n -o Out Path for classes. Default = ./out/\n -l Used language. Supported cpp, py, php. Default = cpp\n -f Used serialized format. Supported xml, json. Default = xml\n -side To different side generation, used both, server, client. Default = both\n -data Path to static data configs. Default = empty, conversion is not used\n -data_out Out path for static data config. Default = empty\n -only_data Flag for build only data xml. Default = no\n -protocols Path to file with serialization protocols. Default = empty, default protocol is used\n -php_validate Check PHP features on generate other languages. Default = yes\n -test_script The path to the script to run the tests\n -use_colors Using colors on outputting to the console\n```\n\n### Syntax: ###\n\n```\nclass core/Request<RequestBase>\n{\n Action action\n int int_data\n float float_data = 0\n function void some_function(){}\n}\n```\n\n```class ``` - keyword\n\n```core/ ``` - The module. Used only for grouping classes into folders for c++ generation\n\n```Request ``` - Name of the class\n\n```RequestBase ``` - The inherited class. Multiple inheritance is not supported.\n\n```{ ... } ``` - Body of the class or method\n\n```int int_data ``` - Field of class *int_data* of integer type.\n\n```int float_data ``` - Field of class *float_data* of float type with initialized.\n\n```function void some_function(){} ``` - Method of the class without body",
"bugtrack_url": null,
"license": null,
"summary": "A tool to generate and translate C++ code to other languages from one code-base.",
"version": "0.4.1128",
"project_urls": {
"Homepage": "https://github.com/mlc-tools/mlc-tools"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3817b2dcf60471aebe55805cc41341e6f0d3084825eab12405b8771e034ad804",
"md5": "a941f0b410444c576ce91ce05b67ebea",
"sha256": "0ebe51baae9adbd911134d52ea33c379c0de9de4b700dee5cf8ea70aa1b7d005"
},
"downloads": -1,
"filename": "mlc-tools-0.4.1128.tar.gz",
"has_sig": false,
"md5_digest": "a941f0b410444c576ce91ce05b67ebea",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 106184,
"upload_time": "2025-02-21T04:06:28",
"upload_time_iso_8601": "2025-02-21T04:06:28.263241Z",
"url": "https://files.pythonhosted.org/packages/38/17/b2dcf60471aebe55805cc41341e6f0d3084825eab12405b8771e034ad804/mlc-tools-0.4.1128.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-21 04:06:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mlc-tools",
"github_project": "mlc-tools",
"travis_ci": true,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "PyYaml",
"specs": []
}
],
"lcname": "mlc-tools"
}