Metadata-Version: 2.1
Name: screens.py
Version: 0.4.4
Summary: A light-weight library for easy interaction between Python and GNU screen.
Home-page: https://github.com/romanin-rf/pyscreen
Author: Romanin
Author-email: semina054@gmail.com
License: UNKNOWN
Keywords: GNU screen,screens
Platform: UNKNOWN
Description-Content-Type: text/markdown
License-File: LICENSE

# screen.py
## Description
A light-weight library for easy interaction between Python and GNU screen.

This library allows you create, find and kill screen sessions programmatically from Python, as well as send (string) commands to these sessions. You can use this to start other software inside a screen session from a Python script, like this:
```python
import screens

# Start a new session and give it something to do    
session = screens.ScreenSession('myName')
session.send_command('echo hello')

# Kill a screen session with a particular name
session = screens.get_session_with_name('testSession')
session.kill()

# Print all the id of all sessions
for session in screens.get_all_sessions():
    print(session.id)
```
## Installation
```
pip install --upgrade screens.py
```


