semvec/pypi-packages huggingface dataset:
nicesprinkler 0.0.2
nicesprinkler
Requires Python: >=3.10
Keywords: automation, lawn, nicegui, sprinkler

# nicesprinkler
Computer Controlled 2 Stepper motor 3D lawn sprinkler system

[![pypi](https://img.shields.io/pypi/pyversions/nicesprinkler)](https://pypi.org/project/nicesprinkler/) 
[![Github Actions Build](https://github.com/WolfgangFahl/nicesprinkler/actions/workflows/build.yml/badge.svg)](https://github.com/WolfgangFahl/nicesprinkler/actions/workflows/build.yml)
[![PyPI Status](https://img.shields.io/pypi/v/nicesprinkler.svg)](https://pypi.python.org/pypi/nicesprinkler/)
[![GitHub issues](https://img.shields.io/github/issues/WolfgangFahl/nicesprinkler.svg)](https://github.com/WolfgangFahl/nicesprinkler/issues)
[![GitHub closed issues](https://img.shields.io/github/issues-closed/WolfgangFahl/nicesprinkler.svg)](https://github.com/WolfgangFahl/nicesprinkler/issues/?q=is%3Aissue+is%3Aclosed)
[![API Docs](https://img.shields.io/badge/API-Documentation-blue)](https://WolfgangFahl.github.io/nicesprinkler/)
[![License](https://img.shields.io/github/license/WolfgangFahl/nicesprinkler.svg)](https://www.apache.org/licenses/LICENSE-2.0)

## Demo/Simulation
[Demo](http://nicesprinkler.bitplan.com/)
ps2mc 0.1.1
A Python library for working with PlayStation 2 memory card files.
Requires Python: >=3.10

# ps2mc
A Python library for working with PlayStation 2 memory card files.

## Installation

```
pip install ps2mc
```

## Quick Start

### Example 1: Use the high-level `Browser` wrapper

```python
with Browser("my_memory_card.ps2") as browser:
    root_dir = browser.list_root_dir()
    browser.export("game_name", ".")
```

### Example 2: Subclass `Ps2mc` for custom parsing

```python
class MemcardReader(Ps2mc):
    def read_save_entries(self) -> list[Saka04SaveEntry]:
        save_entries: list[Saka04SaveEntry] = list()
        root_entries = [e for e in self.entries_in_root if e.is_exists()]
        for entry in [e for e in root_entries if e.name.startswith("BISLPM-65530Saka_G")]:
            sub_entries = self.lookup_entry_by_name(entry.name)
            for sub_entry in sub_entries:
                if sub_entry.is_file():
                    if sub_entry.name == entry.name:
                        main_save_entry = self.read_data_cluster(sub_entry)
                    if sub_entry.name == 'head.dat':
                        save_head_entry = self.read_data_cluster(sub_entry)
                    if sub_entry.name == 'icon.sys':
                        sys_icon_entry = self.read_data_cluster(sub_entry)
            save_entries.append(Saka04SaveEntry(entry.name, main_save_entry, save_head_entry, sys_icon_entry))
        return save_entries
```

## Documentation
- [Analyze the file system of the PS2 memory card](https://babyno.top/en/posts/2023/09/parsing-ps2-memcard-file-system/)
- [Export save files from the PS2 memory card](https://babyno.top/en/posts/2023/09/exporting-file-from-ps2-memcard/)

## Reference
- [gothi - icon.sys format](https://www.ps2savetools.com/documents/iconsys-format/)
- [Martin Akesson - PS2 Icon Format v0.5](http://www.csclub.uwaterloo.ca:11068/mymc/ps2icon-0.5.pdf)
- [Florian Märkl - mymcplus](https://git.sr.ht/~thestr4ng3r/mymcplus)
- [Ross Ridge - PlayStation 2 Memory Card File System](https://www.ps2savetools.com/ps2memcardformat.html)

## License
MIT License
mcp-superiorapis 1.1.9
This project is a Python-based **MCP Server** that dynamically fetches plugin definitions from **SuperiorAPIs** and auto-generates MCP tool functions based on OpenAPI schemas.
Requires Python: >=3.13

# SuperiorAPIs MCP Server Tool

## 📖 Description
This project is a Python-based **MCP Server** that dynamically fetches plugin definitions from **SuperiorAPIs** and auto-generates MCP tool functions based on OpenAPI schemas.

The server will:
- Fetch plugin metadata
- Parse the schema
- Generate tool functions dynamically
- Run the MCP server

## 🚀 Features
- Dynamic plugin loading from **SuperiorAPIs**
- Auto-generation of `pydantic` models and async functions
- Asynchronous API execution using `aiohttp`
- Runtime MCP tool registration
- Supports environment-based configuration
- Ready for UVX platform deployment

## 📂 Project Structure
```
.
├── main.py                 # MCP server core logic
├── requirements.txt        # Python dependency list
├── setup.py                # Packaging setup
├── Dockerfile              # (Optional) Docker container build file
└── README.md               # Project documentation
```

## ⚙️ Installation
Clone the project and install the dependencies:
```bash
git clone https://github.com/CTeaminfo/mcp-superiorapis.git
cd your-repo
pip install -r requirements.txt
```

## 🌍 Environment Variables
Before running, set the following environment variables:

**Linux/macOS**
```bash
export TOKEN=your_token_here
```

**Windows CMD**
```cmd
set TOKEN=your_token_here
set APPLICATION_ID=your_application_id_here
```

## 🖥️ Usage
Run the MCP server:
```bash
python main.py
```

The server will:
1. Fetch plugin data from SuperiorAPIs
2. Dynamically generate MCP tool functions
3. Register the tools
4. Start the MCP server

Authorization is required via the `token` header.

## 🧠 Example Generated Tool Function
```python
@mcp.tool()
async def post_example_tool(param1: Optional[str] = None, param2: Optional[int] = None) -> str:
    """
    Tool description | API summary.

    # Args:
        param1 (string, optional): Description of param1.
        param2 (integer, optional): Description of param2.

    # Returns:
        200 (object): API response.
    """
```

## 📜 Requirements
```
aiohttp>=3.8.6
pydantic>=2.5.3
mcp-sdk>=0.1.0
```

## ❗ Error Handling
If the API call fails or returns `status: 0`, the program will exit with:
```
❌ Error: API returned no data or status is 0. Please check if the API is working properly.
```

## 📦 Packaging (Optional)
Build the package:
```bash
python setup.py sdist bdist_wheel
```

Install the package:
```bash
pip install dist/mcp-superiorapis-1.0.0-py3-none-any.whl
```

Run using Docker (if needed):
```bash
docker build -t superiorapis-mcp .
docker run -e TOKEN=your_token superiorapis-mcp
```

## 📄 License
MIT License (or your custom license)

## 👨‍💻 Author
Marcus / CTeam
Contact: info@cteam.com.tw