semvec/pypi-packages huggingface dataset:
applechess 0.1
A simple alpha-beta chess engine with a Lichess bot interface.
Requires Python: >=3.10
Keywords: chess, engine, alpha, beta, minimax, applechess, apple, pruning

# Applechess

Applechess is a simple chess engine, written using the minimax and alpha-beta pruning algorithms along with a handcrafted heuristics function.

See more information about the two algorithms on the Wikipedia pages: [minimax](https://en.wikipedia.org/wiki/Minimax) and [alpha-beta pruning](https://en.wikipedia.org/wiki/Alpha%E2%80%93beta_pruning).

The easiest way to play the engine is to [play the bot on Lichess](https://lichess.org/@/apple-chess) by sending it a challenge request (variants and ultrabullet are not yet supported).
The engine may run slow if too many people are playing it. If the bot is offline, you can run it locally. 

## Running Applechess Locally

In order to run the engine locally, first install Python from [python.org](https://python.org) or your package manager.
Python 3.10+ is required.

Then, clone and install the requirements. You can optionally create a virtual environment before installing the packages.
```bash
git clone https://github.com/appleplectic/applechess.git
cd applechess
python -m pip install -r requirements.txt
```

To use the `ChessAgent` class:
```python
from applechess.chess_agent import ChessAgent

agent = ChessAgent()
agent.interactive_terminal()
```
Check the documentation for usage details. Note that the API is not stable, and will change frequently.

### Running the Lichess bot locally

Follow the same instructions above to clone and install dependencies.

Next, create a Lichess bot account by first [registering on lichess.org](https://lichess.org/signup) and then obtaining a personal access token under settings.

Upgrade the account to a bot account by running the following command (an account with any games on it cannot become a bot account):
```bash
curl -d '' https://lichess.org/api/bot/account/upgrade -H "Authorization: Bearer <yourTokenHere>"
```

Finally, create a `.env` file in either the root directory or the applechess/ directory with the following contents:
```
LICHESS_API_KEY=<yourTokenHere>
```

The bot should be ready to run:
```bash
cd applechess
python lichess_bot.py
```

### Building the Documentation
First, follow the previous instructions to download the dependencies.

Then, build the docs:
```bash
sphinx-build -M html docs/source/ docs/build/
```

The built docs should then be available in `docs/build/html/`.

## Licensing and Contributing

Contributions are encouraged - create a pull request or issue!

See the `LICENSE` file for licensing information. All contributions will be under the same license.
miscellaneous-utils 0.3.10
Random collection of utilities that I've found useful.
Requires Python: >=3.9

# Miscellaneous Utils
![License](https://img.shields.io/badge/license-MIT-blue.svg)
[![Python Versions](https://img.shields.io/badge/Python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)](https://www.python.org/)


## Installation
To install miscellaneous utils, simply use pip:

```bash
$ pip install miscellaneous-utils
```

## Usage
```python
import misc_utils as utils
```

## License
This project is licensed under the MIT License. See the LICENSE file for more details.
pydra-nipype1 0.3.0
Tools for importing nipype 1.x interfaces into Pydra
Requires Python: >=3.8
Keywords: pydra, nipype

# Nipype 1 Tasks for Pydra

[![PyPI version](https://badge.fury.io/py/pydra-nipype1.svg)](https://badge.fury.io/py/pydra-nipype1)
[![github](https://github.com/nipype/pydra-nipype1/actions/workflows/pythonpackage.yml/badge.svg)](https://github.com/nipype/pydra-nipype1/actions/workflows/pythonpackage.yml)
[![codecov](https://codecov.io/gh/nipype/pydra-nipype1/branch/main/graph/badge.svg?token=WP83ZHM410)](https://codecov.io/gh/nipype/pydra-nipype1)

[Pydra](https://nipype.github.io/pydra/) is a redesign of the Nipype dataflow
engine, and the core of the emerging
[Nipype 2 ecosystem](https://github.com/nipype).

This is a task package, a set of Pydra Tasks that inhabits the
`pydra.tasks.*` namespace, to ease wrapping Nipype 1 Interfaces.

Additional tools for migrating from Nipype 1 to Pydra may find their home here.

## Installation

```
pip install pydra-nipype1
```

## Usage

```
from pydra.tasks.nipype1.utils import Nipype1Task
from nipype.interfaces import fsl

thresh = Nipype1Task(fsl.Threshold())
res = thresh(in_file=fname, thresh=0.5)
```

## For developers

Install repo in developer mode from the source directory. It is also useful to
install pre-commit to take care of styling via black:

```
pip install -e .[dev]
pre-commit install
```