bocl


Namebocl JSON
Version 0.3.0 PyPI version JSON
download
home_pageNone
SummaryB-OCL
upload_time2024-12-16 08:09:15
maintainerNone
docs_urlNone
authorLuxembourg Institute of Science and Technology
requires_python>=3.9
licenseMIT
keywords uml code generation python
VCS
bugtrack_url
requirements Arpeggio colorama iniconfig packaging pluggy pytest setuptools textX jinja2 antlr4-python3-runtime requests fastapi pydantic uvicorn besser
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # BESSER Object Constraint Language Interpreter

**B-OCL** is a tool designed to parse and evaluate the OCL constraints designed on **BESSER** models.
It is a python based implementation, that utilises parser and listener generated with the ANTLR4 grammer.

**BESSER** is a low-modeling low-code open-source platform built on top 
of our Python-based personal interpretation of a "Universal Modeling Language"

## Basic Installation
We have tested B-OCL with python 3.9+. We recommend creating a virtual environment using `venv <https://docs.python.org/3/tutorial/venv.html>`_, or
`conda <https://docs.conda.io/en/latest/>`_).

Dependencies
************
B-OCL depends on BESSER for parsing the OCL constraints and providing a concrete syntax tree (CST) to evaluate. The latest stable version of BESSER is available in the Python Package Index (PyPi) and can be installed using


    $ pip install besser


# B-OCL Installation


Stable version of B-OCL interpreter can be installed via

    $ pip install bocl

## Building From Source

To obtain the full code, including examples and tests, you can clone the git repository.

    $ git clone https://github.com/BESSER-PEARL/b-ocl-Interpreter
    $ cd b-ocl-Interpreter

To install the reqs please run the following commands in virtual environment (recommended)

    $ pip install -r requirements.txt

## Contributing

We encourage contributions from the community and any comment is welcome!

If you are interested in contributing to this project, please read the [CONTRIBUTING.md](CONTRIBUTING.md) file.

## Code of Conduct

At BESSER, our commitment is centered on establishing and maintaining development environments that are welcoming, inclusive, safe and free from all forms of harassment. All participants are expected to voluntarily respect and support our [Code of Conduct](CODE_OF_CONDUCT.md).

## Governance

The development of this project follows the governance rules described in the [GOVERNANCE.md](GOVERNANCE.md) document.

## Contact
You can reach us at: [info@besser-pearl.org](mailto:info@besser-pearl-org)

Website: https://besser-pearl.github.io/website/

## Documentation
More details about B-OCL can be found here https://b-ocl-interpreter.readthedocs.io/en/latest/

## License

