semvec/pypi-packages huggingface dataset:
PracticProject 1.0
Addition, subtraction and comparison of numbers.
Requires Python: >=3.6
Keywords: files speedfiles

# Practic File Library #

comparison - РЎСЂР°РІРЅРµРЅРёРµ РґРІСѓС… С‡РёСЃРµР». РљРѕРјР°РЅРґР° РІС‹РІРѕРґРёС‚ РјР°РєСЃРёРјР°Р»СЊРЅРѕРµ С‡РёСЃР»Рѕ. Р’ СЃР»СѓС‡Р°Рµ РµСЃР»Рё С‡РёСЃР»Р° РѕРґРёРЅР°РєРѕРІС‹Рµ С‚Рѕ РєРѕРјР°РЅРґР° РІС‹РІРµРґРµС‚ РѕР±Р° С‡РёСЃР»Р°.

summ - РЎР»РѕР¶РµРЅРёРµ РґРІСѓС… С‡РёСЃРµР». РљРѕРјР°РЅР°РґР° РІРѕР·РІСЂР°С‰Р°РµС‚ РѕРґРЅРѕ С‡РёСЃР»Рѕ, РєРѕС‚РѕСЂРѕРµ СЏРІР»СЏРµС‚СЃСЏ СЃСѓРјРјРѕР№ РґРІСѓС… РІРІРµРґРµРЅРЅС‹С… С‡РёСЃРµР».

subtraction - Р’С‹С‡РёС‚Р°РЅРёРµРґРІСѓС… С‡РёСЃРµР». РљРѕРјР°РЅРґР° РІРѕР·РІСЂР°С‰Р°РµС‚ РѕРґРЅРѕ С‡РёСЃР»Рѕ, РєРѕС‚РѕСЂРѕРµ СЏРІР»СЏРµС‚СЃСЏ СЂР°Р·РЅРѕСЃС‚СЊСЋ РґРІСѓС… РІРІРµРґРµРЅРЅС‹С… С‡РёСЃРµР».

РђРІС‚РѕСЂ: Maxitot
django-skiptask 0.1.1
A Django app for database backed task queue system that uses `SKIP LOCKED`.
Requires Python: >=3.9
Keywords: django, task-queue, background-jobs

# Django Skiptask

A Django app for database backed task queue system that uses `SKIP LOCKED`.

## Installation

Install from PyPI:

```bash
pip install django-skiptask
```

## License

MIT License - see LICENSE file for details.

## Changelog

See [CHANGELOG.md](CHANGELOG.md) for version history.
mdi2img 1.0.2
A module that allows you to convert mdi files to tiff and other formats

# MDI2TIFF

This is a python library/program the piggybacks of the MDI2TIFF binary created by Microsoft in order to help you, convert, view, save (under another image format), mdi file using python

## For non windows users

This library depends on the official "Microsoft Office Document Imaging" software, thus, a windows 32bit application.

For this library to work, you need :

1. To install wine on your computer
2. Set wine to 32bit mode
3. Make sure mono is installed

Or, you could have docker installed on the user's computer and use the image provided, come features of the program will not be available (i.e. visualisation) but the convertion (the core of the app) will.

Current status of the docker: Unstable, wine is still being set up.
funcy-typing 2.0.8
Stubs for funcy package
Requires Python: >=3.8
Keywords: funcy, stubs, types, typing

# funcy-typing

