Skip to main content

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

Metadata

Release files for gnu-screen-class 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gnu-screen-class 1.2.1
File Size Uploaded Provenance Actions
gnu_screen_class-1.2.1.tar.gz 5.1 kB Without provenance Details for gnu_screen_class-1.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gnu-screen-class 1.2.1
File Interpreter ABI Platform Actions
gnu_screen_class-1.2.1-py3-none-any.whl Python 3 none any Details for gnu_screen_class-1.2.1-py3-none-any.whl

Total release size: 11.6 kB

Release files / gnu_screen_class-1.2.1.tar.gz

Download URL gnu_screen_class-1.2.1.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
012868c0c2d0b5bf653298cfd4db14fd9379e1e35161d795bac889be567e7e29
BLAKE2b-256 checksum
How to use checksums
0f28ad8ec4c7827f1dbe930a87d7c10af7d4d39d0cb28a6680adb14dce744393
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Release files / gnu_screen_class-1.2.1-py3-none-any.whl

Download URL gnu_screen_class-1.2.1-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0439e04121d81c13c157c73b4763e5a6fed2c199771ffe626b7344f308f43e0f
BLAKE2b-256 checksum
How to use checksums
ecf88aedea13d23c7673056fe0fdc03a22d0481eead2dadbe875d8c5ce0e5f00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Security for gnu-screen-class 1.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page