semvec/pypi-packages huggingface dataset:
fatehan-pypb 0.2.0
gRPC/Protobuf message and service stubs for Fatehan
Requires Python: >=3.9

# fatehan

### gRPC/Protobuf message & service stubs.

## Install

```bash
pip install fatehan-pypb
```

## GRPC Usage

```python
import grpc
from services import api_pb2, api_pb2_grpc

channel = grpc.insecure_channel("localhost:50051")
stub = api_pb2_grpc.ApiService(channel) 
resp = stub.DeviceIndex(api_pb2.DeviceRequest(page=1, page_size=25))
print(resp)
```

## Compile

```bash
python -m grpc_tools.protoc \
  -I ../protocols \
  --python_out=. \
  --grpc_python_out=. \
  --pyi_out=. \
  $(find ../protocols -name "*.proto" -print)
```

## Build And Test Locally
```bash
python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*
```

## Try a local install
```bash
python -m venv .venv && . .venv/bin/activate
pip install dist/fatehan-0.2.0-py3-none-any.whl
python -c "from devices import devices_pb2; print('ok', bool(devices_pb2))"
```

## Publish
```bash
python -m twine upload dist/*
```
yoomoney-payment 2.0.0
A library to provide payment gateway for YooMoney Payment

# YooMoney Payment Redirect View

This app provides order related data to the YooMoney payment  extension when plugged-in to project zero.

## Installation

Add the package to requirements.txt file and install it via pip:

    yoomoney-payment

## Adding App

Add the following lines in `omnife_base.settings`:

    INSTALLED_APPS.append('yoomoney_payment')
    PZ_SERVICE_CLASS = "omnife.core.service.Service"
    HASH_SECRET_KEY = "your-hash-secret-key"
    YOOMONEY_EXTENSION_URL = "extension url"

Add url pattern to `omnife_base.urls` like below:

    urlpatterns = [
        ...
        path('payment-gateway/yoomoney/', include('yoomoney_payment.urls')),
    ]

## Running Tests

    python -m unittest discover

## Python Version Compatibility

This package is compatible with the following Python versions:
  - Python 3.8
  - Python 3.9
  - Python 3.13
jack-wong-library 1.0.0
A simple Python utility library for mathematical and string operations
Requires Python: >=3.6
Keywords: math string utilities calculator

# My Library

A simple example Python library that provides basic mathematical and string utilities.

## Installation

```bash
pip install my_library
```

## Usage

```python
from my_library import Calculator, StringUtils, fibonacci, factorial

# Calculator usage
calc = Calculator()
print(calc.add(5, 3))  # Output: 8
print(calc.multiply(4, 7))  # Output: 28

# String utilities
utils = StringUtils()
print(utils.reverse("hello"))  # Output: "olleh"
print(utils.is_palindrome("racecar"))  # Output: True

# Math functions
print(fibonacci(5))  # Output: [0, 1, 1, 2, 3]
print(factorial(5))  # Output: 120
```

## Features

- **Calculator**: Basic arithmetic operations
- **StringUtils**: String manipulation utilities
- **Math Functions**: Fibonacci sequence and factorial calculations
- **Error Handling**: Proper error handling for edge cases

## Development

To build and install locally:

```bash
python setup.py sdist bdist_wheel
pip install -e .
```

## License

MIT License
multisafepay-payment 2.0.0
A library to provide payment gateway for MultisafePay Payment

# MultisafePay Payment Redirect View

This app provides order related data to the Multisafe Payment extension when plugged-in to project zero.

## Installation

Add the package to requirements.txt file and install it via pip:

    pip install multisafepay-payment

## Configuration

### 1. Adding App
Include the following lines in your `omnife_base.settings` file:

```python
INSTALLED_APPS.append('multisafepay_payment')

PZ_SERVICE_CLASS = "omnife.core.service.Service"
HASH_SECRET_KEY = "your-hash-secret-key"
MULTISAFEPAY_EXTENSION_URL = "extension url"
MULTISAFEPAY_PAYMENT_METHODS = {
    "msext_paypal": "PAYPAL",
    "msext_bancontact": "MISTERCASH",
    "msext_mastercard": "MASTERCARD",
    "msext_visa": "VISA"
} 
```

### Explanation of Settings

| Setting Name                   | Description                                                                                                                                                                                                                                                                          |
|--------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `MULTISAFEPAY_PAYMENT_METHODS` | A setting that maps payment option slugs to Multisafe payment methods. <br/> {"payment_option_slug": "Gateway ID"}<br/>For the full list of available Gateway IDs, visit: [https://docs.multisafepay.com/reference/gateway-ids](https://docs.multisafepay.com/reference/gateway-ids) |
| `MULTISAFEPAY_EXTENSION_URL`   | The URL where the Multisafe Payment extension is hosted.                                                                                                                                                                                                                             |
| `HASH_SECRET_KEY`              | A secret key used for security.                                                                                                                                                                                                                                                      |



### 2. Add URL Pattern
Add url pattern to `omnife_base.urls` like below:
```python
urlpatterns = [
    # ...
    path('payment-gateway/multisafepay/', include('multisafepay_payment.urls')),
]
```

## Running Tests

    python -m unittest discover

## Python Version Compatibility

This package is compatible with the following Python versions:
  - Python 3.9
  - Python 3.13