gnu-screen-class


Namegnu-screen-class JSON
Version 1.2 PyPI version JSON
download
home_pageNone
Summarywrapper around gnu screen
upload_time2024-04-13 02:01:18
maintainerNone
docs_urlNone
authorGerard
requires_python>=3.8
licenseMIT License Copyright (c) 2023 NMRhub 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
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # gnuscreen
Wrapper around GNU screen

### As Python module
```plaintext
Help on package gnuscreen:

NAME
    gnuscreen

PACKAGE CONTENTS
    main

CLASSES
    builtins.object
        GnuScreen
    
    class GnuScreen(builtins.object)
     |  GnuScreen(id: int, name: str, launched: datetime.datetime, attached: bool) -> None
     |  
     |  GnuScreen(id: int, name: str, launched: datetime.datetime, attached: bool)
     |  
     |  Methods defined here:
     |  
     |  __eq__(self, other)
     |  
     |  __init__(self, id: int, name: str, launched: datetime.datetime, attached: bool) -> None
     |  
     |  __repr__(self)
     |  
     |  close(self)
     |      Close screen
     |  
     |  execute(self, cmds: Iterable[str]) -> None
     |      Execute commands on screen
     |  
     |  ----------------------------------------------------------------------
     |  Static methods defined here:
     |  
     |  get(name: str) -> 'GnuScreen'
     |      Get existing screen or create new one
     |  
     |  list() -> Iterable[ForwardRef('GnuScreen')]
     |      List existing screens
     |  
     |  query(name: str) -> Union[ForwardRef('GnuScreen'), NoneType]
     |      Get existing screen if it exists
     |  
     |  ----------------------------------------------------------------------
     |  Readonly properties defined here:
     |  
     |  exists
     |      Return true if screen with 'name' exists
     |  
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |  
     |  __dict__
     |      dictionary for instance variables (if defined)
     |  
     |  __weakref__
     |      list of weak references to the object (if defined)
     |  
     |  ----------------------------------------------------------------------
     |  Data and other attributes defined here:
     |  
     |  __annotations__ = {'attached': <class 'bool'>, 'id': <class 'int'>, 'l...
     |  
     |  __dataclass_fields__ = {'attached': Field(name='attached',type=<class ...
     |  
     |  __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
     |  
     |  __hash__ = None

DATA
    Iterable = typing.Iterable
    Optional = typing.Optional
    gnuscreen_logger = <Logger gnuscreen (WARNING)>

VERSION
    1.1

FILE
    /git/NMRhub/gnuscreen/src/gnuscreen/__init__.py



```

