Skip to main content

wrapper around gnu screen

Project description

gnuscreen

Wrapper around GNU screen

As Python module

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gnu-screen-class-1.2.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

gnu_screen_class-1.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file gnu-screen-class-1.2.tar.gz.

File metadata

  • Download URL: gnu-screen-class-1.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/69.2.0 requests-toolbelt/0.8.0 tqdm/4.64.1 CPython/3.8.10

File hashes

Hashes for gnu-screen-class-1.2.tar.gz
Algorithm Hash digest
SHA256 833ab3119f5b14692fe4e988d8bef304d826a352dc482a2efb05542b9c2a48fc
MD5 1522afde44129b2a72c7dd1a6ea81272
BLAKE2b-256 ccd6da506d43b1c3d3e31370bdcb4428be52583514fb215e5fd925fd0fc38908

See more details on using hashes here.

File details

Details for the file gnu_screen_class-1.2-py3-none-any.whl.

File metadata

  • Download URL: gnu_screen_class-1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/69.2.0 requests-toolbelt/0.8.0 tqdm/4.64.1 CPython/3.8.10

File hashes

Hashes for gnu_screen_class-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 276a79826a451adce1a980ad6da9093a6348ca2385b7e8c37509ca17b562222c
MD5 2e348a1440c631663478ecceca9b13e9
BLAKE2b-256 df0f3a16edd3073deb0e6d3330558a356fad22ff986999f8bf80e755339d10f5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page