semvec/pypi-packages huggingface dataset:
lazy-loading 0.2.0
A simple lazy module loader for python
Requires Python: >=3.10
Keywords: lazy, loading, module

# `lazy-loading`

`lazy-loading` is a simple lazy module loader for python.

## Usage:
First, you'll need to `import lazy-loading`.

To lazily load a package, use:
```python
package = lazy-loading.lazyload("package")
```
You can lazily load submodules of your package:
```python
lazy-loading.lazyload("mypacakge.submodule")
```
> [!IMPORTANT]
> Relative imports (e.g. `.submodule`) are **not** supported. You need to use absolute module paths.

### IDE autocompletion & type-checking
To get type-checking and autocompletion, you need to import all lazy-loaded packages
if `typing.TYPE_CHECKING` is `True`:
```python
from lazy-loading import lazyload
from typing import TYPE_CHECKING

lazyload("package1")
lazyload("package2")

if TYPE_CHECKING:
    import package1
    import package2
```
This will only run if a type-checker or linter is checking your code and will not cause packages to not lazy load in normal contexts.

## Limitations:
### Partial lazy loading
Partial lazy loading (e.g. `from package import symbol`) is not supported.
Accessing an attribute or function will automatically import the entire module.

### Relative imports
As mentioned previously, relative imports are not supported.
You can lazy-load modules in your script's directory:
```python
lazy-loading.lazyload("module")
```
If you are building a package:
```
lazy-loading.lazyload("package.module")
```

### Lazily-loaded module dependencies
Imports called by lazily-loaded modules will not be lazy-loaded (unless the module uses lazy loading itself.)

### Global name injection
Global name injection is not supported. You'll need to set a variable to the returned lazy-loaded package.
It will replace itself with the lazy-loaded package when a symbol is accessed.
- Removed global name injection because it doesn't work in most contexts and can cause a security risk

**Full Changelog**: https://github.com/yesser-studios/lazy-loading/commits/0.2.0
mcp-server-openai-bridge 1.0.0
MCP Bridge for OpenAI GPT/o1 - Use OpenAI from any MCP-compatible AI
Requires Python: >=3.10
Keywords: ai, bridge, gpt, humotica, mcp, o1, openai

# MCP Server OpenAI Bridge

**Use OpenAI GPT and o1 from any MCP-compatible AI client.**

Part of the HumoticaOS "MCP for Any AI" initiative - no vendor lock-in, your choice of AI, same powerful tools.

## Why?

Different AIs have different strengths:
- **o1** excels at deep reasoning, complex math, and logical analysis
- **GPT-4** is great for creative writing and general tasks
- **GPT-4o** offers fast, multimodal capabilities

With this bridge, any MCP client can leverage OpenAI's unique capabilities.

## Installation

```bash
pip install mcp-server-openai-bridge
```

## Configuration

Add to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "openai": {
      "command": "python3",
      "args": ["-m", "mcp_server_openai_bridge"],
      "env": {
        "OPENAI_API_KEY": "your-api-key-here",
        "OPENAI_MODEL": "gpt-4o"
      }
    }
  }
}
```

## Available Tools

| Tool | Description |
|------|-------------|
| `gpt_chat` | General chat with GPT-4/4o |
| `o1_reason` | Deep reasoning with o1 |
| `gpt_summarize` | Summarize long content |
| `gpt_code_review` | Code review and analysis |

## Examples

**Deep Reasoning with o1:**
```
o1_reason(
    problem="Prove that the square root of 2 is irrational",
    model="o1-preview"
)
```

**Code Review:**
```
gpt_code_review(
    code="def sort(arr): return sorted(arr)",
    language="python",
    focus="performance"
)
```

## Part of HumoticaOS

This is one of our MCP bridges:
- **mcp-server-ollama-bridge** - Local LLM Bridge
- **mcp-server-gemini-bridge** - Google Gemini Bridge
- **mcp-server-openai-bridge** - OpenAI GPT Bridge

And our core MCP servers:
- **mcp-server-rabel** - AI Memory & Communication
- **mcp-server-tibet** - Trust & Provenance
- **mcp-server-inject-bender** - Security Through Absurdity

## License

MIT - By Claude & Jasper from HumoticaOS, Kerst 2025

*One love, one fAmIly*
mcp-server-gemini-bridge 1.0.0
MCP Bridge for Google Gemini - Use Gemini from any MCP-compatible AI
Requires Python: >=3.10
Keywords: ai, bridge, gemini, google, humotica, mcp

# MCP Server Gemini Bridge

**Use Google Gemini from any MCP-compatible AI client.**

Part of the HumoticaOS "MCP for Any AI" initiative - no vendor lock-in, your choice of AI, same powerful tools.

## Why?

Different AIs have different strengths. Gemini excels at:
- Visual understanding and image analysis
- Creative brainstorming
- Broad knowledge synthesis
- Cross-checking and validation

With this bridge, Claude can ask Gemini for a second opinion. Or any MCP client can leverage Gemini's unique capabilities.

## Installation

```bash
pip install mcp-server-gemini-bridge
```

## Configuration

Add to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "gemini": {
      "command": "python3",
      "args": ["-m", "mcp_server_gemini_bridge"],
      "env": {
        "GEMINI_API_KEY": "your-api-key-here",
        "GEMINI_MODEL": "gemini-2.0-flash-exp"
      }
    }
  }
}
```

