semvec/pypi-packages huggingface dataset:
ni.measurements.metadata.v1.client 1.0.0
gRPC Client for NI Metadata Store Service
License: MIT
Requires Python: <4.0,>=3.10
Keywords: metadata-store, client

# Table of Contents

- [Table of Contents](#table-of-contents)
- [About](#about)
  - [Operating System Support](#operating-system-support)
  - [Python Version Support](#python-version-support)

# About

`ni.measurements.metadata.v1.client` is a Python package that provides a gRPC client for the
NI Metadata Store Service, version 1. The corresponding service is defined in the
[ni.measurements.metadata.v1 package](https://github.com/ni/ni-apis/tree/main/ni/measurements/metadata/v1).

NI created and supports this package.

## Operating System Support

`ni.measurements.metadata.v1.client` supports Windows operating systems.

## Python Version Support

`ni.measurements.metadata.v1.client` supports CPython 3.10+.

## Installation

You can directly install the `ni.measurements.metadata.v1.client` package using `pip` or by listing it as a
dependency in your project's `pyproject.toml` file.
anki-utils 0.2.92
Python utilities for creating Anki flashcards. Designed for AI agent integration.
License: MIT
Requires Python: >=3.9

# anki-utils

Python utilities for creating Anki flashcards. Designed for AI agent integration.

## Install

```bash
pip install anki-utils
```

## Features

- **Card Generation**: Create `.apkg` files for 6 card types (Front-Back, Concept, Cloze, Image, Person, Image Occlusion)
- **Theme System**: 4 built-in themes (minimal, classic, high-contrast, calm)
- **Markdown Support**: Convert markdown formatting to Anki-compatible HTML
- **Input Validation**: Clear error messages for invalid card data
- **Image Occlusion**: OCR-based automatic region detection
- **Preview Assets**: React components for card preview
- **Agent-Friendly**: CLI commands for querying roadmap and changelog

## Quick Start

```bash
# Generate .apkg from JSON
echo '{"deck_name": "Test", "cards": [...]}' | anki-utils export-apkg --output deck.apkg

# Resolve relative media paths (image_path/photo_path) against a base directory
echo '{"deck_name": "Test", "cards": [...]}' | anki-utils export-apkg --output deck.apkg --base-path /path/to/project

# List available themes
anki-utils themes --list

# Get preview template
anki-utils asset preview-template

# Detect occlusion regions in an image
anki-utils occlusion-detect image.jpg --json
```

## For AI Agents

See **[AGENTS.md](AGENTS.md)** for complete context on working with this codebase.

```bash
anki-utils roadmap                    # Full roadmap
anki-utils changelog --latest         # Most recent changes
```

## Development

```bash
# Clone and install in dev mode
git clone https://github.com/Gilbetrar/anki-package.git
cd anki-package
pip install -e ".[dev]"

# Run tests
pytest -v

# Run with coverage
pytest --cov=anki_utils
```

## Repository Structure

```
anki-package/
├── AGENTS.md            # Context for AI coding agents
├── anki_utils/          # Published PyPI package
│   ├── exporter.py      # Core .apkg generation
│   ├── markdown.py      # Markdown to HTML conversion
│   ├── themes.py        # CSS theme definitions
│   ├── occlusion.py     # Image occlusion detection
│   ├── cli.py           # Command-line interface
│   ├── ROADMAP.md       # Development roadmap
│   └── CHANGELOG.md     # Version history
├── tests/               # Test suite (pytest)
└── .github/workflows/   # CI/CD (runs tests on push/PR)
```

## License

MIT