semvec/pypi-packages huggingface dataset:
mechanician-arangodb 0.1.3
Daring Mechanician AITools for interacting with ArangoDB Graph Databases.


# Daring Mechanician-ArangoDB

This package provides **Daring Mechanician** `AITools` for interacting with ArangoDB graph databases.

See [Daring Mechanician Github Repo](https://github.com/liebke/mechanician) for more information.

```python
from mechanician_arangodb import DocumentManagerAITools
from arango import ArangoClient
```

```python
arango_client = ArangoClient(hosts=os.getenv("ARANGO_HOST"))
doc_tools = DocumentManagerAITools(arango_client, database_name=database_name)
```

```python
ai = TAGAI(ai_connector=ai_connector, 
           instruction_set_directory="./instructions",
           tools=doc_tools,
           name="Movie Document Manager AI")
```


Example project:
* [examples/arango_movie_db](https://github.com/liebke/mechanician/tree/main/examples/arango_movie_db)


## Run ArangoDB in Docker

Set your environment variables:

```bash
ARANGO_ROOT_PASSWORD=<YOUR_ARANGODB_ROOT_PASSWORD>
ARANGO_HOST=http://localhost:8529
```

```bash
docker pull arangodb/arangodb
```

```bash
docker run -e ARANGO_ROOT_PASSWORD=${ARANGO_ROOT_PASSWORD} -p 8529:8529 -d --name arangodb-instance arangodb/arangodb
```

```bash
docker stop arangodb-instance
```

```bash
docker start arangodb-instance
```
mechanician-openai 0.1.3
Daring Mechanician AIConnectors for OpenAI Chat and Assistants APIs.


# Daring Mechanician-OpenAI

This package provides **Daring Mechanician** `AIConnectors` for OpenAI Chat and Assistants APIs.

See [Daring Mechanician Github Repo](https://github.com/liebke/mechanician) for more information.
fish2pano 0.4.1
A library to convert numpy fisheye images to panoramic.
Requires Python: >=3.7

# Install
```
pip install fish2pano
```

## Inplace 

If you are running in place from source from the repository, make sure to compile optimized version of fish2pano.fast, it will probably be over 200 times faster. If you installed with pip then yous hould be good.

```
python setup.py build --inplace
```

# Usage
```
> import fish2pano
> myimg = ... # Load numpy of shape (W, H, 3) representing the image
> radius = 481 # How big a circle your fisheye image is in pixels
> center = [618, 538] # Center of your fisheye image
> scale = 0.5 # How big the resulting pano is compared to the original
> mypano = fish2pano.fish2pano(myimg, radius, center, scale) # numpy array of your new pano image
```

# Command Line and Graphical tools

See [fish2panoui](https://github.com/bluthen/fish2panoui) repo for command line and graphical tools to turn fisheye image to panoramic.

It also has a tool "findcircle.py" that helps you find the radius and center of the fisheye in your image.

## Example

![Image of sky from a fisheye lens](./large2.jpg "Fisheye")

```
python fish2panoui.py large2.jpg 481 618,538 0.5 large2_pano.jpg
```


![Image of sky in panoramic form](./large2_pano.jpg "Pano")