semvec/pypi-packages huggingface dataset:
seya-image-processor 0.1.1
A package for processing images and converting them into grayscale line images with extra blurness. It can be used for varies Machine learning algorithm traninig as it provide the more torn images
Requires Python: >=3.6

## seya_image_processor

### Overview

`seya_image_processor` is a Python library for image preprocessing that converts images to low-contrast, blurred sketches. It provides two main functions: one that returns the processed image as a base64 string, and another that returns the processed image as a PIL Image object.

### Installation

To install the `seya_image_processor` library, use the following pip command:

```sh
pip install seya_image_processor
```

### Usage

Here's how you can use the library:

1. **Import the library:**

```python
from seya_image_processor import process_image_to_base64, process_image_to_array
```

2. **Process an image to base64:**

```python
with open("path_to_image.png", "rb") as image_file:
    base64_result = process_image_to_base64(image_file)
print(base64_result)
```

3. **Process an image to a PIL Image:**

```python
with open("path_to_image.png", "rb") as image_file:
    processed_image = process_image_to_array(image_file)
processed_image.show()
```

### Functions

#### `preprocess_image(image)`

- **Parameters:**
  - `image` (PIL.Image): The input image to preprocess.
- **Returns:**
  - `blurred_image` (numpy.ndarray): The preprocessed, blurred image.

#### `process_image_to_base64(image_file)`

- **Parameters:**
  - `image_file` (file-like object): The input image file to process.
- **Returns:**
  - `processed_image_base64` (str): The processed image encoded as a base64 string.

#### `process_image_to_array(image_file)`

- **Parameters:**
  - `image_file` (file-like object): The input image file to process.
- **Returns:**
  - `pil_image` (PIL.Image): The processed image as a PIL Image object.
OffSecIta 0.1.2
Biblioteca per consultare i corsi

# OffSec Italia       

Una biblioteca Python per consultare i corsi Offensive Security Italia.

## Corsi disponibili:

- Corso Hacking Etico [60 ore] 
- Corso Linux da zero [15 ore]
- Corso Python Offensive [50 ore]
- Corso Personalizzazione Linux [3 ore]


## Macchine risolte nelle varie piattaforme:

- Hacking Macchine TryHackMe: https://www.youtube.com/watch?v=aqibENOVnUY&list=PLKZZXjqZrqQvhBNpeY6aE1c0u1PeJ2fdV
- Hacking Macchine HackTheBox: https://www.youtube.com/watch?v=f4BoQLl6XPM&list=PLKZZXjqZrqQukyaAE6TvryVvSOjaopSGW
- Hacking Tutorial Vari: https://www.youtube.com/watch?v=v4f_IN9jjWY&list=PLKZZXjqZrqQv1QVu91WJjJyoUrzVMkrrK


## Social Media:

- GitHub https://github.com/roby7979
- Discord OffSec Italia: https://discord.gg/ARWVZn8QWg
- Twitter https://twitter.com/ModernNaval
- TryHackMe Italia https://www.facebook.com/groups/606428807774402
- Offensive Security Italia https://www.facebook.com/groups/1279369172893764
- Twitch Roby7979: https://www.twitch.tv/roby7979
- Youtube: https://www.youtube.com/channel/UCAwPX5amsoJBiJyj-vmHhcQ
lapack4abaqus 1.0.8
Create lapack.f for Abaqus to include.
Requires Python: >=3.7

# lapack4abaqus
[![GitHub release (with filter)](https://img.shields.io/github/v/release/huang-lihao/lapack4abaqus?logo=github)
](https://github.com/huang-lihao/lapack4abaqus)
[![Upload Python Package](https://github.com/huang-lihao/lapack4abaqus/actions/workflows/python-publish.yml/badge.svg)](https://github.com/huang-lihao/lapack4abaqus/actions/workflows/python-publish.yml)
[![PyPI - Version](https://img.shields.io/pypi/v/lapack4abaqus?logo=pypi)](https://pypi.org/project/lapack4abaqus/)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/lapack4abaqus?logo=PyPI)](https://pypi.org/project/lapack4abaqus/)
[![GitHub License](https://img.shields.io/github/license/huang-lihao/lapack4abaqus)](https://github.com/huang-lihao/lapack4abaqus/blob/main/LICENSE)

Create `lapack.f` for Abaqus to include, by adding `k` to the name of each subroutine and function.

# Install
Use PyPI to install [lapack4abaqus](https://pypi.org/project/lapack4abaqus/):
```sh
pip install lapack4abaqus
```

# Usage
Run the following script, then you will get the desired `lapack.f` to include.
```python
from lapack4abaqus import gen_lapack

gen_lapack(
    functions = ["dgetrf", "dgetri"], # list of desired funtions or subroutines
)
```
faint 0.1
Tool to manage your comments in code!
Requires Python: >=3.7

# Faint Comments

This repository is my attempt in [100 commits competition](https://100commitow.pl/).

> :warning: This project is in PoC and still needs to be polished. Always pin version.
> Do backup or use version control before applying any command.

## What it is?

This library keeps your code comments in separate file and allows to put them back on.

## Why

Comments are [code smell](https://refactoring.guru/pl/smells/comments). But sometimes:

- you just want to have your own note that should never appear in Version Control.
- you have code that needs some comments but comments must always be removed before deploy on production.
- you want to give someone instruction on what to do in certain files.

In all this cases it would be handy to keep all comments
in separate file that could be potentially _git ignored_
but at the same time applied whenever you want to read them.

Also I thought I can learn some cool algorithms and tools.

---

## Demo

I need to record the example of usage.

## How to install

Not installable yet. I need to change name and send to PyPi.

## How to use

`faint` is made of two main subcommands:

- `faint extract <file name>` which removes comments from code and place them in separate `JSON` file.
- `faint join <file name>` which applies comments from `JSON` file (if exists) in corresponding places.

By default (not changeable yet) `JSON` files are named as `comments_<original name>.json`.
So you can add to `.gitignore` line like `comments_*.json`.

### Workflow

First use `extract` on the file. Then you can:

- Use `join` and not modify the file
- Use `join` and modify the file
- Continue to modify the file and then use `join`

Then:

- If you apply `join` on file that matches exactly the file after `extract`
  it should be fast and simple and you should get all comments back in place.
- If you apply `join` and file follows the structure good enough you should also
  get all comments back in right place.

In both cases the `extract` should work as at the beginning.

Current version does not allow for:

- `extract` on already `extract`ed file (it will discard all comments in `JSON`)
- `join` on already `join`ed file (it will place the comments twice)

So if you want to add any new comments you should first `join` comments and the extract them.

## Supported languages

This tool uses `TreeSitter`. For every language the `AST` (Abstract Syntax Tree) has different nodes.
For this reason every language needs to be covered separately.

- [x] Python

## TODO

- [x] Make it pip installable
- [ ] Fix double join
- [ ] When extracting, compare with current `JSON`
- [ ] Show abandoned comments
- [ ] Show deleted comments
- [ ] When `join` and comment is abandoned inform user. Then suggest `--force` flag.
- [ ] Allow for path to subdirectory
- [ ] Figure out how to install TreeSitter per language
- [ ] Add Git hook
- [ ] Handle when there is new comment on already `extract`ed file
- [ ] Create `join-extract` command

## Future plans