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.0.tar.gz
(23.4 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.0-py3-none-any.whl
(26.4 kB
view details)
File details
Details for the file uminer-0.2.0.tar.gz.
File metadata
- Download URL: uminer-0.2.0.tar.gz
- Upload date:
- Size: 23.4 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 |
f3feecdecd5fd265a229f47b7a4fc7adacea7eeacf37fe166ad9005f21151322
|
|
| MD5 |
d922a52d079944694fd0cd2f1ec62819
|
|
| BLAKE2b-256 |
0913ac350cf714c3df0d4c245fcb6bec2c7ab9d84b15b9fb304e78812a4cbb2f
|
File details
Details for the file uminer-0.2.0-py3-none-any.whl.
File metadata
- Download URL: uminer-0.2.0-py3-none-any.whl
- Upload date:
- Size: 26.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 |
f0d5270884c34c3180f4031678ae58a9088b4684fed897070ed9fd7bed099220
|
|
| MD5 |
bdc3087cb8783ac559ea2792c7341d69
|
|
| BLAKE2b-256 |
e5b3ed4f48622e18c81501dc53b47c029d7860f5d97e1c88b83d24fa1de57f4b
|