semvec/pypi-packages huggingface dataset:
typesense-orm 0.0.15
A typesense-server client using orm paradigm based on pydantic
License: MIT
Requires Python: >=3.8

# Typesense-orm
This is an ORM client for typesense-server. It is still under construction (some search options are not implemented yet, as well as aliases and synonyms)
### Installation
`pip install typesense_orm`
### Description
This client has aiohttp under the hood, but you can specify a mode (see example) and work in either a synchronized manner, or in an async mode.<br/>
The ORM is based on pydantic here (actually models are inherited from pydantic base model with some methods overriden). (to be continued)
### Contacts
If you have any issues, contact me on oleg.demianchenko@gmail.com or in telegram @oleg_demianchenko (in telegram i'll respond faster)
foliantcontrib.imgcaptions 1.0.4
Preprocessor for Foliant for adding visible captions to images.
License: MIT

[![](https://img.shields.io/pypi/v/foliantcontrib.imgcaptions.svg)](https://pypi.org/project/foliantcontrib.imgcaptions/) [![](https://img.shields.io/github/v/tag/foliant-docs/foliantcontrib.imgcaptions.svg?label=GitHub)](https://github.com/foliant-docs/foliantcontrib.imgcaptions)

# ImgCaptions

ImgCaptions is a preprocessor that generates visible captions for the images from alternative text descriptions of the images. The preprocessor is useful in projects built with MkDocs or another backend that provides HTML output.

## Installation

```bash
$ pip install foliantcontrib.imgcaptions
```

## Usage

To enable the preprocessor, add `imgcaptions` to `preprocessors` section in the project config:

```yaml
preprocessors:
    - imgcaptions
```

The preprocessor supports the following options:

```yaml
    - imgcaptions:
        stylesheet_path: !path imgcaptions.css
        template: <p class="image_caption">{caption}</p>
        targets:
            - pre
            - mkdocs
            - site
            - ghp
```

`stylesheet_path`
:   Path to the CSS stylesheet file. This stylesheet should define rules for the `.image_caption` class. Default path is `imgcaptions.css`. If stylesheet file does not exist, default built-in stylesheet will be used.

`template`
:   Template string representing the HTML tag of the caption to be placed after the image. The template should contain the `{caption}` variable that will be replaced with the image caption. Default: `<p class="image_caption">{caption}</p>`.

`targets`
:   Allowed targets for the preprocessor. If not specified (by default), the preprocessor applies to all targets.

Image definition example:

```markdown
(leading exclamation mark here)[My Picture](picture.png)
```

This Markdown source will be finally transformed into the HTML code:

```html
<p><img alt="My Picture" src="picture.png"></p>
<p class="image_caption">My Picture</p>
```

(Note that ImgCaptions preprocessor does not convert Markdown syntax into HTML; it only inserts HTML tags like `<p class="image_caption">My Picture</p>` into Markdown code after the image definitions. Empty alternative text descriptions are ignored.)
matheUI-backend 0.1.3
little funny games package created by Samuel Brinkmann
License: MIT

# MatheUI-2.0

[![PyPI version](https://badge.fury.io/py/matheUI-backend.svg)](https://badge.fury.io/py/matheUI-backend)

little funny games

## set-up package

install the package to your activated virtual environment

```
pip install matheUI-backend
```

Now you can use the package. e.g.:

```
from matheUI_backend import AgentUndercover

auc = AgentUndercover()
auc.generate_round(player_number=7, spy_number=2, places_groups="standard")
```

--> in the '[examples](https://github.com/Priapos1004/MatheUI-2.0_backend/tree/main/examples)' folder you can find notebooks with code snippets that explain the usage of the package