semvec/pypi-packages huggingface dataset:
hindiPOS 0.0.6
A small example package
Requires Python: >=3.9

# Hindi POS tagger 

### Hindi POS tagger developed at SLP Lab, Centre for Artificial Intelligence, Banasthali Vidyapith.

## Installation:
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install hindiPOS
```bash
pip install hindiPOS
```

## Usage
```python
from hindiPOS import hmm
#returns a list
hmm.postag('दिल्ली भारत की राजधानी है।')
#['दिल्ली|NNP', 'भारत|NNP', 'की|PSP', 'राजधानी|NN', 'है|VAUX', '।|PUNC']
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

## License
[MIT](https://choosealicense.com/licenses/mit/)
timespacex 0.1.0
A Python Time and Space Complexity Analyzer
Requires Python: >=3.6
Keywords: complexity analysis, big o notation, algorithm analysis, time complexity, space complexity

# TimeSpaceX

A powerful Python Time and Space Complexity Analyzer that helps you understand the computational complexity of your code.

## Features

- Analyzes both time and space complexity
- Provides detailed explanations
- Detects common patterns:
  - Simple loops (O(n))
  - Nested loops (O(n²), O(n³))
  - Binary search patterns (O(log n))
  - Divide and conquer algorithms (O(n log n))
  - Recursive functions
  - Matrix operations
- Beautiful command-line interface with syntax highlighting

## Installation

```bash
pip install timespacex
```

## Usage

Analyze a Python file:
```bash
timespacex your_file.py
```

Options:
```bash
timespacex --no-color your_file.py  # Disable colored output
```

## Example

Given a Python file `example.py` with the following content:

```python
def binary_search(arr, target):
    left, right = 0, len(arr) - 1
    while left <= right:
        mid = (left + right) // 2
        if arr[mid] == target:
            return mid
        elif arr[mid] < target:
            left = mid + 1
        else:
            right = mid - 1
    return -1
```

Running:
```bash
timespacex example.py
```

Will output:
```
Time & Space Complexity Analysis
==================================================

┌─ Function: binary_search ──────────────────────┐
│ The function `binary_search` has a time        │
│ complexity of O(log n). This is because the    │
│ function uses a binary search pattern,         │
│ dividing the search space in half at each      │
│ step.                                          │
│                                               │
│ The space complexity is O(1). This is because │
│ the function uses a constant amount of extra   │
│ space regardless of input size.               │
└───────────────────────────────────────────────┘
```

## Limitations

- The analysis is based on static code analysis and may not catch all edge cases
- Complex algorithmic patterns might not be accurately detected
- The tool provides simplified complexity analysis and may not catch subtle optimizations

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

This project is licensed under the MIT License - see the LICENSE file for details.
lambda-u 0.1.0
Python lambda extension library
Requires Python: >=3.6

# Lambda-U

Lambda-U 是一个轻量级的 Python 函数式编程工具库，提供了丰富的函数式编程工具和集合操作方法，帮助开发者写出更简洁、优雅的代码。

## ✨ 主要特性

- 🛠 丰富的函数式编程工具（compose、pipe、curry 等）
- 📦 强大的集合操作（group_by、flatten、chunk 等）
- ⛓ 支持优雅的链式调用
- 🎯 完整的类型提示支持
- 🧪 全面的单元测试覆盖
- 📝 详细的文档说明

## 🚀 快速开始

### 安装

```bash
pip install lambda-u
```

### 使用

```python
from lambda_u import LambdaBuilder, CollectionUtils, FunctionalUtils
```

### 函数组合

```python
f = lambda x: x * 2
g = lambda x: x + 1
composed = LambdaBuilder.compose(f, g)
print(composed(3))  # 输出: 8
```

### 函数管道

```python
result = pipe(
1,
lambda x: x + 1,
lambda x: x 2
) # 输出: 4
```

### 柯里化
```python
@curry
def add(x, y):
return x + y
add_one = add(1)
result = add_one(2) # 输出: 3
```

### 集合操作

## 分组
```python
users = [
{"name": "Alice", "age": 20},
{"name": "Bob", "age": 20},
{"name": "Charlie", "age": 25}
]
by_age = group_by(users, key="age")
# 输出: {20: [{'name': 'Alice', 'age': 20}, {'name': 'Bob', 'age': 20}], 25: [{'name': 'Charlie', 'age': 25}]}
```
## 展平嵌套列表
```python
nested = [[1, 2], [3, 4]]
flat = flatten(nested) # 输出: [1, 2, 3, 4]
# 输出: [1, 2, 3, 4, 5, 6]
```

## 分块
```python
numbers = [1, 2, 3, 4, 5, 6]
chunks = chunk(numbers, size=2) # 输出: [[1, 2], [3, 4], [5, 6]]
```
## 📚 API 文档

### functional 模块

- `compose(*functions)`: 从右到左组合多个函数
- `pipe(value, *functions)`: 将值通过一系列函数传递
- `curry(func)`: 函数柯里化装饰器

### collections 模块

- `group_by(items, key)`: 根据键对集合进行分组
- `flatten(items)`: 展平嵌套列表
- `chunk(items, size)`: 将列表分割成固定大小的块

更多 API 详情请查看[完整文档](#)。

## 🤝 贡献指南

欢迎提交 Pull Request 和 Issue！在提交之前，请确保：

1. 更新或添加相应的测试
2. 更新相关文档
3. 遵循项目的代码风格

## 📄 许可证

本项目采用 MIT 许可证。详见 [LICENSE](LICENSE) 文件。

## 🔗 相关链接

- [问题反馈](https://github.com/your-username/lambda-u/issues)
- [更新日志](CHANGELOG.md)

## ⭐️ 致谢

感谢所有贡献者对项目的支持！
go-mailer 1.0.1
The Go-Mailer Utility library
Requires Python: >=3.6

## **The Go-Mailer Python utility Package**
<hr>
The Python API utility library for the Go-Mailer marketing platform.

This package enables API transactions to the Go-Mailer servers for faster and seamless inter-application communications. It enables you to:
* Synchronize your contact data with Go-Mailer.
* Notify Go-Mailer of any events that occur on your application.
* Send out transactional emails through Go-Mailer.



### **Installation**
<hr>

The API client can be installed using PIP.

```
pip install gomailer
```

### **Basic Usage**
<hr>

#### **Synchronize contacts**
You are able seamlessly synchronize your user's data with Go-Mailer. This helper would create a new Go-Mailer contact if none exists with the specified email address OR it will update the Go-Mailer contact with the necessary data if a Go-Mailer contact exists with the specified email.

**NOTE:**
* Go-Mailer contacts are uniquely identified by their email address in order to avoid duplicate communications.
* You can store any custom attribute.  
```
  import gomailer

  data = {
    'firstname': 'John',
    'lastname': 'Doe,
    'last_login': '12-12-2024T12:12:12:0000Z',
    // other attributes
  }

  client = Client('YOUR_API_KEY')
  response = client.contacts().synchronize(<email_address>, data)

  if (response['status_code'] === 200) {
    // handle success
  }

