semvec/pypi-packages huggingface dataset:
otelme 0.0.4
otelme pronounced "Oh, tell me"
Requires Python: >=3.8
Keywords: instrumentation,opentelemetry,otel,tracing,observability

# otelme - pronounced "Oh, tell me"

A low-friction OpenTelemetry wrapper for Python apps. It comes with sugar over basic spanning and the `tell` magic receiver.

## Usage

Use context managers or decorators to automatically create scoped spans:

```python
with telme.tell('update_user_record'):
    telme.tell('a') | 'b'
    ...

@telme.tell
def myfunc():
    ...

@telme.tell('different_name')
def myfunc():
    ...
```

Save the user friend count before adding to it and saving it to a variable

```python
new_count = telme.tell('friends') @ len(user.friends) + 1
```

Save the result of `count + 1` as the attribute 'newcount' on the current span

```python
telme.tell('newcount') + count
new_count = telme.tell('newcount') + 1
```

Use a splat (`*`) operator to add a whole dict a JSON attribute on the current trace

```python
telme.tell('explosion') * {'bang': 'loud', 'flame': 'big'}
# adds span attr: {'explosion': '{"bang": "loud", "flame": "big"}'
```

Use double-splat (`**`) operator to hoist a dict by its keys on the current trace

```python
telme.tell('explosion') ** {'bang': 'loud', 'flame': 'big'}
# adds span attrs: {'explosion.bang': 'loud', 'explosion.flame': 'big'}
```

Use `notify` with the splat (`*`) operator to add a dict as an event on the current trace

```python
telme.notify('explosion') ** {'bang': 'loud', 'flame': 'big'}
# adds new event `explosion` with attrs: {'bang': 'loud', 'flame': 'big'}
```

Inspired by [pipe](https://github.com/JulienPalard/Pipe), [q](https://github.com/zestyping/q), and the `rollup_field` support in [Honeycomb's beeline](https://docs.honeycomb.io/getting-data-in/python/beeline/).

## Contributing

All help is welcome, especially help understanding how `otelme` is used and what other use cases we can help with. Not all pull requests will be accepted, before opening a PR with a feature please open an issue to discuss it to avoid doing work that can't be upstreamed.

## License

`otelme` is available under the MIT license, see `LICENSE` for details.
spoonfed-commonvoice 0.0.6
CLI to generate Anki notes from Mozilla CommonVoice Datasets for language study

# Spoonfed CommonVoice

Command line interface useful for foreign language learning that generates flash cards to practice reading and listening comprehension from [Mozilla's CommonVoice](https://commonvoice.mozilla.org/en/datasets) multi-language voice dataset and creates notes that sync with [Anki](https://apps.ankiweb.net/).

While some apps already feature flash cards that have extensive audio and transcription data, their data doesn't include many languages and their process of curating datasets is expensive. CommonVoice has more data in more languages and will continue to grow.

## How to use these cards
Each card pairs speech audio with the transcript of what was said (validated by the contributors to the CommonVoice project).

Improve listening comprehension by reading the transcription only after listening to the audio and filling in the [cloze deletion](https://www.ollielovell.com/edtech/anki3/) card.


Improve pronunciation by reading a sentence out loud and then listen to speech.

## Features

- Syncs to Anki with AnkiConnect
- Cards are ordered such that only one new word is introduced at a time
- Separate deck for listening practice includes cloze deletions

## How to Use pip package (main is not a release branch)

1. Run `pip install spoonfed-commonvoice`
1. Download and unzip CommonVoice file
1. Setup [Anki Connect Plugin](https://ankiweb.net/shared/info/2055492159) on Desktop Anki installation
1. Create CommonVoice reading and listening decks in Anki
    - `CommonVoice note` with fields `Sentence, Audio, Translate Link`
    - `CommonVoice cloze note` with fields `Audio, Sentence, Translate Link`


1. Leave Anki open (so that AnkiConnect server is running)
1. Run `cva` and answer config questions in prompt