This project is licensed under the [MIT](https://mit-license.org/) license.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "bocl",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "uml, code generation, python",
    "author": "Luxembourg Institute of Science and Technology",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/30/b9/4b98a22910c2235577d31a3da250ea663cd6521a6672864254b4a9bb4172/bocl-0.3.0.tar.gz",
    "platform": null,
    "description": "# BESSER Object Constraint Language Interpreter\r\n\r\n**B-OCL** is a tool designed to parse and evaluate the OCL constraints designed on **BESSER** models.\r\nIt is a python based implementation, that utilises parser and listener generated with the ANTLR4 grammer.\r\n\r\n**BESSER** is a low-modeling low-code open-source platform built on top \r\nof our Python-based personal interpretation of a \"Universal Modeling Language\"\r\n\r\n## Basic Installation\r\nWe have tested B-OCL with python 3.9+. We recommend creating a virtual environment using `venv <https://docs.python.org/3/tutorial/venv.html>`_, or\r\n`conda <https://docs.conda.io/en/latest/>`_).\r\n\r\nDependencies\r\n************\r\nB-OCL depends on BESSER for parsing the OCL constraints and providing a concrete syntax tree (CST) to evaluate. The latest stable version of BESSER is available in the Python Package Index (PyPi) and can be installed using\r\n\r\n\r\n    $ pip install besser\r\n\r\n\r\n# B-OCL Installation\r\n\r\n\r\nStable version of B-OCL interpreter can be installed via\r\n\r\n    $ pip install bocl\r\n\r\n## Building From Source\r\n\r\nTo obtain the full code, including examples and tests, you can clone the git repository.\r\n\r\n    $ git clone https://github.com/BESSER-PEARL/b-ocl-Interpreter\r\n    $ cd b-ocl-Interpreter\r\n\r\nTo install the reqs please run the following commands in virtual environment (recommended)\r\n\r\n    $ pip install -r requirements.txt\r\n\r\n## Contributing\r\n\r\nWe encourage contributions from the community and any comment is welcome!\r\n\r\nIf you are interested in contributing to this project, please read the [CONTRIBUTING.md](CONTRIBUTING.md) file.\r\n\r\n## Code of Conduct\r\n\r\nAt BESSER, our commitment is centered on establishing and maintaining development environments that are welcoming, inclusive, safe and free from all forms of harassment. All participants are expected to voluntarily respect and support our [Code of Conduct](CODE_OF_CONDUCT.md).\r\n\r\n## Governance\r\n\r\nThe development of this project follows the governance rules described in the [GOVERNANCE.md](GOVERNANCE.md) document.\r\n\r\n## Contact\r\nYou can reach us at: [info@besser-pearl.org](mailto:info@besser-pearl-org)\r\n\r\nWebsite: https://besser-pearl.github.io/website/\r\n\r\n## Documentation\r\nMore details about B-OCL can be found here https://b-ocl-interpreter.readthedocs.io/en/latest/\r\n\r\n## License\r\n\r\nThis project is licensed under the [MIT](https://mit-license.org/) license.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "B-OCL",
    "version": "0.3.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/BESSER-PEARL/B-OCL-Interpreter/issues",
        "Documentation": "https://b-ocl-interpreter.readthedocs.io/en/latest/",
        "Source Code": "https://github.com/BESSER-PEARL/B-OCL-Interpreter"
    },
    "split_keywords": [
        "uml",
        " code generation",
        " python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "95adcbcbf00588d59898d20b4c19f406c3be95ec1a5f402b0da6af26f0fccf80",
                "md5": "27074253e1280ee4d36f8e84d9905013",
                "sha256": "05c30a2152bc67093d2b062099b0f490462710e4b83bd3d483116e43514c661d"
            },
            "downloads": -1,
            "filename": "bocl-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "27074253e1280ee4d36f8e84d9905013",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 12445,
            "upload_time": "2024-12-16T08:09:13",
            "upload_time_iso_8601": "2024-12-16T08:09:13.955160Z",
            "url": "https://files.pythonhosted.org/packages/95/ad/cbcbf00588d59898d20b4c19f406c3be95ec1a5f402b0da6af26f0fccf80/bocl-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "30b94b98a22910c2235577d31a3da250ea663cd6521a6672864254b4a9bb4172",
                "md5": "44f8aac586a3bdf75fd4182933ef9d09",
                "sha256": "3b9e04393f186fdf6bd7bc86f58fe042e9aff67ee59b0384f06e2d3ca6a05cc4"
            },
            "downloads": -1,
            "filename": "bocl-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "44f8aac586a3bdf75fd4182933ef9d09",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 12749,
            "upload_time": "2024-12-16T08:09:15",
            "upload_time_iso_8601": "2024-12-16T08:09:15.257835Z",
            "url": "https://files.pythonhosted.org/packages/30/b9/4b98a22910c2235577d31a3da250ea663cd6521a6672864254b4a9bb4172/bocl-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-16 08:09:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "BESSER-PEARL",
    "github_project": "B-OCL-Interpreter",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "Arpeggio",
            "specs": [
                [
                    "==",
                    "2.0.2"
                ]
            ]
        },
        {
            "name": "colorama",
            "specs": [
                [
                    "==",
                    "0.4.6"
                ]
            ]
        },
        {
            "name": "iniconfig",
            "specs": [
                [
                    "==",
                    "2.0.0"
                ]
            ]
        },
        {
            "name": "packaging",
            "specs": []
        },
        {
            "name": "pluggy",
            "specs": [
                [
                    "==",
                    "1.2.0"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": [
                [
                    "==",
                    "7.4.0"
                ]
            ]
        },
        {
            "name": "setuptools",
            "specs": [
                [
                    "==",
                    "68.2.2"
                ]
            ]
        },
        {
            "name": "textX",
            "specs": [
                [
                    "==",
                    "3.1.1"
                ]
            ]
        },
        {
            "name": "jinja2",
            "specs": [
                [
                    "==",
                    "3.1.2"
                ]
            ]
        },
        {
            "name": "antlr4-python3-runtime",
            "specs": [
                [
                    "==",
                    "4.13.1"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    "==",
                    "2.31.0"
                ]
            ]
        },
        {
            "name": "fastapi",
            "specs": [
                [
                    "==",
                    "0.110.0"
                ]
            ]
        },
        {
            "name": "pydantic",
            "specs": [
                [
                    "==",
                    "2.6.3"
                ]
            ]
        },
        {
            "name": "uvicorn",
            "specs": [
                [
                    "==",
                    "0.28.0"
                ]
            ]
        },
        {
            "name": "besser",
            "specs": []
        }
    ],
    "lcname": "bocl"
}
        
Elapsed time: 0.35945s