semvec/pypi-packages huggingface dataset:
frozenlake-demo 0.0.3
A minimal FrozenLake environment with custom BaseEnv
License: MIT
Requires Python: >=3.8

# FrozenLake Demo

A minimal, clean implementation of the FrozenLake environment, inspired by Gymnasium.

## Installation

You can install this package locally using pip:

```bash
pip install -e .
```

## Usage

```python
import gymnasium as gym
from frozenlake_demo import FrozenLakeEnv

# Initialize environment
env = FrozenLakeEnv(render_mode="human")
obs, info = env.reset(seed=42)

# Run a simple loop
for _ in range(10):
    action = env.action_space.sample()  # Random action
    obs, reward, terminated, truncated, info = env.step(action)
    
    if terminated or truncated:
        obs, info = env.reset()

env.close()
```

## Environment Details

- **Action Space**: Discrete(4) (Left=0, Down=1, Right=2, Up=3)
- **Observation Space**: Discrete(16) (Grid index 0-15)
- **Map**: 4x4 Grid with Start(S), Frozen(F), Hole(H), and Goal(G).
fastsnmp 0.16
SNMP poller oriented to poll bunch of hosts in short time. Package include poller and SNMP library
License: MIT
Keywords: SNMP poller parser library coder decoder

# fastsnmp
SNMP poller oriented to poll bunch of hosts in short time. Package include poller and SNMP coder/encoder library.

