moirai


Namemoirai JSON
Version 1.3.30 PyPI version JSON
download
home_pagehttps://github.com/acristoffers/moirai
SummaryDigital Control Manager Backend
upload_time2024-01-16 08:01:43
maintainer
docs_urlNone
authorÁlan Crístoffer
requires_python>=3.9,<3.12
licenseMIT
keywords digital control manager
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # moirai

Moirai is the backend for the platform. It is developed as part of my scientific
initiation project, named Plataformas de baixo custo para controle de processos
(low-cost platform for process control), developed at CEFET-MG (Brazil) under
the supervision of Prof. Dr. Valter Leite. The project was developed through a
FAPEMIG scholaship.

It's meant to be installed in a computer near the plant, so it can be
remote-controlled by [Lachesis](https://github.com/acristoffers/Lachesis). It
exposes a RESTful API that let's you configure the hardware, save tests and
controllers, execute them and fetch the results in real-time or after the
execution finishes.

Controllers for this platform are written in Python 3 and can use any librarie
available in the computer where _moirai_ is running. It already depends on NumPy
and SciPy, as they are commonly used. This platform manages the hardware
interfacing through the [ahio](https://github.com/acristoffers/ahio) libray, so
extending it's hardware capabilities is a question of extending AHIO, which
should be simple. Execution time, sampling time, input querying and output
updating is managed by the application and let's you focus on your
controller/model.

## Installation

Use pip to install. This is a Python 3 application and won't run in Python 2.
Use `pip install moirai` or `pip3 install moirai` to install it. It also has
other dependencies not installable through pip, which can be installed by
running `moirai --install --sudo`. It will install MongoDB (or MySQL on
Raspberry Pi) and the Snap7 library. It's designed to work on Windows, macOS
(with Homebrew) and Linux (apt-get, dnf, yum and zypper).

If using the Snap7 driver on Windows, you may need to compile the driver
yourself and copy it to /Windows/System32.

On macOS, using Homebrew, you can install with:

```bash
brew tap acristoffers/repo
brew install moirai
```

## License

Copyright (c) 2016 Álan Crístoffer

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/acristoffers/moirai",
    "name": "moirai",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<3.12",
    "maintainer_email": "",
    "keywords": "digital control manager",
    "author": "\u00c1lan Cr\u00edstoffer",
    "author_email": "acristoffers@startmail.com",
    "download_url": "https://files.pythonhosted.org/packages/5a/07/347f68986e8f6b1e71e5e92cd46139bfc87d818350fe6c94899051fd86d2/moirai-1.3.30.tar.gz",
    "platform": null,
    "description": "# moirai\n\nMoirai is the backend for the platform. It is developed as part of my scientific\ninitiation project, named Plataformas de baixo custo para controle de processos\n(low-cost platform for process control), developed at CEFET-MG (Brazil) under\nthe supervision of Prof. Dr. Valter Leite. The project was developed through a\nFAPEMIG scholaship.\n\nIt's meant to be installed in a computer near the plant, so it can be\nremote-controlled by [Lachesis](https://github.com/acristoffers/Lachesis). It\nexposes a RESTful API that let's you configure the hardware, save tests and\ncontrollers, execute them and fetch the results in real-time or after the\nexecution finishes.\n\nControllers for this platform are written in Python 3 and can use any librarie\navailable in the computer where _moirai_ is running. It already depends on NumPy\nand SciPy, as they are commonly used. This platform manages the hardware\ninterfacing through the [ahio](https://github.com/acristoffers/ahio) libray, so\nextending it's hardware capabilities is a question of extending AHIO, which\nshould be simple. Execution time, sampling time, input querying and output\nupdating is managed by the application and let's you focus on your\ncontroller/model.\n\n## Installation\n\nUse pip to install. This is a Python 3 application and won't run in Python 2.\nUse `pip install moirai` or `pip3 install moirai` to install it. It also has\nother dependencies not installable through pip, which can be installed by\nrunning `moirai --install --sudo`. It will install MongoDB (or MySQL on\nRaspberry Pi) and the Snap7 library. It's designed to work on Windows, macOS\n(with Homebrew) and Linux (apt-get, dnf, yum and zypper).\n\nIf using the Snap7 driver on Windows, you may need to compile the driver\nyourself and copy it to /Windows/System32.\n\nOn macOS, using Homebrew, you can install with:\n\n```bash\nbrew tap acristoffers/repo\nbrew install moirai\n```\n\n## License\n\nCopyright (c) 2016 \u00c1lan Cr\u00edstoffer\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Digital Control Manager Backend",
    "version": "1.3.30",
    "project_urls": {
        "Homepage": "https://github.com/acristoffers/moirai",
        "Repository": "https://github.com/acristoffers/moirai"
    },
    "split_keywords": [
        "digital",
        "control",
        "manager"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "37186003e855a42095c7b713b7e32d281101dcbc33b46c72218674be1a8bc778",
                "md5": "d5c8a4273a017314e391e5e3cac3a7c6",
                "sha256": "8cc0ca05276cb39eef62137865adb886a89f0b7eada6732d0f1a91d1858000b1"
            },
            "downloads": -1,
            "filename": "moirai-1.3.30-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d5c8a4273a017314e391e5e3cac3a7c6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<3.12",
            "size": 48858,
            "upload_time": "2024-01-16T08:01:41",
            "upload_time_iso_8601": "2024-01-16T08:01:41.984031Z",
            "url": "https://files.pythonhosted.org/packages/37/18/6003e855a42095c7b713b7e32d281101dcbc33b46c72218674be1a8bc778/moirai-1.3.30-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5a07347f68986e8f6b1e71e5e92cd46139bfc87d818350fe6c94899051fd86d2",
                "md5": "ab761b97f48a49ed5616661f3c94bdef",
                "sha256": "5f66159d510b42c5c47cf52054a66de578db611dd8ec291f49767157fd2e4318"
            },
            "downloads": -1,
            "filename": "moirai-1.3.30.tar.gz",
            "has_sig": false,
            "md5_digest": "ab761b97f48a49ed5616661f3c94bdef",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<3.12",
            "size": 26926,
            "upload_time": "2024-01-16T08:01:43",
            "upload_time_iso_8601": "2024-01-16T08:01:43.972443Z",
            "url": "https://files.pythonhosted.org/packages/5a/07/347f68986e8f6b1e71e5e92cd46139bfc87d818350fe6c94899051fd86d2/moirai-1.3.30.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-16 08:01:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "acristoffers",
    "github_project": "moirai",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "moirai"
}
        
Elapsed time: 5.94021s