semvec/pypi-packages huggingface dataset:
python3-seco-range 1.0.2
A Python 3 version of the library to interact with Range from ytoolshed
Requires Python: >=3.6

# python3-seco-range
### Requirements
- Python 3
- [pysvn](https://pysvn.sourceforge.io/downloads.html)

### Usage
    $ python3
    Python 3.6.8 (default, Aug  7 2019, 17:28:10) 
    [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> 
    >>> import seco.range
    >>> 
    >>> range_session = seco.range.Range(host='localhost')
    >>> range_session.expand('%{mycluster}:STABLE')
    ['hostname1', 'hostname2']
pav-logger 1.0.1
PavLogger provides the ability to log debug and exception to a text file or a SQLite database with optional Backtrace output.

![PavWeb2](https://user-images.githubusercontent.com/51343959/58841379-986b4180-8637-11e9-9dd2-219979601ac8.PNG)

# PavLogger

This currently provides a easy to use sqlite and postgres database commands.  If you install SQLCypher, the library can also handle the encryption of the database.

## Installation 
Run the following to install:

```python
pip install pav_logger
```

## Usage


```python
Optional:
    log_name:
        Provides a way to specify another log file name:
        Default: debug and exception
    show_backtrace:
        Provides a way to specify to show the backtrace of an message
        Default:
            Debug: False
            Error: True
    log_severity:
        Provides a way to specify a number for the log for SQLite database
        Default:
            Debug: 0
            Error: 4
    line_divider:
        Provides a way to change the dividing line between messages.
        Default:
            '#'

import pav_logger

pav_logger = pav_logger.PavLogger()
pav_logger.log_path = "<Location Folder Path>"
pav_logger.debug('This is a debug message.')

try:
    raise ValueError('There is an error')
except Exception as error:
    pav_logger.error(error)

pav_logger.log_to_database = True
pav_logger.debug('This is a debug message.')

try:
    raise ValueError('There is an error')
except Exception as error:
    pav_logger.error(error)

```