semvec/pypi-packages huggingface dataset:
pdfino-cli 0.1.0
Convert .ino/.py files in the current directory into PDFs via Markdown + Pandoc.
License: MIT
Requires Python: >=3.10
Keywords: arduino, listing, markdown, pandoc, pdf

# pdfino

Convert `.ino` and `.py` files in the current directory into PDFs via Markdown + Pandoc.

> Note: if you are looking for the `pdfino` module that "wraps around ReportLab to simplify PDF document creation" then [this is where you want to go](https://pypi.org/project/pdfino/). My apologies for the name clash but I thought I had coined the name from PDF and Arduino and then became too invested in it.

## Install (global)

```sh
uv tool install pdfino-cli
```

## Use

```sh
cd /path/to/project
pdfino
```

One PDF is created per input file:

- `listing_demo.ino` -> `listing_demo.ino.pdf`
- `script.py` -> `script.py.pdf`

## Options

```sh
pdfino --help
```

## Examples:

```sh
pdfino -e .ino
pdfino -e py -o out_pdfs
pdfino --keep-md
pdfino --pdf-engine xelatex
```

---

## Step 5: Try it locally (developer loop)

From the project root:

```bash
uv venv
uv pip install -e .
pdfino --help
```

Then, in any folder with .ino or .py files:

```sh
cd /somewhere/with/files
pdfino
```

## Uninstall

If `pdfino` was installed as a global uv tool:

```sh
uv tool uninstall pdfino-cli
```

If you installed it from a local checkout and want to reinstall after changes:

```sh
uv tool uninstall pdfino-cli
uv tool install .
```

This removes the isolated tool environment and the pdfino command from your PATH.
mcp-cuc-king 0.1.0
MCP Server for getting current time with timezone support
License: MIT
Requires Python: >=3.10

# MCP Time Server

MCP Server for getting current time with timezone support.

## Features

- Get current time
- Support custom timezone (optional parameter)
- Default timezone is UTC

## Installation

```bash
pip install mcp-time-server
```

## Usage

### CLI

```bash
mcp-time-server
```

### As a Python module

```python
from mcp.server.fastmcp import FastMCP
from datetime import datetime
import pytz

mcp = FastMCP("time_server")

@mcp.tool()
def get_current_time(timezone: str = "UTC") -> str:
    """获取当前时间,支持指定时区。"""
    try:
        if timezone.upper() == "UTC":
            current_time = datetime.now(pytz.UTC)
        else:
            tz = pytz.timezone(timezone)
            current_time = datetime.now(tz)
        
        return f"当前时间 ({timezone}): {current_time.strftime('%Y-%m-%d %H:%M:%S %Z')}"
    
    except pytz.UnknownTimeZoneError:
        return f"错误: 无效的时区 '{timezone}'"

if __name__ == "__main__":
    mcp.run()
```

## Development

```bash
# Install development dependencies
pip install -e .

# Run tests
pytest

# Build package
python -m build

# Publish to PyPI
twine upload dist/*
```

## License

MIT