semvec/pypi-packages huggingface dataset:
urigui 2.0.1
Utility CLI for submitting solutions to URI Online Judge.
License: Apache 2.0

[![Build Status](https://travis-ci.org/vasi/pixz.svg?branch=master)](https://vininjr.github.io)
# URI Online Judge Command Line Interface
Utility CLI for submitting solutions to URI Online Judge

### Install:
```
  pip install -U urigui
  or
  pip3 install -U urigui
```

### Usage:
  - uri login
  - uri set_language
  - uri submit <solution_path> <problem_id>
  - uri live

### Arguments:
```
    <solution_path>     Path to the file containing to solution.
    <problem_id>        URI Online Judge's problem ID
```

### Example:
```
uri submit /home/USER/codes/problem2010.cpp 2010
```

### Language Id's:

| Id     | Name |
| ---      | ---       |
|1 | C|
|2 | C++|
|3 | Java|
|4 | Python|
|5 | Python 3|
|6 | Ruby|
|7 | C#|
|8 | Scala|
|9 | Lua|
|10 | Javascript|
|11 | Java 8|
|12 | Go|
|14 | C99|
|15 | Kotlin|
|16 | C++17|
|17 | Haskell|
|18 | Ocaml|
|19 | Pascal|
|20 | Python 3.8|
|21 | Java 14|

### Attribution

This Code is adapted from the [Rafael Telles][homepage], version 0.2.0,
available at [PyPI][version]

[homepage]: https://github.com/rafael-telles/uricli
[version]: https://pypi.org/project/uricli/
vernacular-ai-speech 0.1.2
Vernacular Speech API python client
License: Apache 2.0
Requires Python: >=3.5

# Python Speech to Text SDK

Python SDK for vernacular.ai speech to text APIs. Go [here](https://github.com/Vernacular-ai/speech-recognition) for detailed product documentation.

## Installation
To install this sdk run:

```shell
pip install vernacular-ai-speech
```

#### Supported Python Versions

Python >= 3.5

## Example Usage

```python
from vernacular.ai import speech
from vernacular.ai.speech import enums, types


def sample_recognize(access_token, file_path):
    """
    Args:
        access_token Token provided by vernacular.ai for authentication
        file_path Path to audio file e.g /path/audio_file.wav
    """
    speech_client = speech.SpeechClient(access_token)

    audio = types.RecognitionAudio(
        content = open(file_path, "rb").read()
    )

    config = types.RecognitionConfig(
        encoding=enums.RecognitionConfig.AudioEncoding.LINEAR16,
        sample_rate_hertz=8000,
        language_code = "hi-IN",
    )

    response = speech_client.recognize(audio=audio, config=config)

    for result in response.results:
        alternative = result.alternatives[0]
        print("Transcript: {}".format(alternative.transcript))
```

To see more examples, go to [samples](https://github.com/Vernacular-ai/speech-recognition/tree/master/python/samples).