semvec/pypi-packages huggingface dataset:
linpredict 0.1.0
Simple linear prediction - fit y = mx + c and predict values
License: MIT
Requires Python: >=3.8
Keywords: linear, regression, prediction, statistics, math

# LinPredict

[![PyPI version](https://badge.fury.io/py/linpredict.svg)](https://pypi.org/project/linpredict/)
[![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Simple linear prediction library. Pass x and y values, get the next predicted value.

## Installation

```bash
pip install linpredict
```

## Quick Start

```python
from linpredict import quick_predict, fit, predict_next

# Simplest usage - just pass y values
predictions = quick_predict([2, 4, 6, 8])
print(predictions)  # [10.0]

# Predict multiple steps ahead
predictions = quick_predict([2, 4, 6, 8], steps=3)
print(predictions)  # [10.0, 12.0, 14.0]
```

## Full Usage

```python
from linpredict import fit, predict_next

# Fit a line to your data
x = [1, 2, 3, 4, 5]
y = [2.1, 3.9, 6.2, 7.8, 10.1]

# Get the line equation
eq = fit(x, y)
print(eq)  # y = 1.9900x + 0.0600

# Access slope and intercept
print(f"Slope: {eq.slope}")      # ~2.0
print(f"Intercept: {eq.intercept}")  # ~0.0

# Predict specific x values
print(eq.predict(6))      # Single prediction
print(eq.predict([6, 7, 8]))  # Multiple predictions

# Or use predict_next for automatic next value
next_x, next_y = predict_next(x, y, steps=2)
print(f"Next x: {next_x}, Next y: {next_y}")
```

## API Reference

### `fit(x, y) -> LineEquation`
Fit a line (y = mx + c) to data points. Returns a `LineEquation` object.

### `predict_next(x, y, steps=1) -> (list, list)`
Predict the next value(s) in sequence. Returns tuple of (next_x_values, predicted_y_values).

### `quick_predict(y, steps=1) -> list`
Quick prediction when you only have y values (assumes x is 0, 1, 2, ...).

### `LineEquation`
- `.slope` - The m in y = mx + c
- `.intercept` - The c in y = mx + c  
- `.predict(x)` - Predict y for given x value(s)

## License

MIT

## Author
PRAVIN MR

GitHub: https://github.com/mr-pravin

Email: mrpravin000@gmail.com
aiogram-msgeffect 1.2.1
Library for easy access to Telegram message effects
License: MIT
Requires Python: >=3.7

tgeffect
tgeffect is a Python library that provides easy access to Telegram message effects (effect IDs).
It simplifies working with Telegram message effects and is fully compatible with aiogram.

Features
Provides constants for all standard Telegram message effects

Organizes effects by mood categories: Positive, Negative, Sad, Funny, Neutral

Easy to integrate with Telegram bots using aiogram

Type hints support for better development experience

Installation

```bash
pip install tgeffect
```

# Quick Start

```python
from tgeffect import MessageEffect
from aiogram import Bot, Dispatcher, Router
from aiogram.types import Message

router = Router()

@router.message()
async def handle_message(message: Message):
    # Send message with party effect
    await message.answer("Hello! 🎉", message_effect_id=MessageEffect.Party)

    # Send message with fire effect
    await message.answer("This is awesome! 🔥", message_effect_id=MessageEffect.Fire)

    # Send message with heart effect
    await message.answer("I love this! ❤️", message_effect_id=MessageEffect.Heart)
```

# All Available Effects (Usage Examples)

```python
MessageEffect.Positive.Like        # 👍
MessageEffect.Positive.Heart       # ❤️
MessageEffect.Positive.Fire        # 🔥
MessageEffect.Positive.Party       # 🎉
MessageEffect.Positive.Love        # 🥰
MessageEffect.Positive.Smiling     # 🙂
MessageEffect.Positive.Clap        # 👏
MessageEffect.Positive.StarEyes    # 🤩
MessageEffect.Positive.OkayHand    # 👌
MessageEffect.Positive.Whale       # 🐋
MessageEffect.Positive.BurningHeart # ❤️‍🔥
MessageEffect.Positive.Hundred     # 💯
MessageEffect.Positive.Laughing    # 🤣
MessageEffect.Positive.WinnerCup   # 🏆
Negative Effects
```

```python
MessageEffect.Negative.Dislike     # 👎
MessageEffect.Negative.Angry       # 🤬
MessageEffect.Negative.BoomHead    # 💥
MessageEffect.Negative.Heartbreak  # 💔
MessageEffect.Negative.Clown       # 🤡
MessageEffect.Negative.Zap         # ⚡
```

```python
MessageEffect.Sad.Crying           # 😢
MessageEffect.Sad.Vomit            # 🤮
MessageEffect.Sad.Yawn             # 😪
MessageEffect.Sad.Confused         # 😕
MessageEffect.Sad.BlackMoonSmile   # 🌑
```

```python
MessageEffect.Funny.Poop           # 💩
MessageEffect.Funny.Hotdog         # 🌭
MessageEffect.Funny.Banana         # 🍌
MessageEffect.Funny.Clown          # 🤡
MessageEffect.Funny.Laughing       # 🤣
Neutral Effects
```

```python
MessageEffect.Neutral.ThinkingHead # 🤔
MessageEffect.Neutral.Please       # 🙏
MessageEffect.Neutral.PeacePigeon  # 🕊️
```

# Requirements

`Python 3.7+`
`aiogram 3.x`

# License

`MIT License`