semvec/pypi-packages huggingface dataset:
screensaver-cli 0.0.0
start/stop screensaver
Keywords: screensaver

### Install

```bash
$ [sudo] pip install screensaver-cli
```

### Features

+   start/stop screensaver

### Examples

```bash
# start default screensaver
$ screensaver start

# start screensaver by name
$ screensaver start "Flurry"
```

```bash
$ screensaver stop
```

system screensavers `/System/Library/Screen Savers`, `/System/Library/Frameworks/ScreenSaver.framework/Resources`:
```
Arabesque
Flurry
Shell
iLifeslideshows
Word of the Day
iTunes Artwork
Computer Name
```
ftp-proxy-client 0.0.7
python client for ftp-proxy server
Keywords: ftp proxy client

# ftp-proxy-client ![travis](https://travis-ci.com/uptilab2/ftp-proxy-client.svg?branch=master)
An FTP client for [ftp-proxy](https://github.com/uptilab2/ftp-proxy)

## Current features:
- Test successful connection to FTP server through proxy
- List files and directories
- Download a file

## Installation
`pip install ftp-proxy-client`

## Usage
```
    ftp_proxy = FtpProxy(host='foo', port=8080)
    ftp_client = ftp_proxy.connect('192.168.0.1', port=8080, login='foobar')

    assert ftp_client.ping() is True
    files, directories = ftp_client.ls()
    assert files and directories

    files2, directories = ftp_client.ls(recursive=True)
    assert len(files2) > len(files)

    files3, directories = ftp_client.ls(recursive=True, extension='.txt')
    assert not directories
    assert files3[0].endswith('.txt')

    fp = ftp_client.download(path='/foo.txt')
    with open('/tmp/foo.txt', 'wb') as ff:
    ff.write(fp.read())
    assert fp.tell() > 0
```
logworks 0.7.6
logworks is a convenience wrapper for the logging Python module.
Keywords: logging

logworks is a convenience wrapper for the logging Python module. It is useful for me and the work I do at IHCantabria. 

I make it public with best wishes, but no implication is made about its potential utility and usability for others. logworks is distributed as free software, under the GPLv3.


## Some examples

NOTE: GitHub's markdown parser discards some HTML. As a result, the outputs below lack color.

### Default

```python
from logworks import logworks

logger = logworks.Logger()

logger.debug("Verbose debug")
logger.info("This is some info")
logger.ok("Everything is ok")
logger.warning("Danger! Danger!")
logger.error("Something went wrong")
```

Yields the following (your exact colors may vary). Note debug text is not logged.

<pre>
2018-04-11 12:10:35 <span style="color: blue">[INFO]</span> This is some info
2018-04-11 12:10:35 <span style="color: green">[OK]</span> Everything is ok
2018-04-11 12:10:35 <span style="color: goldenrod">[WARNING]</span> Danger! Danger!
2018-04-11 12:10:35 <span style="color: red">[ERROR]</span> Something went wrong
</pre>

### Debug

```python
import logging
from logworks import logworks

logger = logworks.Logger(level=logging.DEBUG)

logger.debug("Verbose debug")
```

Yields (now it logs debug). Note that default color for debug is no color.

<pre>
2018-04-11 12:10:35 [DEBUG] Verbose debug
</pre>

### No colors

```python
from logworks import logworks

logger = logworks.Logger(use_color=False)

logger.info("This is some info")
logger.ok("Everything is ok")
logger.warning("Danger! Danger!")
logger.error("Something went wrong")
```

Yields:

<pre>
2018-04-11 12:10:35 [INFO] This is some info
2018-04-11 12:10:35 [OK] Everything is ok
2018-04-11 12:10:35 [WARNING] Danger! Danger!
2018-04-11 12:10:35 [ERROR] Something went wrong
</pre>

### Custom formatter

```python
import logging
from logworks import logworks

myformatter = logging.Formatter(
    fmt='{clevelname} - {asctime} - {message}',
    datefmt="%H:%M:%S",
    style="{"
)

logger = logworks.Logger(console_formatter=myformatter)

logger.info("This is some custom info")
```

Yields:

<pre>
<span style="color: blue">[INFO]</span> - 12:10:35 - This is some custom info
</pre>