semvec/pypi-packages huggingface dataset:
quart_libretranslate 0.0.2
LibreTranslate for Quart
License: MIT
Requires Python: >=3.8

# Quart LibreTranslate

![Quart Uploads Logo](logos/logo.png)

This is a basic extension to use [LibreTranslate][] in your Quart app
and is based on [AIOHttp][]. LibreTranslate can be ran on the same server
as your Quart app allowing you not needing a third-party provider. 

# Installation 

Install the extension with the following command:

    $ pip3 install quart-libretranslate

# Usage

To use the extension simply import the class wrapper and pass the Quart app 
object back to here. Do so like this:

    from quart import Quart
    from quart_libretranslate import LibreTranslate

    app = Quart(__name__)
    translate = LibreTranslate(app)


# Documentation

The for Quart-Babel and is available [here][docs].

[LibreTranslate]: https://github.com/LibreTranslate/LibreTranslate
[AIOHttp]: https://docs.aiohttp.org/en/stable/
[docs]: https://quart-libretranslate.readthedocs.io/en/latest/
mbforbes-python-utils 0.5.0
Some tiny python utils so I can be lazier.
License: MIT
Requires Python: >=3.9

# python-utils

So maybe I stop writing the same things over and over.

## Installation

```sh
# Python 3.9+ only (due to PEP 585 type annotations)
pip install mbforbes-python-utils
```

## Usage

```python
from mbforbes_python_utils import read, write, flatten

# read() removes leading/trailing whitespace.
contents = read("foo.txt")

# write() creates intermediate directories if needed.
# Pass `info_print = False` to disable printing.
write("bar/baz.txt", contents)

# flatten() flattens lists.
flatten([[1, [2, [3]]]])  # -> [1, 2, 3]
```

## Tests

```sh
python test_mbforbes_python_utils.py
```

## Releasing

I don't do this enough to remember how to do it

```sh
# Increment version in setup.py. Then,
pip install twine wheel
python setup.py sdist bdist_wheel
twine check dist/*
# If the above failed, `rm -rf build/ dist/ *.egg-info` before retrying
twine upload dist/*
```
gl_search 0.4.1
Script to help search code in self-hosted gitlab
License: MIT
Requires Python: <4.0,>=3.9
Keywords: gitlab, search, search code, api

# gl-search

This is a lib that use gitlab api to search code.
This code is based in the lib [gitlab-search](https://github.com/phillipj/gitlab-search).

## About

It is a lib to search code at gitlab.
This search can be parameterized with params groups, extension, filename, path, max-workers and visibility.

## How install?

```bash
pip install gl_search
```

## How it works?

The lib use gitlab token (GITLAB_PRIVATE_TOKEN) to search.

## How to setup the token?

Get your token at gitlab and then execute following command to save at home user at the .gl-settings.toml file.

```bash
gl-search setup-token <token>
```

## Can I change gitlab official to self hosted?

Yes you can. Use following command to setup the gitlab-address

```bash
gl-search setup-gitlab-address <self-hosted-gitlab-address>
```

## Where I get gitlab token?

You can get on following link [gitlab-token](https://gitlab.com/-/profile/personal_access_tokens)
The TOKEN must be generated with scope read_api.

## Why this lib was built?

I had problem with repo visibility using a mentioned lib above so I built this script to resolve my problem.

## How to use

```bash
gl-search search test
```

This options is show up below.

```bash
➜  gl_search git:(main) ✗ gl-search search --help
Usage: gl-search search [OPTIONS] SEARCH_CODE_INPUT

  Search command.

Options:
  -p, --path TEXT                 search by Path
  -fn, --filename TEXT            search by filename
  -ext, --extension TEXT          code filename extension :: py,js,cs
  -g, --groups TEXT               search by gitlab group
  -mw, --max-workers INTEGER      number of parallel requests
  -v, --visibility [internal|public|private]
                                  repositories visibility
  -xdr, --max-delay-request INTEGER
  -d, --debug                     Debug :: show urls called.
  --help                          Show this message and exit.
```

## How was made the lib?

The lib was built using click, rich, request, ThreadPoolExecutor.
dopple-ai-client 1.3.1.0
Python API wrapper for Dopple.AI
License: MIT
Requires Python: >=3.8

# DoppleAIClient


Python API wrapper for Dopple.AI


You can install it using pip with the `pip install dopple_ai_client` command.


## Example usage



```py
import dopple_ai_client

client = dopple_ai_client.DoppleClient(email="EMAIL/USERNAME", password="PASSWORD")

for bot in client.get_user_chat_dopple_ids(): # Print out the bot IDs
    print(bot)

print(list(bot.display_name for bot in client.get_creator_profile(client.user_id).bots)) # Print out own published bot names
```


## Planned features


This library is actively maintained, and will add new features over time. Here are some of the planned things:

- Editing Dopples (possibly creating them too)
- Support for Dopple Reactions and Dopple Voice
- Utility functions