Thin Python wrapper for MinerU's v4 extraction API
Project description
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
uminer-0.1.0.tar.gz
(16.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
uminer-0.1.0-py3-none-any.whl
(19.4 kB
view details)
File details
Details for the file uminer-0.1.0.tar.gz.
File metadata
- Download URL: uminer-0.1.0.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac016a4558a8bb91a42f6a7fae75b7ad42587aa3b951da4ce33e255d0bb1a370
|
|
| MD5 |
5d90b0ab040096e7bea41f8e0695a41b
|
|
| BLAKE2b-256 |
0b98bfc8a49817c4aa196b06eabc4b670e98cb4c785fc0661b9389aec96dbff8
|
File details
Details for the file uminer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: uminer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f71133bad0099d4edd4e91a59c65ce72cb864f0905dd42c4058f40de23800f07
|
|
| MD5 |
6668cc27410c371b9ab05979139d2214
|
|
| BLAKE2b-256 |
a1c3ce52ef470025a1e58bdfa7a607b0586693198b5eef993f5d168ab7c27bce
|