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.2.1.tar.gz
(23.6 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.2.1-py3-none-any.whl
(26.7 kB
view details)
File details
Details for the file uminer-0.2.1.tar.gz.
File metadata
- Download URL: uminer-0.2.1.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9f7ee346b8f9ecc02f37aba8b5bf79a6acec4ec0dd2b7d5bd9854c6005c7cb4
|
|
| MD5 |
7714b2a0c7872193bf60c5ce374285b2
|
|
| BLAKE2b-256 |
26d94060e21f68033b460554d9d9085f3e4aec7e430a038cc56f417336089a8d
|
File details
Details for the file uminer-0.2.1-py3-none-any.whl.
File metadata
- Download URL: uminer-0.2.1-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83e798ad4f8206fded9884216a4099ef7cb80b96db3474f999d5c635e91d5d0b
|
|
| MD5 |
155b00afe94084437724e76bf30a1a8b
|
|
| BLAKE2b-256 |
03593f4c9e04558dc4aaec7b8689eac32b34dda60734c84b4dcd89f894b3b9bb
|