semvec/pypi-packages huggingface dataset:
chesscom 0.0.0
Chess.com unofficial Python API.
License: MIT
Keywords: chess,chess.com,api

# Chess.com Python API

[<img src="https://images.chesscomfiles.com/uploads/v1/blog/291978.333e4ddb.668x375o.576e795e2298.png" width="300" align="center"/>](image.png)

Unofficial Chess.com Python API and toolkit. (**Work In Progress**)

This Python API is a wrapper to the [PubAPI](https://www.chess.com/news/view/published-data-api) (a read-only REST API that responds with JSON-LD data).

## Install

Install from PyPi:

```
python3 -m pip install chesscom
```

Install locally

```
git clone git@github.com:jeffreywardman/chesscom.git
cd chesscom
python3 -m pip install -e .
```

## To Do

- Plot by piece type
- Plot piece coverage
- Plot attacked pieces
- Create game GIFs
- Documentation
- Automated versioning and unit tests (within docker container)

## Final Comment

Feel free to add me (jeffreywardman) on chess.com so we can play sometime!
fpiper 0.0.1
A small library providing functional wrappers over Optional and Iterable
License: MIT
Requires Python: >=3.9,<4.0

When coming from a functional background, it is normal to miss common
_chainable_ combinators for container types, namely:

- `map`|`fmap`
- `filter`|`where`
- `flatMap`|`bind`|`collect`

This library contains simple wrappers for `Optional` and `Iterable` Python
values which provide just that.

The library is currently in very experimental stage, use at your own risk.

An example:

```
  from fpiper import pipe, pipeOpt

  x = pipe(myList).filter(lambda x: x > 0).flatMap(lambda x: x*2).run()
  y = pipeOpt(loadCustomer).flatMap(validateCustomer).map(submitCustomer).run()
```