uminer
Thin Python wrapper for MinerU's v4 extraction API. Submit a local file or URL, poll the job, then load Markdown and typed content objects from the returned result bundle.
Install
uv add uminer
CLI
export MINERU_API_KEY=...
uv run uminer extract ./document.pdf --output-dir ./out
Python
from pathlib import Path
from uminer import MinerUClient
with MinerUClient() as client:
result = client.extract_file(Path("document.pdf")).wait()
print(result.markdown)
Metadata
Release files for uminer 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| uminer-0.2.1.tar.gz | 23.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uminer-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.3 kB
Release files / uminer-0.2.1.tar.gz
| Download URL | uminer-0.2.1.tar.gz |
|---|---|
| Size | 23.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9f7ee346b8f9ecc02f37aba8b5bf79a6acec4ec0dd2b7d5bd9854c6005c7cb4
|
|
BLAKE2b-256 checksum How to use checksums |
26d94060e21f68033b460554d9d9085f3e4aec7e430a038cc56f417336089a8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / uminer-0.2.1-py3-none-any.whl
| Download URL | uminer-0.2.1-py3-none-any.whl |
|---|---|
| Size | 26.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83e798ad4f8206fded9884216a4099ef7cb80b96db3474f999d5c635e91d5d0b
|
|
BLAKE2b-256 checksum How to use checksums |
03593f4c9e04558dc4aaec7b8689eac32b34dda60734c84b4dcd89f894b3b9bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|