semvec/pypi-packages huggingface dataset:
PyTools5 0.0.4
A very basic way to do complex stuff in python.
License: MIT
Keywords: system

This library will allow you to do simple things in python without as much typing in the code.

(COMMANDS)
PyTools5.gui.makelabel(text) - Make TKinter Label With The Text In The Args
PyTools5.gui.makebutton(text, command) - Make TKinter Button With The Text and Press Command In The Args
PyTools5.calculate.add(num1, num2) - Add Num1 And Num2
PyTools5.calculate.subtract(num1, num2) - Subtract Num1 And Num2
PyTools5.calculate.multiply(num1, num2) - Multiply Num1 And Num2
PyTools5.calculate.divide(num1, num2) - Divide Num1 And Num2
PyTools5.system._sysprint_(text) - Print the Text in the Function in your python windows using batch
PyTools5.system._syspause_() - Pause your python script and ask for key press to continue
PyTools5.pywindow.title(name) - Changes the name of your python console if app is console-based

Changelog
=========

0.0.1 (5/1/2021)
----------------
- First Release

0.0.2 (5/1/2021)
----------------
Fixed PIP error

0.0.3 (5/1/2021)
----------------
2nd PIP error fixed

0.0.4 (5/1/2021)
----------------
Fixed invalid syntax
jyk-logging 1.0.3
jyk logging utils package
License: MIT
Requires Python: >=3.7.1
Keywords: jyk logging

# jyk-logging

jyk logging utils


## Installation
```
$ pip install jyk-logging
```

## Getting Started

1. Cases

```shell
import logging
from jyk.logging import initConsoleLogging, initLogging, LogRootPath, FormatterMode

# case 1: initConsoleLogging(level=logging.INFO, mode=FormatterMode.BRIEF)
initConsoleLogging()

# case 2: initLogging(name, level=logging.INFO, mode=FormatterMode.INTACT):
LogRootPath.set('var/log/jyk')
initLogging('test.log')
```

2. API

```python
def initConsoleLogging(level=logging.INFO, mode=FormatterMode.BRIEF):
    """Initializes logging only to console.
    Args:
        level: logging.level
    """

def initLogging(name, level=logging.INFO, mode=FormatterMode.INTACT):
    """Initializes logging.
    Args:
        level: logging.level
    """

class FormatterMode(object):
    BRIEF = "brief"
    INTACT = 'intact'

if mode == FormatterMode.INTACT:
    formatter = logging.Formatter(
        "%(asctime)s [%(name)s] %(levelname)s: %(message)s")
else:
    formatter = logging.Formatter("[%(name)s]: %(message)s")

```


## Running the tests

```shell
$ cd jyk-logging
$ pytest -s
```

## Changelog

## 1.0.3
> 2021-04-19 release

## 1.0.2
> 2020-04-22 release

### BugFix

- fix encoding

## 1.0.1
> 2019-10-19 release

### Features

- add initConsoleLogging
- add initLogging
- add LogRootPath
- add FormatterMode

## TODOs

- add color api

## Authors

* **kongkong Jiang** - *Initial work* - [jyker](https://git.kongkongss.com/jyker)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details