```
You can find more information [here](https://go-mailer.com/developers/reference/contacts)


#### **Send a transactional email**
Quickly and reliably send transactional emails to your users using Go-Mailer. This helper would send a transactional email to the specified recipient.

**NOTE:**
* If no Go-Mailer contact exists for the specified email address, a new one will be created.  

```
import gomailer

client = Client('YOUR_API_KEY')
response = client.mailing().send_transactional_email(<template_code>, <recipient_email>, <context data>, <html markup>, <attachments>, <bcc email>)

if (response['status_code'] === 200) {
  // handle success
}
```
You can find more information [here](https://go-mailer.com/developers/reference/transactionals)



#### **Notify Go-Mailer of an event**
Notify Go-Mailer of an event that has occured on your application. This is useful to react to such events such as sending a transactional email, SMS messages etc. You need to pass the event code, the affected user's email and all other relevent context data around the event occurence.

**NOTE:**
* A new event will be created on your Go-Mailer account the event code does not exist.  

```
import gomailer

client = Client('YOUR_API_KEY')
response = client.automation().trigger_event(<event_code>, <user_email>, <context data>)

if (response['status_code'] === 200) {
  // handle success
}
```
You can find more information [here](https://go-mailer.com/developers/reference/automations)

### **License**
<hr>

MIT license. See the [LICENSE](https://github.com/printu/customerio/blob/master/LICENSE) file for more details.
ocp-practice-gu 0.0.1
Quick start for ocp-catalysis

# ocp-practice-gu
## Install
- Download and install miniforge https://github.com/conda-forge/miniforge/releases/ (Miniforge3-24.11.0-1-Windows-x86_64.exe)
- Download CatEnv.yml
- Click search and open "Miniforge Prompt"
- Go to the path of CatEnv.yml by using cd command
- Type and enter "mamba env create -f CatEnv.yml"
- Follow the instruction and you are all set!
frm 0.0.35
A python package for quantitative finance and derivative pricing
Requires Python: <3.12,>=3.11

# frm

[![PyPI](https://img.shields.io/pypi/v/frm?label=PyPI%20Package)](https://pypi.org/project/frm/)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/84233a0d4c944e7e92abdb4011db33b4)](https://app.codacy.com/gh/frmcalcs/frm/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)

frm is an in-development python package for quantitative financial pricing and modelling.
frm uses common 3rd party python packages for scientific computing (numpy, scipy, pandas, numba, matplotlib) and the holidays package.

At this stage, the package is in development and is not yet ready for production use, with the API subject to change.
We welcome any feedback, suggestions, and contributions.

This package will have a similar function set to Quantlib however we want to make it more *accessible*, *documented*, and *productive* through:
1. The python (core + 3rd party libaries) implementation
2. In line academic and industry references to support users own validation and testing
3. Supporting [excel/VBA models](https://github.com/shasafoster/frm/tree/master/excel_models) that validate/support the code 
4. Significant code examples  

## Installation
```bash
pip install --upgrade frm
```

## Complete with examples
- Clewlow-Strickland 1-factor simulation
- Heston parameter calibration to European FX option volatility smile
- Heston simulation
- Hull White 1 factor simulation

## Tests/examples in progress
- Interest rate swaps pricing
- Interest rate curve bootstrapping
- Caplet/floorlet term structure bootstrapper (smiles fit to SABR) & caplet/floorlet pricing

## In development / pipeline
- Swaption term structure bootstrapper (smiles fit to SABR)
- CDS Bootstrapper