semvec/pypi-packages huggingface dataset:
seagrin 0.1.1
A Python wrapper for the Metron API.
Requires Python: >=3.10
Keywords: comic, comics, metadata

# Seagrin

[![PyPI - Python](https://img.shields.io/pypi/pyversions/Seagrin.svg?logo=Python&label=Python&style=flat-square)](https://pypi.python.org/pypi/Seagrin/)
[![PyPI - Status](https://img.shields.io/pypi/status/Seagrin.svg?logo=Python&label=Status&style=flat-square)](https://pypi.python.org/pypi/Seagrin/)
[![PyPI - Version](https://img.shields.io/pypi/v/Seagrin.svg?logo=Python&label=Version&style=flat-square)](https://pypi.python.org/pypi/Seagrin/)
[![PyPI - License](https://img.shields.io/pypi/l/Seagrin.svg?logo=Python&label=License&style=flat-square)](https://opensource.org/licenses/MIT)

[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-informational?logo=pre-commit&style=flat-square)](https://github.com/pre-commit/pre-commit)
[![Ruff](https://img.shields.io/badge/ruff-enabled-informational?logo=ruff&style=flat-square)](https://github.com/astral-sh/ruff)

[![status-badge](https://ci.codeberg.org/api/badges/16378/status.svg)](https://ci.codeberg.org/repos/16378)
[![Read the Docs](https://img.shields.io/readthedocs/seagrin?label=Read-the-Docs&logo=Read-the-Docs)](https://seagrin.readthedocs.io/en/stable)

A [Python](https://www.python.org/) wrapper for the [Metron API](https://metron.cloud/).

## Installation

```sh
pip install seagrin
```

### Example Usage

```python
from datetime import timedelta

from seagrin.metron import Metron
from seagrin.cache import SQLiteCache, CachePolicy

policy = Cache(percent=0.1, expiry=timedelta(days=14))
# Policy defaults to 10% and 14 days
session = Metron(username="Username", password="Password", cache=SQLiteCache(), policy=policy)

# Get all Marvel comics for the week of 2026-01-19
this_week = session.list_issues(
    params={
        "store_date_range_after": "2026-01-19",
        "store_date_range_before": "2026-01-26",
        "publisher_name": "marvel",
    }
)

# Print the results
for iss in this_week:
    print(f"{iss.id} {iss.issue_name}")

# Retrieve the detail for an individual issue
asm_68 = session.issue(issue_id=31660)

# Print the issue Description
print(asm_68.desc)
```

## Documentation

- [Seagrin](https://seagrin.readthedocs.io/en/stable)
- [Metron API](https://metron.cloud/docs/)

## Bugs/Requests

Please use the [issue tracker](https://codeberg.org/BuriedInCode/Seagrin/issues) to submit bugs or request features.

## Socials

[![Social - Fosstodon](https://img.shields.io/badge/%40BuriedInCode-teal?label=Fosstodon&logo=mastodon&style=for-the-badge)](https://fosstodon.org/@BuriedInCode)
[![Social - Matrix](https://img.shields.io/matrix/The-Dev-Environment:matrix.org?label=The-Dev-Environment&logo=matrix&style=for-the-badge)](https://matrix.to/#/#The-Dev-Environment:matrix.org)
virtualenv 20.38.0
Virtual Python Environment builder
Requires Python: >=3.8
Keywords: environments, isolated, virtual

virtualenv.config.cli.parser.VirtualEnvOptions# virtualenv

[![PyPI](https://img.shields.io/pypi/v/virtualenv?style=flat-square)](https://pypi.org/project/virtualenv)
[![PyPI - Implementation](https://img.shields.io/pypi/implementation/virtualenv?style=flat-square)](https://pypi.org/project/virtualenv)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/virtualenv?style=flat-square)](https://pypi.org/project/virtualenv)
[![Documentation](https://readthedocs.org/projects/virtualenv/badge/?version=latest&style=flat-square)](http://virtualenv.pypa.io)
[![Discord](https://img.shields.io/discord/803025117553754132)](https://discord.gg/pypa)
[![Downloads](https://static.pepy.tech/badge/virtualenv/month)](https://pepy.tech/project/virtualenv)
[![PyPI - License](https://img.shields.io/pypi/l/virtualenv?style=flat-square)](https://opensource.org/licenses/MIT)
[![check](https://github.com/pypa/virtualenv/actions/workflows/check.yaml/badge.svg)](https://github.com/pypa/virtualenv/actions/workflows/check.yaml)

A tool for creating isolated `virtual` python environments.

- [Installation](https://virtualenv.pypa.io/en/latest/installation.html)
- [Documentation](https://virtualenv.pypa.io)
- [Changelog](https://virtualenv.pypa.io/en/latest/changelog.html)
- [Issues](https://github.com/pypa/virtualenv/issues)
- [PyPI](https://pypi.org/project/virtualenv)
- [Github](https://github.com/pypa/virtualenv)

## Code of Conduct

Everyone interacting in the virtualenv project's codebases, issue trackers, chat rooms, and mailing lists is expected to
follow the [PSF Code of Conduct](https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md).
sphinx-codelinks 1.2.0
Fast Source Code Traceability for Sphinx-Needs
Requires Python: >=3.12

# Sphinx CodeLinks

A Sphinx extension for discovering, linking, and documenting source code across projects.

## Features

- **Source Discovery**: Automatically discover source files in your project
- **Analyse**: Parse source codes and extract specified markers with their metadata
- **Code Linking**: Create intelligent links between code elements
- **Sphinx Integration**: Seamless integration with existing Sphinx documentation

## Quick Start

```bash
pip install sphinx-codelinks
```

Add to your `conf.py`:

```python
extensions = ['sphinx_needs', 'sphinx_codelinks']
src_trace_config_from_toml = "codelinks.toml"
```

## Documentation

Full documentation: https://codelinks.useblocks.com

## Components

- **Source Discovery** ([`src/sphinx_codelinks/source_discover`](src/sphinx_codelinks/source_discover)): Code analysis and discovery
- **Analyse** ([`src/sphinx_codelinks/analyse`](src/sphinx_codelinks/analyse)): Documentation generation
- **Sphinx Extension** ([`src/sphinx_codelinks/sphinx_extension`](src/sphinx_codelinks/sphinx_extension)): Sphinx integration
- **Command Line** ([`src/sphinx_codelinks/cmd.py`](src/sphinx_codelinks/cmd.py)): CLI interface

## Development

See [Development Guide](docs/source/development/) for contributing guidelines.
ollama-haystack 6.1.0
An integration between the Ollama LLM framework and Haystack
Requires Python: >=3.10

# ollama-haystack

[![PyPI - Version](https://img.shields.io/pypi/v/ollama-haystack.svg)](https://pypi.org/project/ollama-haystack)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ollama-haystack.svg)](https://pypi.org/project/ollama-haystack)

- [Integration page](https://haystack.deepset.ai/integrations/ollama)
- [Changelog](https://github.com/deepset-ai/haystack-core-integrations/blob/main/integrations/ollama/CHANGELOG.md)

---

## Contributing

Refer to the general [Contribution Guidelines](https://github.com/deepset-ai/haystack-core-integrations/blob/main/CONTRIBUTING.md).

To run integration tests locally, you need to run Ollama and pull the models referenced in the [workflow file](https://github.com/deepset-ai/haystack-core-integrations/blob/main/.github/workflows/ollama.yml).
km-num2text 1.0.1
This is a small project built for converting from number (roman or khmer) to text based.
Requires Python: >=3.10

# Khmer Number to Text
A Python library for normalizing and converting Khmer numbers to text, with built-in support for translation.

## Features
- Number Normalization: Clean and standardize Khmer digit strings (១០ -> ដប់).

## Installation
Install the package via pip:

```Bash
pip install km-num2text
```

## Quick Start
The num_normalize function cleans up input strings to ensure they are in a standard format (all numbers are converted to text-based).

```python
from km_num2text import num_normalize

input = "ឆ្នាំ២០២៦ គឺជាឆ្នាំមួយនៅក្នុងសតវត្សទី២១។"

normalized = num_normalize(input)

# ឆ្នាំពីរពាន់ម្ភៃប្រាំមួយ គឺជាឆ្នាំមួយនៅក្នុងសតវត្សទីម្ភៃមួយ។
```
pythonkuma 0.5.0
Simple Python wrapper for Uptime Kuma
Requires Python: >=3.12

# pythonkuma

Simple Python wrapper for Uptime Kuma

[![build](https://github.com/tr4nt0r/pythonkuma/workflows/Build/badge.svg)](https://github.com/tr4nt0r/pythonkuma/actions)
[![codecov](https://codecov.io/gh/tr4nt0r/pythonkuma/graph/badge.svg?token=YmUNsziQH0)](https://codecov.io/gh/tr4nt0r/pythonkuma)
[![PyPI version](https://badge.fury.io/py/pythonkuma.svg)](https://badge.fury.io/py/pythonkuma)
![PyPI - Downloads](https://img.shields.io/pypi/dm/pythonkuma?style=flat&label=pypi%20downloads)
[![GitHub Sponsor](https://img.shields.io/badge/GitHub-Sponsor-blue?logo=github)](https://github.com/sponsors/tr4nt0r)

---

## 📖 Documentation

- **Full Documentation**: [https://tr4nt0r.github.io/pythonkuma](https://tr4nt0r.github.io/pythonkuma)
- **Source Code**: [https://github.com/tr4nt0r/pythonkuma](https://github.com/tr4nt0r/pythonkuma)

---

## 📦 Installation

```shell
pip install pythonkuma
```

## Example

```python
import asyncio

import aiohttp

from pythonkuma import UptimeKuma

URL = "https://uptime.exampe.com"
API_KEY = "api_key"


async def main():

    async with aiohttp.ClientSession() as session:
        uptime_kuma = UptimeKuma(session, URL, API_KEY)
        response = await uptime_kuma.metrics()
        print(response)


asyncio.run(main())
```

---

## 🛠 Contributing

Contributions are welcome! To contribute:

1. Fork the repository.
2. Create a new branch.
3. Make your changes and commit them.
4. Submit a pull request.

Make sure to follow the [contributing guidelines](CONTRIBUTING.md).

---

## 📜 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

---

## ❤️ Support

If you find this project useful, consider [buying me a coffee ☕](https://www.buymeacoffee.com/tr4nt0r) or [sponsoring me on GitHub](https://github.com/sponsors/tr4nt0r)!

---

## Credit

This library is a fork of **pyuptimekuma** by [@jayakornk](https://github.com/jayakornk)
refast 0.0.4
Python + React UI framework for building reactive web applications
Requires Python: >=3.11

# Refast

**Python + React UI Framework for Building Reactive Web Applications**

Refast is a framework that enables building reactive web applications with Python-first development. It uses FastAPI for the backend and React with shadcn/ui for the frontend.

## Features

- **Python-First Development**: Build your UI logic entirely in Python
- **Reactive Components**: Real-time updates via WebSocket
- **shadcn/ui Integration**: Beautiful, accessible components out of the box
- **FastAPI Integration**: Plug into any existing FastAPI application
- **Type Safety**: Full type hints and Pydantic validation throughout

## Installation

```bash
pip install refast
```

## Quick Start

```python
from refast import RefastApp, Context

ui = RefastApp(title="My App")

@ui.page("/")
def home(ctx: Context):
    return Container(
        Text("Hello, World!"),
        Button("Click me", on_click=ctx.callback(handle_click))
    )

async def handle_click(ctx: Context):
    await ctx.show_toast("Button clicked!")

# Mount to FastAPI
from fastapi import FastAPI
app = FastAPI()
app.include_router(ui.router, prefix="/ui")
```

## Development

```bash
# Install with dev dependencies
pip install -e ".[dev]"

# Run tests
pytest tests/

# Run linting
ruff check src/
```

## License

MIT
volt-client 1.0.0
Python client for Volt Power Analytics API - Access energy market time series data
Requires Python: >=3.10
Keywords: energy, api, time-series, power, market, data

# Volt Client

Python client for the Volt Power Analytics API - Access energy market time series data.

## Installation

```bash
pip install volt-client
```

## Quick Start

```python
import os
from volt_client import VoltClient

# Initialize with your API key
client = VoltClient(api_key=os.environ["VOLT_API_KEY"])

# Get spot prices
df = client.get_actual(
    "price spot no1 nordpool eur mwh min60 actual",
    start_date="2024-01-01",
    end_date="2024-12-31"
)
print(df.head())
```

## Features

- Simple Python interface for Volt Power Analytics API
- Support for historical data, forecasts, and forward curves
- Bulk queries for efficient data retrieval
- Timezone conversion and server-side aggregation
- Returns pandas DataFrames (or polars for better performance)

## Usage Examples

### Historical Data

```python
# Single curve
df = client.get_actual(
    "price spot no1 nordpool eur mwh min60 actual",
    start_date="2024-01-01",
    end_date="2024-12-31",
    tz="Europe/Oslo",
    agg="daily",
    agg_func="avg"
)

# Multiple curves (bulk query - much faster)
df = client.get_actual(
    ["price spot no1...", "price spot no2...", "price spot no3..."],
    start_date="2024-01-01",
    end_date="2024-12-31"
)
```

### Forecast Data

```python
df = client.get_fcast(
    "price no1 volt emps mid-term fcast",
    start_date="2025-01-01",
    end_date="2025-12-31",
    freq="weekly"  # Returns percentiles: avg, p10, p25, p50, p75, p90
)
```

### Forward Curves

```python
df = client.get_closing("price future no1 nasdaq eur mwh close")
```

### Performance Tips

For large datasets, use polars mode (10x faster):

```python
client = VoltClient(api_key="...", use_polars=True)
df = client.get_actual(...)  # Returns polars DataFrame
```

## API Reference

| Method | Description |
|--------|-------------|
| `get_actual(curve, start, end)` | Get historical/actual data |
| `get_fcast(curve, start, end)` | Get forecast data |
| `get_closing(curve)` | Get forward curve prices |
| `search(area=None)` | Search available curves |
| `get_areas()` | List accessible areas |
| `get_groups()` | List accessible groups |

## Documentation

Full documentation: https://github.com/Volt-Power-Analytics/volt-api/tree/main/docs

## Support

Contact: support@voltanalytics.no
libreria-cafe-edd-db 1.0.3
Librería para manejar una base de datos relacional SQLite entre todos los módulos del proyecto final de Estructuras de Datos de manera consistente.
Requires Python: >=3.10

# libreria-cafe-edd-db

Librería para manejar una base de datos relacional SQLite entre todos los módulos del proyecto final de Estructuras de Datos de manera consistente.

## Instalación

```bash
pip install libreria-cafe-edd-db
```

## Descripción

Esta biblioteca ofrece una colección completa de modelos SQLAlchemy diseñados para facilitar la gestión de una librería-café. Incluye modelos para clientes, inventario de libros, consumo de café, membresías, facturación, proveedores y más.

## Inicio Rápido

```python
from datetime import date, timedelta
from libreria_cafe_edd_db import crear_sesion, establecer_logs, Membresia

# Habilitar o deshabilitar los logs de las queries de la base de datos
establecer_logs(True)

# Crear una sesión de base de datos
session = crear_sesion()

# Crear una nueva membresía
membresia = Membresia(
    fecha_inicio=date.today(),
    fecha_vencimiento=date.today() + timedelta(days=365),
    cantidad_libros=10,
    descuento_cafe=15,
    monto=50000,
    cantidad_cafe_gratis=5,
    tiempo_mesa=120
)

# Guardar en la base de datos
session.add(membresia)
session.commit()

# Cerrar la sesión una vez que hayas terminado
session.close()
```

## Modelos Disponibles

### Modelos Principales

- **Cliente**: Gestión de información de clientes
- **Libro**: Catálogo de libros disponibles
- **Membresia**: Planes de membresía para clientes
- **Venta**: Registro de transacciones de venta
- **Factura**: Generación y gestión de facturas

### Consumo

- **ConsumoCafe**: Registro de consumo de café
- **ConsumoLibro**: Registro de consumo/préstamo de libros

### Inventario y Proveedores

- **Proveedor**: Información de proveedores
- **OrdenReposicion**: Órdenes de reposición de inventario
- **DetallesReposicion**: Detalles de las órdenes de reposición

### Otros

- **RecomendacionLibro**: Sistema de recomendaciones de libros

### Enumeraciones

- **MetodoPago**: Métodos de pago disponibles
- **TipoVenta**: Tipos de venta (presencial, en línea, etc.)