semvec/pypi-packages huggingface dataset:
Timeseries-Preprocess 0.1.3
toolkit for time series preprocessing
License: MIT

# Timeseries-Preprocess
## Deploy Web App
You can deploy this web app to Railway by clicking the button below.

Set variables in Railway:
- Host: 0.0.0.0
- Port: 8050

[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/wlKxsY?referralCode=z9wkKO)
downscale-image 1.4.4
downscale image to desired file size
License: MIT
Requires Python: >=3.7,<4.0

# downscale_image
A utility to downscale an image to the desired file size.

Relies on an install of ffmpeg to incrementally downscale the image file into a new file.

This modules provides the script `downscale-image`

```
> downscale-image --help
Usage: downscale-image [OPTIONS] FILE_OR_DIRECTORY

  Downscale file_or_directory to desired max-size.

Options:
  --max-size INTEGER RANGE   Max output size (in MB)  [default: 2; x>0]
  --add-to-right-click-menu  (Windows only) Register this program in right
                             click menu for supported file types.
  --help                     Show this message and exit.

```
pynghttp2 0.3.2
Asyncio bindings for libnghttp2 based on ctypes
License: MIT
Keywords: HTTP/2 nghttp2 bindings asyncio ctypes

=========
pynghttp2
=========

.. image:: https://badge.fury.io/py/pynghttp2.svg
    :target: https://badge.fury.io/py/pynghttp2
    :alt: PyPi Version

.. image:: https://codecov.io/gh/kahlertl/pynghttp2/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/kahlertl/pynghttp2
    :alt: Code Coverage

.. image:: https://readthedocs.org/projects/pynghttp2/badge/?version=latest
    :target: http://pynghttp2.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

pynghttp2 are simple asyncio Python bindings based on ctypes for the nghttp2_
library. The only thing you need is a ``libnghttp2`` version on your system.

On Debian-based systems you can install nghttp2 simply via apt:

.. code:: bash

    apt-get install libnghttp2-14

The project was created in the context of a student work for an HTTP/2 protocol
gateway in the µPCN_ project - an implementation of Delay-tolerant Networking
(DTN) protocols.


Installation
============

.. code:: bash

    pip install pynghttp2


Examples
========

High-Level API
--------------

.. code:: python

    from pynghttp2 import http2

    # GET request
    resp = await http2.get('http://localhost:64602/ping')

    content = await resp.text()
    assert content == 'pong'

    # POST request
    message = b"Lorem ipsum dolorem"
    resp = await http2.post('http://localhost:64602/echo', data=message)
    echo = await resp.read()
    assert echo == message


Client Session
--------------

.. code:: python

    from pynghttp2 import ClientSession

    # Multiplex two requests
    async with ClientSession(host='localhost', port=64602) as session:
        stream1 = session.get('http://localhost:64602/stream')
        stream2 = session.get('http://localhost:64602/stream')

        await asyncio.gather(stream1.read(), stream2.read())


Server Session
--------------

.. code:: python

    import asyncio
    from pynghttp2 import ServerSession

    async def handle_request(req):
        """Echo the request body"""
        msg = await req.read()
        await req.response(200, data=msg)

    with ServerSession(host='localhost', port=8080) as session:
        while True:
            # Wait for next incoming request
            req = await session

            # Handle each request in its own task to be able to multiplex
            # multiple requests and responses
            asyncio.ensure_future(handle_request(req))


.. _nghttp2: https://nghttp2.org/
.. _µPCN: https://upcn.eu/
python-connect4 0.1.0
Multiplayer implementation of "connect four" game
License: MIT
Requires Python: >=3.9.1,<4.0

# Connect4

