semvec/pypi-packages huggingface dataset:
sterphius-brain-games 0.1.1
Brain-games: several terminal games that will allow you to stretch your brain
Requires Python: >=3.11,<4.0

### Hexlet tests and linter status:
[![Actions Status](https://github.com/Sterphius/python-project-49/workflows/hexlet-check/badge.svg)](https://github.com/Sterphius/python-project-49/actions)
[![Maintainability](https://api.codeclimate.com/v1/badges/032bf7df2200568ae9b6/maintainability)](https://codeclimate.com/github/Sterphius/python-project-49/maintainability)

## Description

This is the training project at Python Developer course at [Hexlet](hexlet.io). \
It contains five mathematic games:
- Brain-calc
- Brain-even
- Brain-gcd
- Brain-prime
- Brain-progression

## Install

You can install Brain Games, using [pip](https://pypi.org/project/pip/): \
`pip install sterphius-brain-games`
[![asciicast](https://asciinema.org/a/561422.svg)](https://asciinema.org/a/561422)

## Brain-calc

In this game you have to calculate result of the expression.
[![asciicast](https://asciinema.org/a/561428.svg)](https://asciinema.org/a/561428)

## Brain-even

In this game you have to answer whether the number is even or not.
[![asciicast](https://asciinema.org/a/561431.svg)](https://asciinema.org/a/561431)

## Brain-gcd

In this game it is required to find greatest common divider of 2 numbers.
[![asciicast](https://asciinema.org/a/561432.svg)](https://asciinema.org/a/561432)

## Brain-prime

In this game you have to tell if the number is prime or not.
[![asciicast](https://asciinema.org/a/561433.svg)](https://asciinema.org/a/561433)

## Brain-progression

In this game you have to fill in the missing number in arithmetic progression
[![asciicast](https://asciinema.org/a/561434.svg)](https://asciinema.org/a/561434)
Eitaabot 1.0
This is a powerful library for building self robots in Eitaa
Requires Python: ~=3.7
Keywords: eita,eitaapy,tyrobot,pyeitaa,eitaa bot,eitaayar,library eitaa,eitaayar,eitaabot,eitaa-lib,bot,self bot,eitaa.ir,eitaa

<p align="center">
    <br>
        <img src="https://s2.uupload.ir/files/inshot_20230218_173605494_ss40.jpg" alt="Eitaabot" width="428">
    <br>
    <br>
    <b>Eitaa Bot Library for Python</b>
    <br>
</p>

## Install via pip
```
pip install Eitaabot
```

## Example
Getting channel's information :
```py
from Eitaabot import Bot
print(Bot.get_info("eitta")) # "eitta" is a channel id
```

Sending messages :
```py
from Eitaabot import Bot
bot = Bot("your eitaayar.ir token")
print(bot.send_message("chat id","message text",pin=True))
```


© 2023 Mohammad Saeed Salari
rlimit 1.5
python rate limiter
Requires Python: >=3.7

# Rate Limit

this package help you
to limit the call's `[frequent]` rates of any callable in python.

* default built-in memory is : [`expiring dict memory`](src/rlimit/expiringdict_memory.py)
  that not recommended for production usage

## Usage

#### basic usage

```py
from src.rlimit import Limiter, Per
from time import sleep


@Limiter(times=2, per=2 * Per.SECOND)
def func_a():
    return True


func_a()  # True
func_a()  # True
func_a()  # OverflowError
sleep(2)
func_a()  # True
func_a()  # True
func_a()  # OverflowError
```

---

#### key example

```py
from src.rlimit import Limiter, Per


@Limiter(
    times=2, per=2 * Per.SECOND,
    key=lambda name, age: str(hash((name, age)))
)
def func_a(name: str, age: int):
    return f'hi2{name}-{age}'


func_a('gzuz', 13)
func_a('gzuz', 14)
func_a('gzuz', 13)
func_a('gzuz', 15)
func_a('gzuz', 14)
func_a('gzuz', 14)  # OverflowError
func_a('gzuz', 13)  # OverflowError
```

---

#### fastapi

```py
from src.rlimit import Limiter, Per
from fastapi import APIRouter, HTTPException, Request

router = APIRouter(...)


@router.get(...)
@Limiter(
    times=2, per=4 * Per.SECOND,
    key=lambda r: r.client.host,
    exception=HTTPException(429)
)
def test_ratelimit(request: Request):
    return 'no limit'
```

---

## Install

`pip install git+https://github.com/omidekz/rlimit`

`pypi will add`

---

## Custom Memory

to implement new memory class,
you have to extend [`BaseMemory`](src/rlimit/memory_abc.py) abstract class
PyDule 0.8.6
It Creates List,Tuple,Set,Dictionary in One Command,It gives Weather Information,It opens any App and File,It has Color Picker,It Plays Songs and More
Requires Python: >=3.10.7
Keywords: python,PyDule,Module,Pydule,pydule,weather,list,tuple,set,dictionary,clear,color,pick_color,open,app,search,play,mp3,song,restart,system,shutdown,date,time,text_to_speech,text,speech

# PyDule-TM

[![forthebadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)                 
[![Python 3.6](https://img.shields.io/badge/python-3.10.7-blue.svg)](https://www.python.org/downloads/release/python-360/)   

[Tutorial of Publishing Python Package](https://youtu.be/7AF3HvKz070)
## Functionality of the Module

- Better Looking GUI
- Create List,Tuple,Dictionary,Set in One Command
- Check Weather of any City
- Open any App
- Open any File
- Play Songs
- Get Hex of a any Color
- Convert Text to Speech
- Print Date and Time
- Restart or Shutdown Your System
- Search on Google

## Usage

- Make sure you have Python installed in your system.
- Run Following command in the CMD.
 ```
  pip install Pydule
  ```
## Example

 ```
# test.py
import PyDule as py

## to Search 
py.search('Youtube')

## to Open Calculator
py.open_app('calculator')
  ```
polyblur 0.1.6
Breaking down Polyblur: Fast blind Correction of Small Anisotropic Blurs [IPOL2022]

# Polyblur Python package

Pytorch-based implementation of "Polyblur: Removing mild blur by polynomial reblurring" [Delbracio2021] and detailed in "Breaking down Polyblur: Fast blind correction of small anisotropic blurs" [Eboli2022]. Any question at thomas.eboli@ens-paris-saclay.fr.

Import the package as

```shell
import polyblur
```

In your Python script, run the functional interface

```shell
polyblur.polyblur_deblurring
```

or the torch.nn.Module interface

```shell
polyblur.PolyblurDeblurring
```