semvec/pypi-packages huggingface dataset:
cognitohashcalculator 1.0.0
A small python library for calculating the secret hash required for the amazon cognito's user and password authentication
Requires Python: >=3.6

# **Secret Hash Generator**

This function, `calculate_secret_hash`, generates a secure hash using HMAC (Hash-based Message Authentication Code) and SHA-256. It's useful for authentication and securely verifying user credentials for Amazon Cognito.

---

## **Function Overview**

### **`calculate_secret_hash`**

This function creates a secret hash by combining the username and client ID, secured with a client secret key.

### **Parameters**
- **`client_id`** *(str)*:  
  The unique identifier for the client.
  
- **`client_secret`** *(str)*:  
  The secret key associated with the client ID, used for hashing.
  
- **`username`** *(str)*:  
  The username or user identifier to include in the hash computation.

### **Returns**
- A **base64-encoded string** representing the HMAC SHA-256 hash.

---

## **Dependencies**
The function uses Python's **standard library**, so no external installations are required. Specifically, it uses:
- **`hmac`**
- **`hashlib`**
- **`base64`**

---

## **Usage**

```python
from mylibrary import calculate_secret_hash

# Example inputs
client_id = "exampleClientId123"
client_secret = "superSecretKey456"
username = "user@example.com"

# Generate the secret hash
secret_hash = calculate_secret_hash(client_id, client_secret, username)
print(f"Generated Secret Hash: {secret_hash}")
skaltuchet 0.1.0
A hilarious fake hacking script to prank your friends!
Requires Python: >=3.6

# Skaltuch - Hack Simulator

A hilarious Python package that simulates a dramatic hacking process, complete with "classified data" downloads, fake errors, and over-the-top absurdity. Perfect for pranking friends or breaking the ice during an interview!

## Installation

```bash
pip install skaltuch
insurancecalculatorpackage 1.0.0
A small python library for calculating insurance premiums with my logic.
Requires Python: >=3.6

# Insurance Calculator

Insurance calculator is a Python package for insurance premium calculations. It includes functions to calculate life, motor, and health insurance premiums.

## Installation

Install the library using pip:

```bash
pip install insurance-calculator-omkhulbe
```

## Usage
Just create the object. For ex.
```python
calc = Calculator()
print(calc.calculate_life_premium(34, "female", 0.02, 150000, 20))
print(calc.calculate_health_premium(21, "female", 0.02, 25000, 1))
print(calc.calculate_motor_premium(4, 20000, 120, 2))
```
### For Life Insurance Parameter are as follows:
Age, Gender, Base Rate(0.02 = 2%), Sum Assured, Tenure

It provides the monthly premium amount.

### For Health Insurance Parameter are as follows:
Age, Gender, Base Rate(0.02 = 2%), Sum Assured, Tenure

It provides the overall premium as per the tenure.

### For Motor Insurance Parameter are as follows:
Vehicle Age, Initial IDV, Base Premium, Tenure

It provides three outputs Current IDV, Yearly Premium, Total Premium.
skaltuch 0.1.0
A hilarious fake hacking script to prank your friends!
Requires Python: >=3.6

# Skaltuch - Hack Simulator

A hilarious Python package that simulates a dramatic hacking process, complete with "classified data" downloads, fake errors, and over-the-top absurdity. Perfect for pranking friends or breaking the ice during an interview!

## Installation

```bash
pip install skaltuch
insurancecalculatoromkhulbe 1.0.0
A small python library for calculating insurance premiums with my logic.
Requires Python: >=3.6

# Insurance Calculator

Insurance calculator is a Python package for insurance premium calculations. It includes functions to calculate life, motor, and health insurance premiums.

## Installation

Install the library using pip:

```bash
pip install insurance-calculator-omkhulbe
```

## Usage
Just create the object. For ex.
```python
calc = Calculator()
print(calc.calculate_life_premium(34, "female", 0.02, 150000, 20))
print(calc.calculate_health_premium(21, "female", 0.02, 25000, 1))
print(calc.calculate_motor_premium(4, 20000, 120, 2))
```
### For Life Insurance Parameter are as follows:
Age, Gender, Base Rate(0.02 = 2%), Sum Assured, Tenure

It provides the monthly premium amount.

### For Health Insurance Parameter are as follows:
Age, Gender, Base Rate(0.02 = 2%), Sum Assured, Tenure

It provides the overall premium as per the tenure.

### For Motor Insurance Parameter are as follows:
Vehicle Age, Initial IDV, Base Premium, Tenure

It provides three outputs Current IDV, Yearly Premium, Total Premium.