semvec/pypi-packages huggingface dataset:
pb-assistant 1.0.1
A Python library to answer questions based on given data and additional queries using Gemini.
Requires Python: >=3.7


# PB Assistant Library

**Question Assistant** is a Python library that uses AI to answer user queries based on custom data or an external AI model when the data is insufficient. It also includes features for recognizing questions about the assistant's name and determining the relevance of a query to the provided data.

---

## Features

- **Custom Query Answering**: Answers user queries using provided data or Gemini AI.
- **Name Recognition**: Detects and responds to queries about the assistant's name.
- **Data Relevance Check**: Identifies whether a query is related to the given data.
- **Configurable Assistant**: Rename the assistant as needed.

---

## Installation

Install the library via pip:

```bash
pip install pb-assistant
```

---

## Usage

### Import and Initialize the Assistant

```python
from pb_assistant import pbAssistant

# Create an assistant instance with a default name
assistant = pbAssistant(name="Assistant")
```

### Changing the Name

```python
assistant.change_name("Alexa")
```

### Running the Main Execution Loop

```python
assistant.main_execution(api_key="your_api_key", data="Your provided data here.")
```

### Example Usage

```python
from pb_assistant import pbAssistant

# Initialize the assistant
assistant = pbAssistant()

# Optionally, rename the assistant
assistant.change_name("Jarvis")

# Run the assistant
assistant.main_execution(api_key="your_api_key", data="Information about Python, AI, and Machine Learning.")
```

---

## Requirements

- Python 3.7 or higher
- `google-generativeai` (installed automatically with the package)

---

## Contributing

Contributions are welcome! To contribute:

1. Fork the repository.
2. Create a new branch (`git checkout -b feature/your-feature`).
3. Commit your changes (`git commit -m "Add your feature"`).
4. Push to the branch (`git push origin feature/your-feature`).
5. Open a Pull Request.

For issues or feature requests, feel free to create an issue in the [GitHub repository](https://github.com/FalconX80/pb_assistant).

---

## License

This project is licensed under the MIT License. See the `LICENSE` file for details.

---

## Author

Priyanshu Bhatt  
Feel free to reach out at [priyanshubhatt80@gmail.com](mailto:priyanshubhatt80@gmail.com).

---
perceptive-crop-image 2.0.0
A manual cropping tool using OpenCV.

# perceptive_crop_image

This Python package provides a manual image cropping tool using OpenCV.

## Installation

To install the package, run:

```bash
pip install perceptive_crop_image


Here's an example of how to use the manual crop function:

from perceptive_crop_image.crop import manual_crop


manual_crop('path_to_image.jpg', 'cropped_image.jpg')

![alt text](image.png)
setconstant 0.1.3
A Python package for managing constants effectively.
Requires Python: >=3.6

# setconstant

`setconstant` is a Python package designed to help developers manage constants with type safety, ensuring that constants are defined once and cannot be redefined. This package is perfect for maintaining clean and error-free code when working with immutable values.

---

## Features

- **Type-safe constants**: Supports integer, float, and string constants.
- **Prevents redefinition**: Ensures constants cannot be reassigned after declaration.
- **Easy retrieval and deletion**: Retrieve or delete constants as needed.
- **Custom error handling**: Provides descriptive errors for invalid operations.

---

## Installation

Install the package from PyPI:

```bash
pip install setconstant
pytest-webtest-extras 1.3.1
Pytest plugin to enhance pytest-html and allure reports of webtest projects by adding screenshots, comments and webpage sources.
Requires Python: >=3.9
Keywords: pytest, selenium, playwright, webtest, webtesting

# pytest-webtest-extras

**THIS PLUGIN IS DEPRECATED.**

**PLEASE USE [pytest-report-extras](https://pytest-report-extras.readthedocs.io/stable/) PLUGIN INSTEAD.**

Pytest plugin to enhance pytest-html and Allure reports of webtest projects with screenshots, comments and webpage sources.

![](https://img.shields.io/badge/license-MIT%202.0-blue.svg)

## Resources ##

- [Documentation](https://pytest-webtest-extras.readthedocs.io/en/stable/)

<br/>

If you like this software, consider contributing to the project through [buy me a coffee](https://www.buymeacoffee.com/harmin)