semvec/pypi-packages huggingface dataset:
fig-jam 0.1.0
Agnostic config parser and validator for Python applications.
Requires Python: >=3.8

# `fig-jam`

[![CI status](https://github.com/hanicinecm/fig-jam/actions/workflows/ci.yaml/badge.svg)](https://github.com/hanicinecm/fig-jam/actions/workflows/ci.yaml)
[![codecov](https://codecov.io/github/hanicinecm/fig-jam/graph/badge.svg?token=542NGCYIDW)](https://codecov.io/github/hanicinecm/fig-jam)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/fig-jam.svg)
[![PyPI](https://img.shields.io/pypi/v/fig-jam.svg)](https://pypi.org/project/fig-jam/)
[![Code style: Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/format.json)](https://github.com/astral-sh/ruff)
![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)

Single-call configuration loader that discovers, parses, validates, and documents
project settings with minimal boilerplate.

## Quick start

```python
from fig_jam import get_config

config = get_config(
    path="./config.yaml",                  # file or directory; defaults to ~
    section="database",                    # optional top-level key to extract
    validator={"host": str, "port": int},  # or list[str], dataclass, Pydantic
)

print(config)                              # {"host": "127.0.0.1", "port": 8050}
```

`get_config` returns validated data when exactly one candidate succeeds, otherwise
raises `ConfigError` with actionable guidance and a suggested config template.

## What it does

- Discovers config files when given a directory; chooses the sole candidate that
  passes validation, or asks you to disambiguate.
- Parses common formats: JSON; INI/CFG; TOML via `tomllib`/`tomli`; YAML via
  `pyyaml`. Files are decoded with BOM-aware UTF-8 fallback to ASCII/Latin-1/CP1252.
- Applies environment overrides declared on dataclass or Pydantic validators via
  `__env_overrides__ = {"field": "ENV_VAR"}` before validation.
- Validates payloads using:
  - `None`: return raw mapping.
  - `list[str]`: assert keys exist; `strict=True` (default) filters to those keys.
  - `dict[str, type]`: assert keys exist, coerce types, return filtered mapping.
  - Dataclass: coerce field types (including nested dataclasses/models) and
    instantiate.
  - Pydantic model: let Pydantic validate and instantiate.
- `strict` must stay `True` for dict/dataclass/Pydantic validators; may be set to
  `False` with a list validator to keep extra keys.

## Why it’s helpful

- Zero per-project parser setup—formats are auto-detected and optional
  dependencies are only required when their formats are present.
- Clear `ConfigError` messages capture discovery, parsing, overrides, and
  validation diagnostics so you know what to fix next.
- Built-in template rendering shows the expected shape (and env vars) for the
  current validator and file format.
create-agent-resources-repo 0.1.0
Create a personal agent-resources repository for Claude Code
Requires Python: >=3.10

# create-agent-resources-repo

Create a personal agent-resources repository for Claude Code.

```bash
uvx create-agent-resources-repo
```

With GitHub integration:

```bash
uvx create-agent-resources-repo --github
```

See [agent-resources](https://github.com/kasperjunge/agent-resources) for full documentation.
astrixlibrary 1.0.3.1
A python library for creating bots in AstrixRU.
Requires Python: >=3.8

# AstrixRU

Библиотека для создания своих ботов в AstrixRU. Как начать?
Для начала, зарегистрируйтесь на: https://astrixru.online/register
Затем, перейдите на страницу https://astrixru.online/bots, и создайте там своего бота.
Нажмите на кнопку "Информация" (расположена на карточке вашего только что созданного бота), и найдите значение "Токен". После этого нажмите Показать, и токен скопируется сам. Документация для создания бота:
https://astrixru.online/documentation
spotify-tools 0.0.1
Tools for interacting with the Spotify API.
Requires Python: >=3.9
Keywords: api, spotify, tools

# spotify-tools

A Python library for interacting with the Spotify API.

## Installation

```bash
pip install spotify-tools
```

## Features

- Simple client wrapper around `spotipy` with OAuth authentication
- Pydantic schemas for Spotify API responses
- Playlist management (create, update, get tracks)
- Track search with fuzzy matching support

## Usage

```python
from spotify_tools import Client, search_track_fuzzy, get_playlist_tracks

# Create a client (uses environment variables for credentials)
client = Client()

# Search for a track with fuzzy matching
track, score = search_track_fuzzy(client, "Song Title", "Artist Name")

# Get all tracks from a playlist
tracks = get_playlist_tracks(client, "playlist_id")
```

## Configuration

Set the following environment variables:

- `SPOTIFY_CLIENT_ID` - Your Spotify app client ID
- `SPOTIFY_CLIENT_SECRET` - Your Spotify app client secret
- `SPOTIFY_REDIRECT_URI` - OAuth redirect URI (default: `http://localhost:8080`)

## License

GPL-3.0-or-later