semvec/pypi-packages huggingface dataset:
redhat-qe-cloud-tools 2.0.20
Python utilities to manage cloud services, such as AWS.
Requires Python: <4,>=3.10

# cloud-tools
Python utilities to manage cloud services, such as AWS.

## Local run

clone the [repository](https://github.com/RedHatQE/cloud-tools.git)

```
git clone https://github.com/RedHatQE/cloud-tools.git
```

Install [poetry](https://github.com/python-poetry/poetry)

```
poetry install
```

## Docs
- [AWS Readme](clouds/aws/README.md)
- [Cloud nuke CLI tools Readme](clouds/cli/README.md)

## Release new version
### requirements:
* Export GitHub token
```bash
export GITHUB_TOKEN=<your_github_token>
```
* [release-it](https://github.com/release-it/release-it)
Run the following once (execute outside repository dir for example `~/`):
```bash
sudo npm install --global release-it
npm install --save-dev @j-ulrich/release-it-regex-bumper
rm -f package.json package-lock.json
```
### usage:
* Create a release, run from the relevant branch.
To create a new release, run:
```bash
git checkout main
git pull
release-it # Follow the instructions
```
vectoralign 0.2.2
Bilingual word alignment using multilingual embeddings - a spiritual implementation of SimAlign
Requires Python: >=3.10
Keywords: nlp, alignment, bilingual, embeddings, translation, dictionary

# VectorAlign

Bilingual word alignment using multilingual embeddings — no training required!

For non-nerds: a word matching engine for any language pair using parallel data.

## Installation

```bash
pip install vectoralign
```

## Quick Start

```python
from vectoralign import align

# Your parallel sentences
english = [
    "Hello world",
    "How are you today",
    "The weather is nice"
]
hindi = [
    "नमस्ते दुनिया",
    "आज आप कैसे हैं",
    "मौसम अच्छा है"
]

# Align and build dictionary
dictionary = align(english, hindi)
```

## Features

- **No training required** — Uses pre-trained multilingual embeddings
- **Batch processing** — Batch processing with automatic CUDA detection
- **Multiple models** — Supports LaBSE, mBERT, and other HuggingFace models
- **Bidirectional alignment** — Intersection of forward and backward alignments

### Version 0.2.0 added features:
- **Memory management** — Automatic garbage collection and CUDA cache management for efficient memory usage

## Advanced Usage

```python
from vectoralign import align

# Custom model and batch size
dictionary = align(
    src_sentences,
    tgt_sentences,
    model_name="setu4993/LaBSE",  # or "bert" for mBERT
    batch_size=64,
    threshold=0.6,  # Sentence similarity threshold
    output="my_dictionary.txt"
)
```

## Supported Models

| Model | Name |
|-------|------|
| LaBSE | `setu4993/LaBSE` (default) |
| mBERT | `bert` with `mode='multilingual'` |
| Any HuggingFace model with `pooler_output` | Full model path |

## Output Format

The dictionary is saved as a TSV file:
```
word1    translation1    count
word2    translation2    count
```

## Acknowledgments

This is a spiritual implementation of [SimAlign](https://github.com/cisnlp/simalign) by the Centre for Language and Information Processing, LMU Munich.

- [Paper](https://arxiv.org/pdf/2004.08728)

## License

MIT License
py-opensonic 8.1.1
A python wrapper library for the Open Subsonic REST API.  https://opensubsonic.netlify.app/
Requires Python: >=3

# py-opensonic #

A python library for interacting with an Open Subsonic API implementation.
This started its life as the [py-sonic](https://github.com/crustymonkey/py-sonic) library.
I have tested with Gonic (and continue to do so against each stable docker
release). Please open issues if you discover problems with other implementations.

As of 8.0.0 this library now offers an AsyncConnection object that uses aiohttp for all
its http requests. It does not create an event loop so is usable inside any application
built on asyncio. The Connection object will continue to use synchronous IO and will
remain for backward compatibility.

## INSTALL ##

Installation is fairly simple.  Just do the standard install as root:

    tar -xvzf py-opensonic-*.tar.gz
    cd py-opensonic-*
    python setup.py install

You can also install directly using *pip* or *easy_install*

    pip install py-opensonic

## USAGE ##

This library follows the REST API almost exactly (for now).  If you follow the 
documentation on https://opensubsonic.netlify.app/docs/ or you do a:

    pydoc libopensonic.connection

The py-sonic original author has added documentation at
http://stuffivelearned.org/doku.php?id=programming:python:py-sonic

## BASIC TUTORIAL ##

This is about as basic as it gets.  We are just going to set up the connection
and then get a couple of random songs.

```python
#!/usr/bin/env python

import libopensonic

# We pass in the base url, the username, password, and port number
# Be sure to use https:// if this is an ssl connection!
conn = libopensonic.Connection('https://music.example.com' , 'myuser' , 
    'secretpass' , port=443)
# Let's get 2 completely random songs
songs = conn.get_random_songs(size=2)
# We'll just pretty print the results we got to the terminal
print(songs[0])
print(songs[1])
```

As you can see, it's really pretty simple.  If you use the documentation 
provided in the library:

    pydoc libopensonic.connection

or the api docs on opensubsonic.netlify.app (listed above), you should be
able to make use of your server without too much trouble.

## Async/Sync Cohabitation ##

Adding the async impl along with a sync one was not done in the most
pythonic way and should be revisited to avoid some of the code
duplication. I will eventually get to it, but patches welcome!
jeeves-yeti-pyproject 1.0.3
Opinionated Jeeves plugin for Python projects.
Requires Python: <4.0,>=3.10

# jeeves-yeti-pyproject

This is my personal plugin for [`jeeves-shell`](https://github.com/jeeves-sh/jeeves-shell) that I use for my open source Python projects. If you wish to use it for your projects too, it can be added as easily as:

```shell
poetry add --group dev jeeves-yeti-pyproject
```

and then just run:

```shell
j
```

## Commands

```
╭─ Commands ─────────────────────────────────────────────────────────────────────────────────╮
│ clear-poetry-cache       Clear Poetry cache.                                               │
│ fmt                      Auto format code.                                                 │
│ lint                     Lint code.                                                        │
│ safety                   Check installed Python packages for vulnerabilities.              │
│ test                     Unit test code.                                                   │
╰────────────────────────────────────────────────────────────────────────────────────────────╯
```

## Features

* `lint`
  * Check Python typing with [`mypy`](https://mypy-lang.org),
  * Run [`ruff`](https://docs.astral.sh/ruff/) for fast linting,
  * Run [`wemake-python-stylguide`](https://github.com/wemake-services/wemake-python-styleguide) via flake8 against your code base;
  * All of these are applied **only to those files which were changed against `origin/master`**, making `j lint` legacy-friendly by default
* `fmt`
  * Format code using [`ruff format`](https://docs.astral.sh/ruff/formatter/);
  * Applied **only to those files which were changed against `origin/master`**, making `j fmt` legacy-friendly by default.
* `test`
  * Run `pytest` against `tests` directory with coverage enabled.

## Opinions

This plugin is very opinionated and reflects my own preferences of how I like my Python projects to be managed. Feel free to create your own plugins. [Mr Jeeves](https://github.com/jeeves-sh/jeeves-shell) is happy to make your life a little bit easier.