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.0.1.tar.gz
(14.9 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.0.1-py3-none-any.whl
(18.0 kB
view details)
File details
Details for the file uminer-0.0.1.tar.gz.
File metadata
- Download URL: uminer-0.0.1.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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 |
3d1cfb469952a5c719605a43de90de2ff388028824b90d6956ce78548ce6ed3d
|
|
| MD5 |
702f688e02e08c6207fc1b3d5dcaf14e
|
|
| BLAKE2b-256 |
1673fe9fa29304ab1fddd1222dadb4b27ab6c5245275e0fe781a632681c6cc50
|
File details
Details for the file uminer-0.0.1-py3-none-any.whl.
File metadata
- Download URL: uminer-0.0.1-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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 |
070526e13bf225f4f59120b9b027cbba15bed3192b90f5c4ad295cd6d4f24575
|
|
| MD5 |
64d47bd3eca02c770e0b7e34ea3a5cb3
|
|
| BLAKE2b-256 |
3b4433eaa7ec836fd2a247e9ad21fe36abb4d5985e7960a103e5b2829d03a7ab
|