[Reference manual] (http://fastsnmp.readthedocs.org/)

Example:
```python
from fastsnmp import snmp_poller

hosts = ("127.0.0.1",)
# oids in group must be with same indexes
oid_group = {"1.3.6.1.2.1.2.2.1.2": "ifDescr",
             "1.3.6.1.2.1.2.2.1.10": "ifInOctets",
             }

community = "public"
snmp_data = snmp_poller.poller(hosts, [list(oid_group)], community)
for d in snmp_data:
    print ("host=%s oid=%s.%s value=%s" % (d[0], oid_group[d[1]], d[2], d[3]))
```
Output:
```
host=127.0.0.1 oid=ifInOctets.1 value=243203744
host=127.0.0.1 oid=ifDescr.1 value=b'lo'
host=127.0.0.1 oid=ifInOctets.2 value=1397428486
host=127.0.0.1 oid=ifDescr.2 value=b'eth0'
```
Type conversion:

| SNMP | Python |
| --- | --- |
| octetstring, ipaddress | bytes |
| null | None |
| objectid | str |
| counter32, unsigned32, gauge32, counter64, integer | int |
| noSuchInstance | None |
| noSuchObject | None |
| endOfMibView | None |

Notices:

- ipaddress can be converted to string using ``str(ipaddress.IPv4Address(b"\x01\x01\x01\x01"))`` or ``socket.inet_ntoa(b"\x01\x01\x01\x01")``

Another python SNMP libraries:

* [PySNMP](http://pysnmp.sourceforge.net/) - very good SNMP library
* [libsnmp](https://pypi.python.org/pypi/libsnmp) - SNMP coder/decoder (abandoned project)
* [Bindings to Net-SNMP](http://net-snmp.sourceforge.net/wiki/index.php/Python_Bindings)
yt-search-py 1.0.0
Lightweight YouTube search library with async support - Search for videos, channels, playlists and get playlist details
License: MIT
Requires Python: >=3.7
Keywords: youtube, search, youtube-search, playlist, async, youtube-api

# YT Search

A lightweight, modern YouTube search library with async/await support. Search for videos, channels, playlists, and retrieve complete playlist information with ease.

[![PyPI version](https://badge.fury.io/py/yt-search-lite.svg)](https://pypi.org/project/yt-search-lite/)
[![Python](https://img.shields.io/pypi/pyversions/yt-search-lite.svg)](https://pypi.org/project/yt-search-lite/)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

## Features

✨ **Search Functionality**
- 🎥 Search for videos with filters
- 👤 Search for channels
- 📝 Search for playlists
- 🔍 Custom search with sorting options
- 🔄 Pagination support

✨ **Playlist Features**
- 📋 Get full playlist information with videos
- ℹ️ Get playlist metadata only
- 🎬 Get playlist videos only
- ♾️ Pagination for large playlists (100+ videos)

✨ **Modern API**
- ⚡ Async/await support
- 🎯 Type hints
- 🚀 Fast and lightweight
- 🛡️ No API key required

## Installation

```bash
pip install yt-search
```

## Quick Start

### Search for Videos

```python
import asyncio
from ytSearch import VideosSearch

async def main():
    search = VideosSearch('Python tutorials', limit=5)
    result = await search.next()
    
    for video in result['result']:
        print(f"{video['title']} - {video['link']}")

asyncio.run(main())
```

### Get Playlist Information

```python
import asyncio
from ytSearch import Playlist

async def main():
    # Get full playlist with videos
    playlist = await Playlist.get('https://www.youtube.com/playlist?list=PLRBp0Fe2GpgmsW46rJyudVFlY6IYjFBIK')
    
    print(f"Playlist: {playlist['info']['title']}")
    print(f"Videos: {len(playlist['videos'])}")

asyncio.run(main())
```

## Requirements

- Python 3.7+
- httpx >= 0.28.1

## License

MIT License - see [LICENSE](LICENSE) file for details.
nostromo-core 0.1.0
Core domain logic for MU-TH-UR 6000 chatbot
License: MIT
Requires Python: >=3.11
Keywords: aliens, chatbot, llm, mother

# nostromo-core

Core domain logic for the MU-TH-UR 6000 chatbot. This package contains:

- **ChatEngine** - Main chat processing logic
- **Ports** - Abstract interfaces for LLM providers and memory stores
- **Adapters** - Implementations for Anthropic Claude and OpenAI GPT
- **Theme** - Colors, error messages, and system prompts

## Installation

```bash
# Core only
pip install nostromo-core

# With Anthropic support
pip install "nostromo-core[anthropic]"

# With OpenAI support
pip install "nostromo-core[openai]"

# All providers
pip install "nostromo-core[all]"
```

## Usage

```python
from nostromo_core import ChatEngine
from nostromo_core.adapters.anthropic import AnthropicProvider
from nostromo_core.adapters.memory import InMemoryStore

# Create engine with adapters
engine = ChatEngine(
    llm=AnthropicProvider(api_key="sk-..."),
    memory=InMemoryStore(),
)

# Chat
response = await engine.chat("session-1", "Hello, MOTHER.")

# Stream response
async for token in engine.chat_stream("session-1", "What is my mission?"):
    print(token, end="", flush=True)
```
nostromo-cli 0.1.0
MU-TH-UR 6000 Terminal Interface - Aliens-themed CLI chatbot
License: MIT
Requires Python: >=3.11
Keywords: aliens, chatbot, cli, mother, terminal, tui

# nostromo-cli

MU-TH-UR 6000 Terminal Interface - An Aliens-themed CLI chatbot with full-screen TUI.

## Installation

```bash
# With Anthropic (recommended)
pip install "nostromo-cli[anthropic]"

# With OpenAI
pip install "nostromo-cli[openai]"

# All providers
pip install "nostromo-cli[all]"
```

## Quick Start

```bash
# First run - configure your API keys
nostromo configure

# Launch the interface
nostromo

# Check status
nostromo status
```

## Features

- 🖥️ Full-screen terminal interface (like k9s)
- 💚 Authentic 1979 CRT aesthetic with phosphor green
- ⌨️ Typing effect for responses
- 🔐 Encrypted API key storage with master password
- ⚙️ Separate LLM and user configuration files
- 📜 Configurable chat history persistence
nostromo-api 0.1.0
MU-TH-UR 6000 REST API - Aliens-themed chatbot API server
License: MIT
Requires Python: >=3.11
Keywords: aliens, api, chatbot, fastapi, llm, mother

# nostromo-api

MU-TH-UR 6000 REST API - FastAPI server for the Aliens-themed chatbot.

## Installation

```bash
# With Anthropic (recommended)
pip install "nostromo-api[anthropic]"

# With OpenAI
pip install "nostromo-api[openai]"

# All providers
pip install "nostromo-api[all]"
```

## Quick Start

```bash
# Set your API key
export ANTHROPIC_API_KEY="sk-ant-..."

# Run the server
nostromo-api

# Or with uvicorn directly
uvicorn nostromo_api.main:app --reload
```

## API Endpoints

| Method | Endpoint | Description |
|--------|----------|-------------|
| POST | `/api/chat` | Send message, get full response |
| POST | `/api/chat/stream` | SSE streaming response |
| WS | `/ws/chat/{session_id}` | WebSocket bidirectional chat |
| POST | `/api/auth/token` | Get JWT token (login) |
| GET | `/api/sessions` | List user sessions |
| DELETE | `/api/sessions/{id}` | Delete session |
| GET | `/health` | Health check |
| GET | `/docs` | OpenAPI documentation |

## Authentication

Supports two authentication methods:

1. **JWT Token** (for web apps):
   ```
   Authorization: Bearer <token>
   ```

2. **API Key** (for integrations):
   ```
   X-API-Key: nst_<your-api-key>
   ```

## Environment Variables

| Variable | Description | Default |
|----------|-------------|---------|
| `ANTHROPIC_API_KEY` | Anthropic API key | - |
| `OPENAI_API_KEY` | OpenAI API key | - |
| `NOSTROMO_SECRET_KEY` | JWT signing key | Random |
| `NOSTROMO_API_KEYS` | Comma-separated API keys | - |
| `NOSTROMO_PROVIDER` | Default provider | anthropic |
| `NOSTROMO_MODEL` | Default model | claude-3-5-haiku-latest |