[![PyPI](https://img.shields.io/pypi/v/connect4?style=flat-square)](https://pypi.python.org/pypi/connect4/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/connect4?style=flat-square)](https://pypi.python.org/pypi/connect4/)
[![PyPI - License](https://img.shields.io/pypi/l/connect4?style=flat-square)](https://pypi.python.org/pypi/connect4/)
[![Coookiecutter - Wolt](https://img.shields.io/badge/cookiecutter-Wolt-00c2e8?style=flat-square&logo=cookiecutter&logoColor=D4AA00&link=https://github.com/woltapp/wolt-python-package-cookiecutter)](https://github.com/woltapp/wolt-python-package-cookiecutter)


---

**Documentation**: [https://nekeal.github.io/connect4](https://nekeal.github.io/connect4)

**Source Code**: [https://github.com/nekeal/connect4](https://github.com/nekeal/connect4)

**PyPI**: [https://pypi.org/project/connect4/](https://pypi.org/project/connect4/)

---

Multiplayer implementation of "connect four" game

## Installation

```sh
pip install connect4
```

## Development

* Clone this repository
* Requirements:
  * [Poetry](https://python-poetry.org/)
  * Python 3.7+
* Create a virtual environment and install the dependencies

```sh
poetry install
```

* Activate the virtual environment

```sh
poetry shell
```

### Testing

```sh
pytest
```

### Documentation

The documentation is automatically generated from the content of the [docs directory](./docs) and from the docstrings
 of the public signatures of the source code. The documentation is updated and published as a [Github project page
 ](https://pages.github.com/) automatically as part each release.

### Releasing

Trigger the [Draft release workflow](https://github.com/nekeal/connect4/actions/workflows/draft_release.yml)
(press _Run workflow_). This will update the changelog & version and create a GitHub release which is in _Draft_ state.

Find the draft release from the
[GitHub releases](https://github.com/nekeal/connect4/releases) and publish it. When
 a release is published, it'll trigger [release](https://github.com/nekeal/connect4/blob/master/.github/workflows/release.yml) workflow which creates PyPI
 release and deploys updated documentation.

### Pre-commit

Pre-commit hooks run all the auto-formatters (e.g. `black`, `isort`), linters (e.g. `mypy`, `flake8`), and other quality
 checks to make sure the changeset is in good shape before a commit/push happens.

You can install the hooks with (runs for each commit):

```sh
pre-commit install
```

Or if you want them to run only for each push:

```sh
pre-commit install -t pre-push
```

Or if you want e.g. want to run all checks manually for all files:

```sh
pre-commit run --all-files
```

---

This project was generated using the [wolt-python-package-cookiecutter](https://github.com/woltapp/wolt-python-package-cookiecutter) template.
rankit 0.3.3
A simple ranking solution for matches.
License: MIT

*Rankit* is a project facilitating ranking process through pairwise
comparision.

Suppose there’s a soccer/football/baseball competition consisting of a
series of matches, one needs to come up with the authentic power of each
team based on completed match results. Each match consists of two teams
and their corresponding final scores. This could not be done through
simply averaging each team’s score, since not all teams plays the same
number of matches and, besides that, the team that defeated early may
not necessarily be the weakest team since they may got paired with a
powerhouse at early stage.

*Rankit* provides two kinds of solutions to solve this problem:

1. All records are presented at once, and then come up with a rating. We
   provide the following ranking solutions in this way:

   -  Massey Rank (`See more <https://www.masseyratings.com/>`__)
   -  Colley Rank (`See more <https://www.colleyrankings.com/>`__)
   -  Keener Rank (`See
      more <http://public.gettysburg.edu/~cwessell/RankingPage/keener.pdf>`__)
   -  Markov Rank (Page rank)
   -  OD Rank (a.k.a. Offence-Defence Rating, `see
      more <http://www.matterofstats.com/mafl-wagers-and-tips/2012/5/22/the-offense-defense-team-rating-system.html>`__)
   -  Difference Rank

2. Matches have time sequence infomation, and player’s ratings are got
   updated match by match. We provide the corresponding ranking
   solutions:

   -  Elo Rank (`See
      more <https://en.wikipedia.org/wiki/Elo_rating_system>`__)
   -  Glicko 2 Rank (`See more <www.glicko.net/glicko.html>`__)
   -  TrueSkill Rank (pairwise only)(\ `See
      more <https://www.microsoft.com/en-us/research/project/trueskill-ranking-system/>`__)