semvec/pypi-packages huggingface dataset:
lesecret 0.0.5
An image steganography tool to hide secrets in plain sight
Requires Python: >=3.8

# Le Secret

This is a TUI re-implementation of my freshman year project [The Secret](https://github.com/jerry871002/OOP-Final-Project) (it was 2018 by the way...🫣), an image steganography tool to hide secrets in plain sight.

Use it to secretly encode and decode messages within image files and share the images on popular messaging apps!

## Installation

```
pip install lesecret
```

## Get Started

Start the TUI-based application with the following command:

```
lesecret
```

There are two modes for *Le Secret*: encode and decode.

In encode mode, you need to provide an image along with the message you would like to encode and a passkey.
*Le Secret* will produce a new image with the name `<original-name>-<random-hex-digits>.png` in the same directory.

In decode mode, you need to provide an image and a passkey.
The decoded message will be shown only if the image contains an encoded message and the correct passkey is provided.

So far I have tested sending the image over Line, Telegram (send as a file), and Messenger.
The encoded message preserves in all three applications.
However, if you download the image on your iPhone (I don't have an Android phone sorry) then resend the image, the encoded message won't preserve. I suppose it's because the file format changes while downloading the image.
richfetch 0.1.0
A minimal and colorful fetch utility.
Requires Python: >=3.11

<div align="center">
<h1>richfetch</h1>

> A richly customisable fetch utility which provides a ton lot of information. Written in Python.

<img src="images/sample.png" alt="Sample Image" width="300">
</div>

## Capabilities:
`richfetch` displays the following info (in order):

- user@hostname
- os name
- cpu usage %age
- cpu temp
- WM name
- uptime
- ram used/total ram (ram usage %age)
- disk used/total disk (disk usage %age)
- local ip
- public ip (*do not forget to hide this when posting screenshots etc*)

`richfetch` uses [**nerdfonts**](https://www.nerdfonts.com/) to display the symbols. What I use is JetBrains Mono Nerd Font so I know it works. You can try different nerd fonts to see if your works.

## Installation
```bash
git clone https://github.com/Rizen54/richfetch
cd richfetch/
python3 -m pip install -r requirements.txt
chmod +x richfetch.py
sudo cp richfetch.py /usr/local/bin/richfetch
alias richfetch='python3 /usr/local/bin/richfetch'
```

Lastly, add this line to the end of your `.bashrc` or `.zshrc`:

```bash
alias richfetch='python3 /usr/local/bin/richfetch'
```

If you're like me and you use arch linux and install python modules from arch repo. You can do this:
`sudo pacman -Sy python-py-cpuinfo python-psutil python-requests python-termcolor`

## Special Features:
Short note: I'm very happy and proud of these.

- Dynamic colors for OS Symbol, RAM/DISK/CPU Usage and CPU Temp
- Have a separate emoji for each color in the color ribbon!
- Local and public IPs (Public IP is disabled by default, you can enable it by simply un-commenting a line)
- Nerd Fonts for logos instead of ASCII art (minimalism is they key.)
- The ease of customizing it.

## Stars
Please support me by giving a star to this repo.
> Small click for a man, giant star for another.
pyvideoreader 0.5.7
Wrapper around opencv's cv2.VideoCapture to simplify reading video files in python.
Requires Python: >=3.9

# Pythonic video reader
Wrapper around [opencv's][1] `cv2.VideoCapture` to simplify reading video files in python.

## Installation
In a terminal window run:
```shell
conda install pyvideoreader -c ncb
```
or
```shell
pip install pyvideoreader
```

## Usage
Open a video file and read frame 100:
```python
from videoreader import VideoReader
vr = VideoReader(video_file_name)
print(vr)  # prints video_file_name, number of frames, frame rate and frame size
frame = vr[100]
vr.close()
```

Or use a [context manger][2] which takes care of opening and closing the video:
```python
with VideoReader(video_file_name) as vr:  # load the video
    frame = vr[100]
```

Supports slice-syntax: `vr[start:end:step]`. To iterate over all frames you need to use `vr[:]`. To read every 100th frame, starting at frame 500 and ending at frame 10000 do this:
```python
for frame in vr[500:10000:100]:
    do_something_with(frame)
```
Lists, tuples or ranges can also be passed as indices, e.g. `vr[(42, 314, 999)]`.

Note that indexing returns a generator - each frame in the indices is read on demand which saves memory. If you need all frames at once you can convert it to a list `list(vr[start:end:frame])`.

For compatibility, `videoreader` can also be used like the underlying `cv2.VideoCapture`:
```python
ret, frame = vr.read()  # read next frame
```

[1]: http://opencv.org
[2]: https://jeffknupp.com/blog/2016/03/07/python-with-context-managers/
validantor 0.1.0
A simple data validation library in Python.
Requires Python: >=3.6

# checkmate

checkmate es una librerÃ­a de Python diseÃ±ada para simplificar la validaciÃ³n y verificaciÃ³n de datos en tus proyectos. Con checkmate, puedes asegurarte de que tus datos cumplen con los requisitos esperados de manera eficiente y sin complicaciones.

## CaracterÃ­sticas

- **ValidaciÃ³n sencilla**: Define reglas de validaciÃ³n de manera intuitiva.
- **Flexibilidad**: Compatible con diferentes tipos de datos y estructuras.
- **Extensible**: AÃ±ade tus propias reglas de validaciÃ³n personalizadas.
- **DocumentaciÃ³n clara**: Incluye documentaciÃ³n detallada para facilitar su uso.

## InstalaciÃ³n

Puedes instalar checkmate fÃ¡cilmente usando pip:

```bash
pip install checkmate
```

## Uso BÃ¡sico

AquÃ­ tienes un ejemplo bÃ¡sico de cÃ³mo usar checkmate:

```python
import checkmate as chm

chm.is_type(1, int) # True
```

## Contribuciones

Â¡Las contribuciones son bienvenidas! Si deseas colaborar, por favor abre un issue o envÃ­a un pull request en nuestro [repositorio de GitHub](https://github.com/tu_usuario/checkmate).

## Licencia

checkmate estÃ¡ licenciado bajo la [MIT License](LICENSE).
Checmate 0.1.0
A simple data validation library in Python.
Requires Python: >=3.6

# Checkmate

Checkmate es una librerÃ­a de Python diseÃ±ada para simplificar la validaciÃ³n y verificaciÃ³n de datos en tus proyectos. Con Checkmate, puedes asegurarte de que tus datos cumplen con los requisitos esperados de manera eficiente y sin complicaciones.

## CaracterÃ­sticas

- **ValidaciÃ³n sencilla**: Define reglas de validaciÃ³n de manera intuitiva.
- **Flexibilidad**: Compatible con diferentes tipos de datos y estructuras.
- **Extensible**: AÃ±ade tus propias reglas de validaciÃ³n personalizadas.
- **DocumentaciÃ³n clara**: Incluye documentaciÃ³n detallada para facilitar su uso.

## InstalaciÃ³n

Puedes instalar Checkmate fÃ¡cilmente usando pip:

```bash
pip install checkmate
```

## Uso BÃ¡sico

AquÃ­ tienes un ejemplo bÃ¡sico de cÃ³mo usar Checkmate:

```python
import Checkmate as chm

chm.is_type(1, int) # True
```

## Contribuciones

Â¡Las contribuciones son bienvenidas! Si deseas colaborar, por favor abre un issue o envÃ­a un pull request en nuestro [repositorio de GitHub](https://github.com/tu_usuario/checkmate).

## Licencia

Checkmate estÃ¡ licenciado bajo la [MIT License](LICENSE).
nonebot-plugin-bfvsearch 0.1.8
基于 Nonebot2 的战地 5 QQ 群查询插件。
Requires Python: >=3.8

<div align="center">
  <a href="https://v2.nonebot.dev/store"><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot_plugin_bfvsearch
</div>
<p>基于Nonebot2的《战地5》QQ群查询插件，可提供战绩、屏蔽记录、服务器方面的查询，提供基于<a href="https://github.com/kexue-z/nonebot-plugin-htmlrender" target="_blank">htmlrender插件</a>渲染的美观输出。</p>


## 📦 安装
* 使用pip 
```
pip install nonebot-plugin-bfvsearch
```
并在bot根目录的`pyproject.toml`文件中加入  
```
plugins = ["nonebot-plugin-bfvsearch"]
```


* 使用 nb_cli（推荐）
```
nb plugin install nonebot-plugin-bfvsearch
```


## 🛠 使用说明
1. **配置 htmlrender 插件：** 请确保 htmlrender 插件已正确安装和配置。

2. **指令前缀：** 如果没有修改 Nonebot 的配置，请在指令前加上 `\` 以确保命令被正确识别。

3. **指令：**
   - cx=id     用于查询该eaid的战地风云五数据
   - pb=id     用于查询该id下在离线版服务器的屏蔽记录
   - fwq=name  用于搜索包含name的服务器


## 🥰欢迎加入SBEA服务器一起玩！
pyflirts 0.0.1
one line flirt lines for programmers ( flirt lines as a service )
Requires Python: >=3.6

<h1 align="center"><b>Py-Flirts</b></h1>

<p align="center"><img src="" alt="Pyflirts"></p>

<h2 align="center">one line flirt lines for programmers ( flirt lines as a service )</h3>

<h3 align="center">
    Packed with the latest flirt lines, in diff langs etc. </br>
</h3>

---

![GitHub forks](https://img.shields.io/github/forks/Pyflirts/pyflirts?style=social)
![GitHub Repo stars](https://img.shields.io/github/stars/pyflirts/pyflirts?style=social)

![Maintenance](https://img.shields.io/badge/Maintained%3F-Yes-white?&style=social&logo=hugo)
![GitHub license](https://img.shields.io/github/license/pyflirts/pyflirts?&style=social&logo=github)

![Python](https://img.shields.io/badge/Python-v3.10-white?style=social&logo=python)
[![Documentation](https://img.shields.io/badge/Documentations-docs.Pyflirts.tech-white?&style=social&logo=gitbook)]()

[![Telegram Group](https://img.shields.io/badge/Telegram-Group-white?&style=social&logo=telegram)](https://telegram.dog/pyflirtschat)
[![Telegram Channel](https://img.shields.io/badge/Telegram-Channel-white?&style=social&logo=telegram)](https://telegram.dog/pyflirts)

---

## Installation

Install the `pyflirts` module with pip:

```bash
pip3 install pyflirts
```

## Usage

### Python

You can also access the flirt lines in your own project by importing `pyflirts` and using the function
`get_flirt`:

```pycon
>>> import pyflirts
>>> print(pyflirts.get_flirt())
Do you believe in love at first sight, or should I walk by again?
```

We support many languages, and have multiple flirt lines categories like:

```pycon
>>> import pyflirts
>>> print(pyflirts.get_flirt("es"))  # spanish flirt lines
¿Crees en el amor a primera vista, o debo pasar otra vez?
>>> print(pyflirts.get_flirt("es", "crazy"))  # spanish crazy flirt lines
Si fueras una bebida, serías el cóctel perfecto: irresistible y siempre refrescante.
```

There is also a `get_flirts` function which returns all the flirts line in the given language and category like:

```python
import pyflirts

for flirt in pyflirts.get_flirts():
    print(flirt)
```

Alternatively, use the `pyflirts.forever` generator function like:

```python
import pyflirts

for flirt in pyflirts.forever():
    print(flirt)
```

## Maintainers

The project is maintained by the members of the Pyflirts Community:

- Shiva Mishra

## Contributing

- The code is licensed under the [MIT Licence]
- Please use GitHub issues to submit bugs and report issues
- Feel free to contribute to the code
- Feel free to contribute flirt lines (via pull request or [proposal issue](https://github.com/pyflirts/pyflirts/issues/))

## Website and documentation

The pyflirts website and documentation is comming soon....

## credits 
- [Shiva Mishra](https://github.com/shivamishrame)
- [pyjokes](https://github.com/pyjokes/pyjpkes)
pro-logging 1.0.0
An advanced logging package for Python projects
Requires Python: >=3.6

# Pro Logging

**Pro Logging** is an advanced, fully customizable logging package for Python projects. It allows developers to log their application's processes to both a log file and an optional database. This package supports various features such as log rotation, different log levels, JSON format logging, and database storage.

## Features

- **Log Levels**: DEBUG, INFO, WARNING, ERROR, CRITICAL
- **Log Rotation**: Supports both file size-based and date-based log rotation
- **JSON Format**: Option to log messages in JSON format
- **Database Logging**: Store logs in an SQLite database for easier management and analysis
- **Console Output**: Print log messages to the console
- **Customization**: Users can configure log file name, log levels, rotation settings, and more

## Installation

Install the package using pip:

```bash
pip install pro-logging
```

## Usage

Here's a basic example of how to use the pro-logging package:

```python
from pro_logging import AdvancedLogger

# Initialize the logger
logger = AdvancedLogger(
    log_filename='app.log',  # Log file name
    level="DEBUG",           # Log level
    log_to_console=True,     # Output to console
    rotate_logs=True,        # Enable log rotation
    max_size_mb=10,          # Maximum log file size before rotation
    json_format=True,        # Log in JSON format
    db_path='app_logs.db'    # Path to the SQLite database for logs
)

# Log some messages
logger.log_info("This is an informational message.")
logger.log_error("This is an error message.")
logger.log_debug("This is a debug message.")
```

## Example

Logging with Different Levels

```python
logger.log_debug("Debugging the application")
logger.log_info("Application is running")
logger.log_warning("This is a warning")
logger.log_error("An error occurred")
logger.log_critical("Critical system failure")
```

## Log Rotation

You can rotate logs based on file size or date.

```python
# Enable file size-based log rotation
logger = AdvancedLogger(rotate_logs=True, max_size_mb=5)

# Enable date-based log rotation
logger = AdvancedLogger(date_based_rotation=True)
```

## Database Logging

Logs can also be stored in an SQLite database for further analysis.

```python
logger = AdvancedLogger(db_path='app_logs.db')

# Log messages will be saved in the database
logger.log_info("This log is saved in the database as well.")
```

## Customization

You can adjust log settings such as file name, log level, JSON formatting, and more:

```python
logger = AdvancedLogger(
    log_filename='custom.log',
    level="WARNING",
    json_format=True
)
```
git-diff-tool 1.0.0
A tool for comparing Git branches
Requires Python: >=3.6

# Git Diff Tool

Welcome to **Git Diff Tool**! A simple yet powerful command-line utility designed to compare two branches of a Git repository and save their differences into a file. Whether you're working on a feature branch or resolving conflicts, this tool makes it easy to spot changes between branches.

## Features
- Compare two branches of a Git repository (e.g., `main` and `dev`).
- Output the differences between the branches into a specified directory.
- Easy to use and flexible for any Git project.

## How to Use

#### 1. Running the Diff Tool
Use the following command to compare two branches of your Git repository:

```bash
python3 diff_tool.py \
--repository="https://github.com/<username>/<repository>" \
--main-branch="main" \
--local-branch="dev" \
--save-dir="/path/to/save/diff" \
--target-folder="."
```
Parameters
- *repository*: The URL of your Git repository. Example: https://github.com/username/repository
- *main-branch*: The branch you want to compare from (e.g., main).
- *local-branch*: The branch you want to compare to (e.g., dev).
- *save-dir*: The directory where you want to save the diff output file.
- *target-folder*: The target folder where the diff operation will be performed.

#### 2. Example Usage
Here's an example that compares the dev branch with a feature-branch and saves the output to the /home/user/documents directory:
```bash
python3 diff_tool.py --repository="https://github.com/username/sample_project" \
--main-branch="dev" \
--local-branch="feature-branch" \
--save-dir="/home/user/documents" \
--target-folder="."
```

#### 3. Interactive Mode
If you don't provide some of the parameters, the tool will prompt you to input them interactively. Simply run the command without arguments and the tool will guide you through the necessary steps.

```bash
python3 diff_tool.py
```
You will then be asked to enter details like the repository URL, branch names, save directory, and target folder.
This command compares the dev branch with the feature-branch and saves the differences in the specified directory.

### License
This project is licensed under the MIT License.
H4ck4u 7.7.7
Una biblioteca para consultar cursos de hack4u.

# Hack4u Academy Courses Library

Una biblioteca Python para consultar cursos de la academia Hack4U.

## Cursos disponibles:

- Introducción a Linux [15 horas]
- Personalización de entorno en Linux [3 horas]
- Introducción al Hacking [53 horas]
- Python Ofensivo [35 horas]

## Instalación

Instala el paquete usando `pip3`:

```python3
pip3 install hack4u
```

## Uso básico

### Listar todos los cursos

```python3
from hack4u import list_courses

for courses in list_courses():
    print(course)
```

### Obtener un curso por nombre

```python3
from hack4u import get_course_by_name 

course = get_course_by_name(Introducción a Linux)
print(course)
```

### Calcular duración total de los cursos

```python3
from hack4u.utils import total_duration

print(f"Duración total: {total_duration()} horas")
```