semvec/pypi-packages huggingface dataset:
dark-image-processing 0.0.1
Processamento de Imagens com Python
Requires Python: >=3.8

# package_name

Description. 
The package image_processing is used to:
	Processing:
		- Histrogram matching, Structural similarity and Resize Images
	Utils:
		- Read, Save and Plot Image	

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install package_name

```bash
pip install dark_image_processing
```

## Author
Luis Ramires

## License
[MIT](https://choosealicense.com/licenses/mit/)
Configify-Wizard 0.1.2
A configuration parser for YAML, CFG, and ENV files
Requires Python: >=3.6

# Configify Wizard

`Configify Wizard` is a Python package designed for managing and converting configuration files. It supports parsing configurations from YAML, CFG, and CONF files, and provides functionality to write configurations to `.env` files, JSON files, or set them as environment variables.

## Features

- **Read Configuration Files**: Supports YAML, CFG, and CONF file formats.
- **Write Configuration**: Save configurations to `.env` or JSON files.
- **Set Environment Variables**: Easily set configurations as environment variables.

## Installation

You can install `Configify Wizard` via pip:

`bash`
pip install Configify-Wizard

## Usage

Hereâ€™s a quick guide to using Configify Wizard:

### 1. Parse Configuration Files
You can read configuration files in YAML, CFG, or CONF formats:


```python
from config_parser_module.config_reader import ConfigParserModule

config_parser = ConfigParserModule()

# Read YAML file 
config_dict = config_parser.read_yaml('config.yaml')

# Read CFG or CONF file
config_dict = config_parser.read_cfg('config.cfg')

```
**Note: Please enter full path of the files which you want to parse**

### 2. Write Configurations

You can write configurations to a .env file or a JSON file:

```python
# Write to .env file
config_parser.write_env('./config.env')

# Write to JSON file
config_parser.write_json('./config.json')

```
**Note: config_parser takes care of creating the directory if not present, enter desired filename and patho of your choice.**

## 3. Set Environment Variables

```python

config_parser.set_os_env()

```

**Note: Setting up Environment Variable in OS currently supports for Linux Environment, Windows is currently under development, Contributions Welcome ðŸ˜‰**
htto 1.0
simple, high performance http requests library

# HTTO is high performance and simple HTTP library.

install htto library on windows/linux<br/>
```bash
pip install htto
```
how to use:<br/>
```python3
# 1 import htto library
import htto

# 2 creat client to save your connections session
cn = htto.client(timeout=10)
cn_without_timeout = cn()

# 3 send http request
response = cn.get('https://httpbin.org/ip')

# 4 take response with any format
print(response.json()['origin'])
print(response.text())
print(response.body())
print(response.headers().get('User-Agent'))

# 5 close connection after finish
cn.close_host('httpbin.org')

# 6 close all connections in the client
cn.close()
```

send http request directly<br/>

```python3
import htto

# send http request without client
response = htto.get('https://httpbin.org')
print(response.text())
```

**soon htto will support proxies HTTP, HTTPS, SOCKS4, SOCKS5**<br/>
logmon 0.0.2
Linux authentication log monitor and commands executor
Requires Python: >=3.8
Keywords: authentication, logs, monitoring, telegram

# Linux authentication log (auth.log) monitor and commands executor

## Install
Make dir and creane venv

    $ sudo mkdir -p /opt/apps/logmon
    $ sudo python3 -m venv /opt/apps/logmon/

Install package in venv

    $ sudo /opt/apps/logmon/bin/python3 -m pip install logmon


## Init telegram
    $ cd /opt/apps/logmon && sudo ./bin/python3 -m logmon.init
Initialise telegram bot token and admin chat id

## Run log monitor in command line (for test)
    $ cd /opt/apps/logmon && sudo ./bin/python3 -m logmon.main_watcher
Read /var/log/auth.log and send events to admin telegram

## Run commands executor in command line (for test)
    $ cd /opt/apps/logmon && sudo ./bin/python3 -m logmon.main_executor

Read commands from admin chat

    /stat - show system cpus load and memory usage
    
    /run args - run command from args and return response
    
    /rb - reboot

    /sd - shutdown

## Run log monitor as service

Create and edit .service file

    $ sudo nano /etc/systemd/system/logmon-watcher.service

Paste

    [Unit]
    Description=Logmon-watcher
    After=network.target

    [Service]
    Environment=VIRTUAL_ENV=/opt/apps/logmon
    Environment=PYTHONPATH=/opt/apps/logmon
    ExecStart=/opt/apps/logmon/bin/python3 -m logmon.main_watcher
    Restart=always
    RestartSec=60

    [Install]
    WantedBy=multi-user.target

Enable and start service

    $ sudo systemctl enable logmon-watcher.service
    $ sudo systemctl start logmon-watcher.service


## Run commands executor as service
    $ sudo nano /etc/systemd/system/logmon-executor.service

Paste

    [Unit]
    Description=Logmon-executor
    After=network.target

    [Service]
    Environment=VIRTUAL_ENV=/opt/apps/logmon
    Environment=PYTHONPATH=/opt/apps/logmon
    ExecStart=/opt/apps/logmon/bin/python3 -m logmon.main_executor
    Restart=always
    RestartSec=60

    [Install]
    WantedBy=multi-user.target

Enable and start service

    $ sudo systemctl enable logmon-executor.service
    $ sudo systemctl start logmon-executor.service

# Uninstall

    $ sudo systemctl stop logmon-watcher.service ; sudo systemctl disable logmon-watcher.service ; sudo rm /etc/systemd/system/logmon-watcher.service
    
    $ sudo systemctl stop logmon-executor.service ; sudo systemctl disable logmon-executor.service ; sudo rm /etc/systemd/system/logmon-executor.service