semvec/pypi-packages huggingface dataset:
modusa 6.3.7
A modular signal analysis python library.
License: MIT
Requires Python: >=3.11

# modusa

`modusa` is a Python library providing utility tools for research.

It offers purpose-built tools especially for the audio domain but not limited to. It combines **audio loading**, **annotation handling**, **visualization**, and **analysis** in a unified, easy-to-use API. `modusa` simplifies common workflows so you can focus on **experimentation and insight**, not boilerplate code.

## Key Features

- **Flexible Audio Loader**
Load audio in multiple formats (`WAV`, `MP3`, `FLAC`, `M4A`, `AAC`, `OPUS`, `AIFF`) — even directly from YouTube links.

- **Unified Annotation Interface**
Work with `.txt` (Audacity labels) and `.ctm` (ASR/FA outputs) annotations seamlessly. `TextGrid` support coming soon.

- **Modular Plotter**
Create time-aligned visualizations combining waveforms, annotations, and spectrograms with minimal code.  
Supports multi-tier figures, dark mode, legends, tier IDs, and grouped color patterns.

- **Interactive Audio Player**
Play audio with visible annotation labels directly inside notebooks.

- **Built-in Audio Recorder**
Capture and instantly analyze microphone input from within Jupyter.

- **Analytical Tools**
Includes quick plotting utilities like distribution (hill) plots for comparing numerical features.

## Installation

> modusa is under active development. You can install the latest version via:

```
pip install modusa
```

## Tests

```
pytest tests/
```

## Status

modusa is in **early alpha**. Expect rapid iteration, breaking changes, and big ideas.  
If you like the direction, consider ⭐ starring the repo and opening issues or ideas.


## Few useful command for developers

To push doc changes
```
ghp-import -n -p -f docs/build/html
```

To create a dist
```
pdm build
```

To upload on pypi
```
twine upload dist/*
```

## About

**modusa** is developed and maintained by [meluron](https://www.github.com/meluron),

---

## License

MIT License. See `LICENSE` for details.

---

## Contributions

Pull requests, ideas, and discussions are welcome!  
No matter which domain you are in, if you work with any signal, we'd love your input.
reflexio-client 0.1.0.2
A Python client for the Reflexio API
License: MIT
Requires Python: <4.0,>=3.10

# /user_profiler/reflexio/reflexio_client
Description: Python SDK for remote async access to Reflexio API

## Main Entry Points

- **Client**: `reflexio/client.py` - `ReflexioClient`
- **Utils**: `reflexio/client_utils.py` - Helper utilities

## Purpose

1. **Remote API access** - Async SDK for applications to call Reflexio backend
2. **Authentication** - Handle login and Bearer token management
3. **Type-safe interface** - Auto-parsing responses into Pydantic models

## API Methods

**Authentication:**
- `login(email, password)` - Get auth token

**Publishing:**
- `publish_interaction(request_id, user_id, interactions, source, agent_version)` - Publish interactions (triggers profile/feedback/evaluation)

**Profiles:**
- `search_profiles(request)` - Semantic search
- `get_profiles(request)` - Get all for user
- `get_all_profiles(limit, status_filter)` - Get all profiles across all users
- `delete_profile(user_id, profile_id, search_query)` - Delete profiles
- `get_profile_change_log()` - Get history
- `rerun_profile_generation(request)` - Regenerate profiles from interactions

**Interactions:**
- `search_interactions(request)` - Semantic search
- `get_interactions(request)` - Get all for user
- `delete_interaction(user_id, interaction_id)` - Delete interaction

**Requests:**
- `get_requests(request)` - Get request groups with associated interactions
- `delete_request(request_id)` - Delete a request and its interactions
- `delete_request_group(request_group)` - Delete all requests in a group

**Feedback:**
- `get_raw_feedbacks(request)` - Raw feedback from interactions
- `add_raw_feedback(request)` - Add raw feedback directly to storage
- `get_feedbacks(request)` - Aggregated feedback with status
- `rerun_feedback_generation(request)` - Regenerate feedback for agent version
- `run_feedback_aggregation(request)` - Aggregate raw feedbacks into insights

**Evaluation:**
- `get_agent_success_evaluation_results(request)` - Get agent success evaluation results

**Configuration:**
- `set_config(config)` - Update org config (extractors, evaluators, storage)
- `get_config()` - Get current config

## Architecture Pattern

- **All async** - Uses `aiohttp` for HTTP requests
- **Type-safe** - Pydantic models from `reflexio_commons`
- **Auto-parsing** - Responses → Pydantic models
- **Flexible input** - Accepts Pydantic models or dicts
- **Bearer auth** - Automatic token handling