### Command line interface 
Although intended for primarily as a module, a command line interface is provided
```
usage: gnuscreen [-h] [-l LOGLEVEL]
                 (--list | --start START | --query QUERY | --close CLOSE | --execute EXECUTE [EXECUTE ...] | --version)

optional arguments:
  -h, --help            show this help message and exit
  -l LOGLEVEL, --loglevel LOGLEVEL
                        Python logging level
  --list                List screens
  --start START         Start screen if necesary
  --query QUERY         Test for existing screen
  --close CLOSE         Close screen if it exits
  --execute EXECUTE [EXECUTE ...]
                        Execute commands on screen: screen name, commands
  --version             show version
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "gnu-screen-class",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Gerard",
    "author_email": "gweatherby@uchc.edu",
    "download_url": "https://files.pythonhosted.org/packages/cc/d6/da506d43b1c3d3e31370bdcb4428be52583514fb215e5fd925fd0fc38908/gnu-screen-class-1.2.tar.gz",
    "platform": null,
    "description": "# gnuscreen\nWrapper around GNU screen\n\n### As Python module\n```plaintext\nHelp on package gnuscreen:\n\nNAME\n    gnuscreen\n\nPACKAGE CONTENTS\n    main\n\nCLASSES\n    builtins.object\n        GnuScreen\n    \n    class GnuScreen(builtins.object)\n     |  GnuScreen(id: int, name: str, launched: datetime.datetime, attached: bool) -> None\n     |  \n     |  GnuScreen(id: int, name: str, launched: datetime.datetime, attached: bool)\n     |  \n     |  Methods defined here:\n     |  \n     |  __eq__(self, other)\n     |  \n     |  __init__(self, id: int, name: str, launched: datetime.datetime, attached: bool) -> None\n     |  \n     |  __repr__(self)\n     |  \n     |  close(self)\n     |      Close screen\n     |  \n     |  execute(self, cmds: Iterable[str]) -> None\n     |      Execute commands on screen\n     |  \n     |  ----------------------------------------------------------------------\n     |  Static methods defined here:\n     |  \n     |  get(name: str) -> 'GnuScreen'\n     |      Get existing screen or create new one\n     |  \n     |  list() -> Iterable[ForwardRef('GnuScreen')]\n     |      List existing screens\n     |  \n     |  query(name: str) -> Union[ForwardRef('GnuScreen'), NoneType]\n     |      Get existing screen if it exists\n     |  \n     |  ----------------------------------------------------------------------\n     |  Readonly properties defined here:\n     |  \n     |  exists\n     |      Return true if screen with 'name' exists\n     |  \n     |  ----------------------------------------------------------------------\n     |  Data descriptors defined here:\n     |  \n     |  __dict__\n     |      dictionary for instance variables (if defined)\n     |  \n     |  __weakref__\n     |      list of weak references to the object (if defined)\n     |  \n     |  ----------------------------------------------------------------------\n     |  Data and other attributes defined here:\n     |  \n     |  __annotations__ = {'attached': <class 'bool'>, 'id': <class 'int'>, 'l...\n     |  \n     |  __dataclass_fields__ = {'attached': Field(name='attached',type=<class ...\n     |  \n     |  __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...\n     |  \n     |  __hash__ = None\n\nDATA\n    Iterable = typing.Iterable\n    Optional = typing.Optional\n    gnuscreen_logger = <Logger gnuscreen (WARNING)>\n\nVERSION\n    1.1\n\nFILE\n    /git/NMRhub/gnuscreen/src/gnuscreen/__init__.py\n\n\n\n```\n\n### Command line interface \nAlthough intended for primarily as a module, a command line interface is provided\n```\nusage: gnuscreen [-h] [-l LOGLEVEL]\n                 (--list | --start START | --query QUERY | --close CLOSE | --execute EXECUTE [EXECUTE ...] | --version)\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -l LOGLEVEL, --loglevel LOGLEVEL\n                        Python logging level\n  --list                List screens\n  --start START         Start screen if necesary\n  --query QUERY         Test for existing screen\n  --close CLOSE         Close screen if it exits\n  --execute EXECUTE [EXECUTE ...]\n                        Execute commands on screen: screen name, commands\n  --version             show version\n```\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 NMRhub  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": "wrapper around gnu screen",
    "version": "1.2",
    "project_urls": {
        "Homepage": "https://github.com/NMRhub/gnuscreen"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "df0f3a16edd3073deb0e6d3330558a356fad22ff986999f8bf80e755339d10f5",
                "md5": "2e348a1440c631663478ecceca9b13e9",
                "sha256": "276a79826a451adce1a980ad6da9093a6348ca2385b7e8c37509ca17b562222c"
            },
            "downloads": -1,
            "filename": "gnu_screen_class-1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2e348a1440c631663478ecceca9b13e9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 5982,
            "upload_time": "2024-04-13T02:01:17",
            "upload_time_iso_8601": "2024-04-13T02:01:17.547842Z",
            "url": "https://files.pythonhosted.org/packages/df/0f/3a16edd3073deb0e6d3330558a356fad22ff986999f8bf80e755339d10f5/gnu_screen_class-1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ccd6da506d43b1c3d3e31370bdcb4428be52583514fb215e5fd925fd0fc38908",
                "md5": "1522afde44129b2a72c7dd1a6ea81272",
                "sha256": "833ab3119f5b14692fe4e988d8bef304d826a352dc482a2efb05542b9c2a48fc"
            },
            "downloads": -1,
            "filename": "gnu-screen-class-1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "1522afde44129b2a72c7dd1a6ea81272",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 4677,
            "upload_time": "2024-04-13T02:01:18",
            "upload_time_iso_8601": "2024-04-13T02:01:18.445120Z",
            "url": "https://files.pythonhosted.org/packages/cc/d6/da506d43b1c3d3e31370bdcb4428be52583514fb215e5fd925fd0fc38908/gnu-screen-class-1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-13 02:01:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "NMRhub",
    "github_project": "gnuscreen",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "gnu-screen-class"
}
        
Elapsed time: 0.47401s