Type stubs for [funcy](https://pypi.org/project/funcy/) package

Support all funcy modules:

- calc
- colls
- debug
- decorators
- flow
- funcmakers
- funcools
- funcs
- objects
- primitives
- seqs
- strings
- tree
- types

All functions that use `make_func` and `make_pred` are written for all cases of their use via @overload

![PyPI - Python Version](https://img.shields.io/pypi/pyversions/funcy-typing)
![PyPI - Status](https://img.shields.io/pypi/status/funcy-typing)
![PyPI - Implementation](https://img.shields.io/pypi/implementation/funcy-typing)
![PyPI - Format](https://img.shields.io/pypi/format/funcy-typing)
![PyPI - Downloads](https://img.shields.io/pypi/dm/funcy-typing)

[![Pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/feodor-ra/funcy-stubs/blob/master/.pre-commit-config.yaml)
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Checked with pyright](https://microsoft.github.io/pyright/img/pyright_badge.svg)](https://microsoft.github.io/pyright/)
[![Semantic Versions](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--versions-e10079.svg)](https://github.com/feodor-ra/funcy-stubs/releases)

![GitHub License](https://img.shields.io/github/license/feodor-ra/funcy-stubs)
![GitHub Release](https://img.shields.io/github/v/release/feodor-ra/funcy-stubs)
![GitHub Repo stars](<https://img.shields.io/github/stars/feodor-ra/funcy-stubs>)

## Install

[pypi](https://pypi.org/project/funcy-typing/)

```bash
pip install funcy-typing
```
FlaskFloodgate 1.1.3
A small customizable package to rate-limit your Flask endpoints.
Requires Python: >=3.6
Keywords: flask, rate-limit, floodgate, ip-limit

# Introduction

FlaskFloodgate is a small Python package that provides rate limiting functionalities for Flask endpoints.

# Current Features
- Rate limit IPs.
- Restrict a certain amount of requests in a specified time window.
- Add a limit to the number of times an IP can be rate-limited (blocked).
- Punish IPs for exceeding block limit by either black-listing them or blocking them for an extended duration.
- Set the block duration based on either the first or the last blocked request.
- Set a max duration to the time a request window will be stored in the DB.
- Allow IPs to accumulate requests from past request windows.
- Allow requests with certain data.
- Blacklist and whitelist IPs during runtime.
- Can create your own custom DB Handler to manage IP data.

# TODO
- **Multiple DB**: Implement availability for other DBs.
- **Request Cooldown**: A cooldown after each request.
- **Adaptive blocking**: Increase the window/block duration based on the severity level.

# Installation

`pip install FlaskFloodgate`

# Usage
```python

import logging

from datetime import timedelta
from flask import Flask

from FlaskFloodgate import RateLimiter
from FlaskFloodgate.handlers import Sqlite3Handler

app = Flask(__name__)

# No need to specify all the parameters.
handler = RateLimiter(
    db=MemoryHandler(),
    amount=20,
    time_window=timedelta(minutes=1),
    block_duration=timedelta(minutes=5), # All params below this are optional.
    block_limit=5,
    block_exceed_duration=timedelta(days=1),
    relative_block=True,
    max_window_duration=timedelta(days=2),
    accumulate_requests=True,
    dl_data_wb=True,
    logger=logging.Logger("FlaskFloodgate"),
)

handler = RateLimiter(db=db)

@app.route('/rate-limited')
@handler.rate_limited_route()
def rate_limited():
    return 'Hello!', 200

if __name__ == "__main__":
    app.run(host="localhost")

```

# Documentation
For detailed functions, check out the documentation: [FlaskFloodgate Documentation](https://flaskfloodgate.readthedocs.io/en/latest/introduction.html)

# Contact
You can contact me on my email: ivoscev@gmail.com

# Updates
- # 1.1.3
- Fixed few bugs.

- # 1.1.2
- Improved rate-limiting logic.
- Improved `MemoryHandler`.
- Fixed bugs with `RedisHandler`. 

- # 1.1
- Updated with a runtime terminal.
- Moved rate limiting parameters to the `RateLimiter` handler instead of the `DBHandler`.
- Introduced whitelisting of IPs.
- Introduced `RedisHandler`.

- # 1.0.1
- The first version (with updated PyPI README).

- # 1.0
- The first version.
libpass-next 0.3.0
Password hashing library, rewrite of passlib.
Requires Python: >=3.9

# libpass-next
Libpass is a rewrite of passlib library


## Installation
```shell
pip install libpass-next
```

## Usage
You can use individual hashers (argon2, bcrypt, pbkdf2, etc) individually:
```python
from libpass.hashers.bcrypt import BcryptHasher

hasher = BcryptHasher()

hash = hasher.hash("password")
print(f"{hash=}")

is_valid = hasher.verify(hash=hash, secret="password")
print(f"{is_valid=}")

```

Or you can combine them into a single `CryptContext` if you
need to support multiple password hashing schemes:
```python
from libpass.context import CryptContext
from libpass.hashers.argon2 import Argon2Hasher
from libpass.hashers.bcrypt import BcryptHasher

context = CryptContext(
    schemes=[
        Argon2Hasher(),
        BcryptHasher(),
    ]
)

hash = context.hash("password")
# $argon2id$v=19$m=65536,t=3,p=4$cIRqyLJEF2IBc0ggxp4Kqw$W+PxOyErga7uHi/BOkyTsT6atZAfFuc1GEPwHOwyJMM
print(f"{hash=}")

is_valid = context.verify(hash=hash, secret="password")
print(f"{is_valid=}")  # True

old_hash = "$2b$12$eNeQerKdKhGj3IfERBdGPem7wUtlW3szwawvT5GIm/UNKxCuDnZku"
print(context.verify(hash=old_hash, secret="password"))  # True
print(context.needs_update(old_hash))  # True
```