ads-async


Nameads-async JSON
Version 0.3.1 PyPI version JSON
download
home_page
SummaryPython TwinCAT ADS async tools
upload_time2023-04-07 23:09:03
maintainer
docs_urlNone
authorSLAC National Accelerator Laboratory
requires_python>=3.9
licenseCopyright (c) 2023, The Board of Trustees of the Leland Stanford Junior University, through SLAC National Accelerator Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. (3) Neither the name of the Leland Stanford Junior University, SLAC National Accelerator Laboratory, U.S. Dept. of Energy nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER, THE UNITED STATES GOVERNMENT, OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. You are under no obligation whatsoever to provide any bug fixes, patches, or upgrades to the features, functionality or performance of the source code ("Enhancements") to anyone; however, if you choose to make your Enhancements available either publicly, or directly to SLAC National Accelerator Laboratory, without imposing a separate written license agreement for such Enhancements, then you hereby grant the following license: a non-exclusive, royalty-free perpetual license to install, use, modify, prepare derivative works, incorporate into other computer software, distribute, and sublicense such Enhancements or derivative works thereof, in binary and source code form.
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===============================
ads-async
===============================

.. image:: https://img.shields.io/pypi/v/ads-async.svg
        :target: https://pypi.python.org/pypi/ads-async


Asyncio (or sans-i/o) TwinCAT AMS/ADS testing server in pure Python.

... and maybe a prototype client, too.

Requirements
------------

* Python 3.9+
* (Optional) pytmc (for loading .tmc files in the server)

Server Functionality
--------------------

* Reference asyncio implementation.
* Loads .tmc files for symbol information (basic types only).
* Supports read, write, read/write of symbols (by handle or name).
* Supports 'sum up' bulk reads (by way of read_write).
* Pretends to create/delete notifications (not yet working)

Client Functionality
--------------------

* Preliminary symbol, handle, and notification support
* LOGGER port message decoding
* Shortcuts for common information (project/application/task names, task count)
* Ability to easily prune unknown notification handles
* Automatic reconnection
* Log system configuration

Installation
------------
::

  $ git clone git@github.com:pcdshub/ads-async
  $ cd ads-async
  $ pip install .

Running the Tests
-----------------
::

  $ pip install pytest
  $ pytest -vv ads_async/tests

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "ads-async",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "",
    "author": "SLAC National Accelerator Laboratory",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/f5/85/e1e9c62b7585d1517f2515cdaa6d89f302d6ee62fb88541657ec9fff7396/ads-async-0.3.1.tar.gz",
    "platform": null,
    "description": "===============================\nads-async\n===============================\n\n.. image:: https://img.shields.io/pypi/v/ads-async.svg\n        :target: https://pypi.python.org/pypi/ads-async\n\n\nAsyncio (or sans-i/o) TwinCAT AMS/ADS testing server in pure Python.\n\n... and maybe a prototype client, too.\n\nRequirements\n------------\n\n* Python 3.9+\n* (Optional) pytmc (for loading .tmc files in the server)\n\nServer Functionality\n--------------------\n\n* Reference asyncio implementation.\n* Loads .tmc files for symbol information (basic types only).\n* Supports read, write, read/write of symbols (by handle or name).\n* Supports 'sum up' bulk reads (by way of read_write).\n* Pretends to create/delete notifications (not yet working)\n\nClient Functionality\n--------------------\n\n* Preliminary symbol, handle, and notification support\n* LOGGER port message decoding\n* Shortcuts for common information (project/application/task names, task count)\n* Ability to easily prune unknown notification handles\n* Automatic reconnection\n* Log system configuration\n\nInstallation\n------------\n::\n\n  $ git clone git@github.com:pcdshub/ads-async\n  $ cd ads-async\n  $ pip install .\n\nRunning the Tests\n-----------------\n::\n\n  $ pip install pytest\n  $ pytest -vv ads_async/tests\n",
    "bugtrack_url": null,
    "license": "Copyright (c) 2023, The Board of Trustees of the Leland Stanford Junior University, through SLAC National Accelerator Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:  (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.  (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.  (3) Neither the name of the Leland Stanford Junior University, SLAC National Accelerator Laboratory, U.S. Dept. of Energy nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER, THE UNITED STATES GOVERNMENT, OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  You are under no obligation whatsoever to provide any bug fixes, patches, or upgrades to the features, functionality or performance of the source code (\"Enhancements\") to anyone; however, if you choose to make your Enhancements available either publicly, or directly to SLAC National Accelerator Laboratory, without imposing a separate written license agreement for such Enhancements, then you hereby grant the following license: a non-exclusive, royalty-free perpetual license to install, use, modify, prepare derivative works, incorporate into other computer software, distribute, and sublicense such Enhancements or derivative works thereof, in binary and source code form. ",
    "summary": "Python TwinCAT ADS async tools",
    "version": "0.3.1",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6500585a5e68b2811e9c3e28b6b3040eb4dbd342241983537cc954ce2b19a7b6",
                "md5": "5d3d01c1555a00044602c5ce0709df7d",
                "sha256": "756a1f01b63b027a43bd594f48c0243f3448f3a94eaff6145b6029da1aeb9478"
            },
            "downloads": -1,
            "filename": "ads_async-0.3.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5d3d01c1555a00044602c5ce0709df7d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 110520,
            "upload_time": "2023-04-07T23:02:36",
            "upload_time_iso_8601": "2023-04-07T23:02:36.431894Z",
            "url": "https://files.pythonhosted.org/packages/65/00/585a5e68b2811e9c3e28b6b3040eb4dbd342241983537cc954ce2b19a7b6/ads_async-0.3.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f585e1e9c62b7585d1517f2515cdaa6d89f302d6ee62fb88541657ec9fff7396",
                "md5": "4092d54356aa214271500d3e596bbfac",
                "sha256": "f0a6593ad8af7b89a3b8c8f9e2f66696ba9ceb85165194773a8777e02fc26777"
            },
            "downloads": -1,
            "filename": "ads-async-0.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "4092d54356aa214271500d3e596bbfac",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 108966,
            "upload_time": "2023-04-07T23:09:03",
            "upload_time_iso_8601": "2023-04-07T23:09:03.685845Z",
            "url": "https://files.pythonhosted.org/packages/f5/85/e1e9c62b7585d1517f2515cdaa6d89f302d6ee62fb88541657ec9fff7396/ads-async-0.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-07 23:09:03",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "ads-async"
}
        
Elapsed time: 0.07455s