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.2.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.2-py3-none-any.whl
(18.0 kB
view details)
File details
Details for the file uminer-0.0.2.tar.gz.
File metadata
- Download URL: uminer-0.0.2.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 |
361d1a0939c4912d22b9a13fb592a4573604abd86a09decaaaba55f6f9b4d001
|
|
| MD5 |
79e88a38ed26c2c241c8deaf126b5b3a
|
|
| BLAKE2b-256 |
1b8ca881691a17e1951f3c543838c131ad0c073b14699625f8e854d8026b373b
|
File details
Details for the file uminer-0.0.2-py3-none-any.whl.
File metadata
- Download URL: uminer-0.0.2-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 |
32000610773c5cb18a03de2706423e57ec81b4429a4b1e3bd97740794207a41f
|
|
| MD5 |
1331f144c820851977b84b50153d45d5
|
|
| BLAKE2b-256 |
5cf9e625135a511f0858825f33467ae15f85e3d296fe2b13a54bd4f8e6e3806c
|