semvec/pypi-packages huggingface dataset:
SWRunShell 1.2
进一步封装了subprocess，Python调用shell命令
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4
Keywords: sw shell command

# SWRunShell

> 进一步封装了subprocess，Python调用shell命令；  
> 支持 Python2, Python3；

## 安装 Install

```

pip3 install SWRunShell

```

# 使用 
```
from swrunshell import shell_command

command = 'echo "hello, world!"'

# 参数说明：
# print_command: 是否将command 打印到终端，默认False
# print_log: 是否打印shell命令执行结果,默认False
# error_to_output: 是否把错误信息stderr重定向到标准输出stdout,默认True
# print_error: 异常时，是否打印错误信息,默认True

shell_command.call(command, print_command=False)
shell_command.check_call(command)
shell_command.check_output(command)

```
tgmb-beta 1.4b0
Predecessor to `tgmb`
Requires Python: >=3.8

# tgmb-beta

[![build-docker-image](https://github.com/ksssomesh12/tgmb-beta/actions/workflows/build-docker-image.yml/badge.svg)](https://github.com/ksssomesh12/tgmb-beta/actions/workflows/build-docker-image.yml)
test2-opsramp-analytics-utils 1.1.0
OpsRamp Analytics SDK
Requires Python: >=3.6

## OpsRamp Analytics Utilities

This is the SDK for writing OpsRamp analytics apps. It is based on [dash](https://plotly.com/dash/), and it has a number of utility functions.

It contains [analysis wrapper project](https://github.com/opsramp/analysis-wrapper).

It is published on [Pypi](https://pypi.org/project/opsramp-analytics-utils/)

#### How to publish on Pypi

After make updates on SDK, modify the version in _setup.py_.

```
python setup.py sdist bdist_wheel
python -m twine upload dist/*
```

- To upgrade the sdk for your app
```
pip install --no-cache-dir --upgrade opsramp-analytics-utils
```
jericho-validator 1.1.12
Validate arbitrary base64-encoded image uploads as incoming data urls while preserving image integrity but removing EXIF and unwanted artifacts and mitigating RCE-exploit potential.
Requires Python: >=3.6

# jericho-validator
 Validate arbitrary image uploads from incoming data urls while preserving file integrity but removing EXIF and unwanted artifacts and RCE exploit potential.

### Installation
PyPi: `pip install jericho-validator`

Manually: `python setup.py install`

### Example Usage
```python
from requests import get
from jericho_validator import Jericho


example_b64 = "https://raw.githubusercontent.com/hostinfodev/jericho-validator/main/example/example.png.b64"

b64_url = get(example_b64).text

def test_valid_b64(b64_url):    

    try:
        # Check the data URL (image)
        j = Jericho.jericho(b64_url)

    except Jericho.Exceptions.ImageTooLarge:
        print('Image is too large.')

    except Jericho.Exceptions.EmptyFileName:
        print('File name is empty.')
        
    except Jericho.Exceptions.UnsupportedImageType:
        print('Image type not supported.')

    except Exception as e:
        print(e)
        
    if j.isValid:
        print('Image is valid.')
        print('Image size in bytes: ' + str(j.sizeBytes))
        print('Image dimensions: ' + str(j.dimensions))
        print('Image filename: ' + j.filename)
        print('Image extension: ' + j.extension)
        print('Image format prefix: ' + j.formatPrefix)
        
    else:
        print('Image is invalid.')


if __name__ == '__main__':
    test_valid_b64(b64_url)

```