## Available Tools

| Tool | Description |
|------|-------------|
| `gemini_chat` | General chat with Gemini |
| `gemini_analyze_image` | Visual analysis of images |
| `gemini_brainstorm` | Creative idea generation |
| `gemini_cross_check` | Review and validate content |

## Examples

**AI-to-AI Cross-Validation:**
```
gemini_cross_check(
    content="The Earth is the third planet from the Sun...",
    focus="accuracy"
)
```

**Creative Brainstorming:**
```
gemini_brainstorm(
    topic="sustainable packaging solutions",
    constraints="must be biodegradable and cost-effective"
)
```

## Part of HumoticaOS

This is one of our MCP bridges:
- **mcp-server-ollama-bridge** - Local LLM Bridge
- **mcp-server-gemini-bridge** - Google Gemini Bridge
- **mcp-server-openai-bridge** - OpenAI GPT Bridge

And our core MCP servers:
- **mcp-server-rabel** - AI Memory & Communication
- **mcp-server-tibet** - Trust & Provenance
- **mcp-server-inject-bender** - Security Through Absurdity

## License

MIT - By Claude & Jasper from HumoticaOS, Kerst 2025

*One love, one fAmIly*
mcp-server-ollama-bridge 1.0.0
MCP Bridge for Ollama - Use local LLMs from any MCP-compatible AI
Requires Python: >=3.10
Keywords: ai, bridge, humotica, llm, local, mcp, ollama

# MCP Server Ollama Bridge

**Use local Ollama models from any MCP-compatible AI client.**

Part of the HumoticaOS "MCP for Any AI" initiative - no vendor lock-in, your choice of AI, same powerful tools.

## Why?

MCP (Model Context Protocol) lets AI assistants use external tools. But what if you want to use Ollama's local models as part of your workflow? This bridge exposes Ollama to any MCP client.

**Use cases:**
- Let Claude Desktop query your local Qwen/Llama for sensitive data
- Have Gemini use your local models for embeddings
- Run hybrid workflows: cloud AI for creativity, local for privacy

## Installation

```bash
pip install mcp-server-ollama-bridge
```

## Configuration

Add to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "ollama": {
      "command": "python3",
      "args": ["-m", "mcp_server_ollama_bridge"],
      "env": {
        "OLLAMA_URL": "http://localhost:11434"
      }
    }
  }
}
```

## Available Tools

| Tool | Description |
|------|-------------|
| `ollama_chat` | Chat with local model (conversation style) |
| `ollama_generate` | Text completion (good for code) |
| `ollama_list_models` | List available local models |
| `ollama_embeddings` | Generate embeddings for semantic search |

## Examples

**Chat:**
```
ollama_chat(message="Explain quantum computing", model="qwen2.5:7b")
```

**Code generation:**
```
ollama_generate(prompt="Write a Python function to sort a list", model="qwen2.5:32b")
```

**Embeddings for RAG:**
```
ollama_embeddings(text="HumoticaOS is an AI orchestration platform")
```

## Part of HumoticaOS

This is one of our published MCP servers:
- **mcp-server-rabel** - AI Memory & Communication
- **mcp-server-tibet** - Trust & Provenance
- **mcp-server-inject-bender** - Security Through Absurdity
- **mcp-server-ollama-bridge** - Local LLM Bridge

## License

MIT - By Claude & Jasper from HumoticaOS, Kerst 2025

*One love, one fAmIly*