semvec/pypi-packages huggingface dataset:
pylume 0.2.1
Python SDK for lume - run macOS and Linux VMs on Apple Silicon
License: MIT
Requires Python: >=3.9
Keywords: macos, virtualization, vm, apple-silicon

<div align="center">
<h1>
  <div class="image-wrapper" style="display: inline-block;">
    <picture>
      <source media="(prefers-color-scheme: dark)" alt="logo" height="150" srcset="img/logo_white.png" style="display: block; margin: auto;">
      <source media="(prefers-color-scheme: light)" alt="logo" height="150" srcset="img/logo_black.png" style="display: block; margin: auto;">
      <img alt="Shows my svg">
    </picture>
  </div>

  [![Python](https://img.shields.io/badge/Python-333333?logo=python&logoColor=white&labelColor=333333)](#)
  [![macOS](https://img.shields.io/badge/macOS-000000?logo=apple&logoColor=F0F0F0)](#)
  [![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?&logo=discord&logoColor=white)](https://discord.com/invite/mVnXXpdE85)
  [![PyPI](https://img.shields.io/pypi/v/pylume?color=333333)](https://pypi.org/project/pylume/)
</h1>
</div>


**pylume** is a lightweight Python library based on [lume](https://github.com/trycua/lume) to create, run and manage macOS and Linux virtual machines (VMs) natively on Apple Silicon.

<div align="center">
<img src="img/py.png" alt="lume-py">
</div>


```bash
pip install pylume
```

## Usage

Please refer to this [Notebook](./samples/nb.ipynb) for a quickstart. More details about the underlying API used by pylume are available [here](https://github.com/trycua/lume/docs/API-Reference.md).

## Prebuilt Images

Pre-built images are available on [ghcr.io/trycua](https://github.com/orgs/trycua/packages). 
These images come pre-configured with an SSH server and auto-login enabled.

## Contributing

We welcome and greatly appreciate contributions to lume! Whether you're improving documentation, adding new features, fixing bugs, or adding new VM images, your efforts help make pylume better for everyone.

Join our [Discord community](https://discord.com/invite/mVnXXpdE85) to discuss ideas or get assistance.

## License

lume is open-sourced under the MIT License - see the [LICENSE](LICENSE) file for details.

## Stargazers over time

[![Stargazers over time](https://starchart.cc/trycua/pylume.svg?variant=adaptive)](https://starchart.cc/trycua/pylume)
mimir-mcp 0.1.7
MCP server for Mimir AI
License: MIT
Requires Python: >=3.8

# Mimir MCP

[![PyPI Version](https://img.shields.io/pypi/v/mimir-mcp?style=for-the-badge&color=%230094FF)](https://pypi.org/project/mimir-mcp/)

MCP (Model Context Protocol) server for Mimir AI with authenticated API support.

## Installation

You can install the package directly from PyPI:

```bash
pip install mimir-mcp
```

Alternatively, you can clone the repository and install the package locally:

```bash
# Clone the repository
git clone https://github.com/trymimirai/mimir-mcp.git
cd mimir-mcp

# Install the package
pip install -e .
```

## Configuration

This MCP uses our [official Mimir API library](https://github.com/trymimirai/mimir-api) under the hood, and thus requires configuration for the API base URL and authentication key. These can be provided in 2 different ways:

1. **Environment Variables** (prioritized):

   - `MIMIR_API_URL`: The base URL for the API (optional, default: "https://dev.trymimir.ai/api")
   - `MIMIR_API_KEY`: Your API authentication key

2. **Configuration File** (used when environment variables are missing):
   Create a file at `~/.mimir/config.json` with the following structure:

   ```json
   {
     "api_url": "https://dev.trymimir.ai/api",
     "api_key": "your-api-key-here"
   }
   ```

   > **Note:** If an environment variable is set, it will take precedence over the corresponding value in the config file. The config file is only read if at least one of the required values is not set as an environment variable.

### Claude Desktop Configuration

To use with Claude desktop, update your Claude configuration file (typically at `%APPDATA%\Claude\claude_desktop_config.json` on Windows) to include the environment variables:

```json
{
  "mcpServers": {
    "Mimir": {
      "command": "mimir-mcp",
      "env": {
        "MIMIR_API_URL": "https://dev.trymimir.ai/api",
        "MIMIR_API_KEY": "your-api-key-here"
      }
    }
  }
}
```

## Usage

Once installed, you can run the MCP server directly:

```bash
mimir-mcp
```

Or configure it in Claude desktop as described above.