mlc-tools


Namemlc-tools JSON
Version 0.4.1174 PyPI version JSON
download
home_pagehttps://github.com/mlc-tools/mlc-tools
SummaryA tool to generate and translate C++ code to other languages from one code-base.
upload_time2025-09-02 07:32:53
maintainerNone
docs_urlNone
authorVladimir Tolmachev
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements PyYaml
Travis-CI
coveralls test coverage No coveralls.
            | ci       | Status                                                                                                                                      |
|----------|---------------------------------------------------------------------------------------------------------------------------------------------|
| Travis   | [![Build Status](https://travis-ci.org/mlc-tools/mlc-tools.svg?branch=#)](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/6a/b4/5ec2682fce4c0cb11addeadf58ee7be7fd9be648b8ee7c55911bed52d5c3/mlc-tools-0.4.1174.tar.gz",
    "platform": null,
    "description": "| ci       | Status                                                                                                                                      |\n|----------|---------------------------------------------------------------------------------------------------------------------------------------------|\n| Travis   | [![Build Status](https://travis-ci.org/mlc-tools/mlc-tools.svg?branch=#)](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.1174",
    "project_urls": {
        "Homepage": "https://github.com/mlc-tools/mlc-tools"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6ab45ec2682fce4c0cb11addeadf58ee7be7fd9be648b8ee7c55911bed52d5c3",
                "md5": "71c8d110f82a954325336778fd76e7d1",
                "sha256": "5bc8e46709d7b85090eaab10dafc03cede8d61a3af28e6fe31ae9b9bfcfd6d3f"
            },
            "downloads": -1,
            "filename": "mlc-tools-0.4.1174.tar.gz",
            "has_sig": false,
            "md5_digest": "71c8d110f82a954325336778fd76e7d1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 108772,
            "upload_time": "2025-09-02T07:32:53",
            "upload_time_iso_8601": "2025-09-02T07:32:53.352840Z",
            "url": "https://files.pythonhosted.org/packages/6a/b4/5ec2682fce4c0cb11addeadf58ee7be7fd9be648b8ee7c55911bed52d5c3/mlc-tools-0.4.1174.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-02 07:32:53",
    "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"
}
        
Elapsed time: 1.97835s