semvec/pypi-packages huggingface dataset:
iyulab-unpdf 0.1.2
Python bindings for unpdf - High-performance PDF content extraction
License: MIT
Requires Python: >=3.9
Keywords: pdf, markdown, text-extraction, document, parser

# iyulab-unpdf

Python bindings for [unpdf](https://github.com/iyulab/unpdf) - High-performance PDF content extraction to Markdown, text, and JSON.

## Installation

```bash
pip install iyulab-unpdf
```

## Quick Start

```python
import unpdf

# Convert PDF to Markdown
markdown = unpdf.to_markdown("document.pdf")
print(markdown)

# Convert PDF to plain text
text = unpdf.to_text("document.pdf")
print(text)

# Convert PDF to JSON
json_data = unpdf.to_json("document.pdf", pretty=True)
print(json_data)

# Get document information
info = unpdf.get_info("document.pdf")
print(info)

# Get page count
pages = unpdf.get_page_count("document.pdf")
print(f"Total pages: {pages}")

# Check if file is a valid PDF
is_valid = unpdf.is_pdf("document.pdf")
print(f"Is valid PDF: {is_valid}")
```

## API Reference

### `to_markdown(path: str) -> str`
Convert a PDF file to Markdown format.

### `to_text(path: str) -> str`
Convert a PDF file to plain text.

### `to_json(path: str, pretty: bool = False) -> str`
Convert a PDF file to JSON format.

### `get_info(path: str) -> dict`
Get document metadata (title, author, page count, etc.)

### `get_page_count(path: str) -> int`
Get the number of pages in a PDF file.

### `is_pdf(path: str) -> bool`
Check if a file is a valid PDF.

### `version() -> str`
Get the version of the native library.

## License

MIT License
jlens-mcp-server 1.1.1
MCP server for inspecting Java classes and Maven dependencies
License: MIT
Requires Python: >=3.8

# JLens MCP Server

A Model Context Protocol (MCP) server for inspecting Java classes and Maven dependencies.

## Quick Execution

You can run JLens instantly using `npx` or `uvx` (requires Java 25+ installed):

```bash
# Using npx
npx -y @bhxch/jlens-mcp-server

# Using uvx
uvx jlens-mcp-server
```

### Environment Variables

You can configure the server using environment variables:

- `JLENS_JAVA_HOME`: Path to Java installation (overrides JAVA_HOME)
- `JLENS_ARGS`: Additional JVM arguments or server options

```bash
# Example
JLENS_JAVA_HOME="/path/to/jdk-25" JLENS_ARGS="-Dfile.encoding=UTF-8" npx @bhxch/jlens-mcp-server
```

## Agent Skills

Install specialized AI agent skills to help your agent use JLens more effectively (requires `npx skills` support):

```bash
# Install Chinese Version
npx skills install https://github.com/bhxch/jlens/tree/main/skills/jlens-mcp

# Install English Version
npx skills install https://github.com/bhxch/jlens/tree/main/skills/jlens-mcp-en
```

## Documentation

- **User Guide**: [docs/user-guide/](docs/user-guide/)
  - [English README](docs/user-guide/README.md)
  - [中文 README](docs/user-guide/README_CN.md)
  - [Testing Guide](docs/user-guide/TESTING.md)
- **Developer Docs**: [docs/developer-docs/](docs/developer-docs/)
  - [Project Summary](docs/developer-docs/PROJECT_SUMMARY.md)
  - [Integration Guide](docs/developer-docs/MCP_INSPECTOR_INTEGRATION_GUIDE.md)
  - [Contributing Guide](CONTRIBUTING.md) ([中文版](CONTRIBUTING_CN.md))
- **Design Plans**: [docs/plans/](docs/plans/)

## Quick Links

- **Test Reports**: [docs/developer-docs/reports/](docs/developer-docs/reports/) - Test results and reports
- **Scripts**: [scripts/](scripts/) - Test and automation scripts
- **Configuration**: [config/](config/) - MCP Inspector and other configs
- **Logs**: [logs/](logs/) - Temporary logs and outputs

## Build & Run

### Build

```bash
mvn clean package
```

This will create an executable JAR file: `target/jlens-mcp-server-1.1.1.jar`

## License

MIT