mdsconnector


Namemdsconnector JSON
Version 1.8.1 PyPI version JSON
download
home_page
SummaryRemote call to MDSplus objects
upload_time2024-03-19 20:40:17
maintainer
docs_urlNone
authorMDSplus Core Development Team
requires_python>2.5
licenseMIT License Copyright (c) 2017 MDSplus Software Development project 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.
keywords mdsplus data managment data acquisition magnetic fusion energy remote data access
VCS
bugtrack_url
requirements black bumpver dill flake8 isort mypy numpy pip-tools plumbum pytest rpyc
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # mdsConnector
Connect to remote MDSplus server via SSH in python and use MDSplus python objects remotely

This module requires the rpyc module to be installed on the local host. The MDSplus software package
is not needed on the local host but you can utilize all of the MDSplus python objects remotely on
the server you connect to. The data remains on the remote system unless you retrieve an instance
of a python primitive object or an numpy array.

The following example demonstrates how this can be used.

```
>>> from mdsconnector import mdsConnector
>>> c = mdsConnector('hostname')
>>> t = c.Tree('mytree',42)
>>> n = c.getNode('\top:signal')
>>> rec = n.record
>>> nmpyarray = rec.data()
>>> ans = c.Data.execute('$ * 10',nmpyarray).data()
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "mdsconnector",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">2.5",
    "maintainer_email": "",
    "keywords": "MDSplus,Data Managment,Data Acquisition,Magnetic Fusion Energy,Remote Data Access",
    "author": "MDSplus Core Development Team",
    "author_email": "mdsplus_dev@psfc.mit.edu",
    "download_url": "https://files.pythonhosted.org/packages/d2/d7/92302518495f6431fbbeb6b3e7f388b99adebc3162385bc1e5168b179088/mdsconnector-1.8.1.tar.gz",
    "platform": null,
    "description": "# mdsConnector\nConnect to remote MDSplus server via SSH in python and use MDSplus python objects remotely\n\nThis module requires the rpyc module to be installed on the local host. The MDSplus software package\nis not needed on the local host but you can utilize all of the MDSplus python objects remotely on\nthe server you connect to. The data remains on the remote system unless you retrieve an instance\nof a python primitive object or an numpy array.\n\nThe following example demonstrates how this can be used.\n\n```\n>>> from mdsconnector import mdsConnector\n>>> c = mdsConnector('hostname')\n>>> t = c.Tree('mytree',42)\n>>> n = c.getNode('\\top:signal')\n>>> rec = n.record\n>>> nmpyarray = rec.data()\n>>> ans = c.Data.execute('$ * 10',nmpyarray).data()\n```\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2017 MDSplus Software Development project  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. ",
    "summary": "Remote call to MDSplus objects",
    "version": "1.8.1",
    "project_urls": {
        "Homepage": "https://github.com/MDSplus/mdsConnector"
    },
    "split_keywords": [
        "mdsplus",
        "data managment",
        "data acquisition",
        "magnetic fusion energy",
        "remote data access"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "afe17bec68596a3734d159514681d68167b43833de65be4ea2888c862e0b0d00",
                "md5": "ddd1f7bbcb098724446b11d7452c2591",
                "sha256": "146d986225a2c677453920133a603f99fec8f38d27fbc37715a600cab45063d6"
            },
            "downloads": -1,
            "filename": "mdsconnector-1.8.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ddd1f7bbcb098724446b11d7452c2591",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">2.5",
            "size": 15321,
            "upload_time": "2024-03-19T20:40:14",
            "upload_time_iso_8601": "2024-03-19T20:40:14.955539Z",
            "url": "https://files.pythonhosted.org/packages/af/e1/7bec68596a3734d159514681d68167b43833de65be4ea2888c862e0b0d00/mdsconnector-1.8.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d2d792302518495f6431fbbeb6b3e7f388b99adebc3162385bc1e5168b179088",
                "md5": "a7206f5b0191ded17e4dc0e928f107f7",
                "sha256": "c3a6759b4e82a4fe49c709a61cae2abaa2ee4447fd2bd8303db96d7672f88d48"
            },
            "downloads": -1,
            "filename": "mdsconnector-1.8.1.tar.gz",
            "has_sig": false,
            "md5_digest": "a7206f5b0191ded17e4dc0e928f107f7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">2.5",
            "size": 15286,
            "upload_time": "2024-03-19T20:40:17",
            "upload_time_iso_8601": "2024-03-19T20:40:17.256400Z",
            "url": "https://files.pythonhosted.org/packages/d2/d7/92302518495f6431fbbeb6b3e7f388b99adebc3162385bc1e5168b179088/mdsconnector-1.8.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-19 20:40:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MDSplus",
    "github_project": "mdsConnector",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "black",
            "specs": []
        },
        {
            "name": "bumpver",
            "specs": []
        },
        {
            "name": "dill",
            "specs": [
                [
                    "<=",
                    "0.3.2"
                ]
            ]
        },
        {
            "name": "flake8",
            "specs": []
        },
        {
            "name": "isort",
            "specs": []
        },
        {
            "name": "mypy",
            "specs": []
        },
        {
            "name": "numpy",
            "specs": []
        },
        {
            "name": "pip-tools",
            "specs": []
        },
        {
            "name": "plumbum",
            "specs": [
                [
                    "<=",
                    "1.6.9"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": []
        },
        {
            "name": "rpyc",
            "specs": [
                [
                    ">=",
                    "6.0.0"
                ]
            ]
        }
    ],
    "lcname": "mdsconnector"
}
        
Elapsed time: 0.26120s